import * as core from "@terrascript/core"; export interface ClusterEndpointsArgs extends core.SchemaArgs { endpoint: string | core.StringOut; region: string | core.StringOut; } export class ClusterEndpoints extends core.Schema { @core.attr(String, { computed: true }) public endpoint!: string | core.StringOut; @core.attr(String, { computed: true }) public region!: string | core.StringOut; } export interface ClusterArgs extends core.ResourceArgs { /** * (Required) Unique name describing the cluster. */ name: string | core.StringOut; } export class Cluster extends core.Resource { /** * ARN of the cluster */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * List of 5 endpoints in 5 regions that can be used to talk to the cluster. See below. */ @core.attr(ClusterEndpoints, { computed: true, kind: "array" }) public clusterEndpoints!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Unique name describing the cluster. */ @core.attr(String) public name!: string | core.StringOut; /** * Status of cluster. `PENDING` when it is being created, `PENDING_DELETION` when it is being deleted a * nd `DEPLOYED` otherwise. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; constructor(name: string, args?: ClusterArgs) { super(name, "aws_route53recoverycontrolconfig_cluster", args); } public override getNamespace(): string { return "aws_route53recoverycontrolconfig"; } }