import * as core from "@terrascript/core"; export interface SettingArgs extends core.SchemaArgs { name: string | core.StringOut; value: string | core.StringOut; } export class Setting extends core.Schema { @core.attr(String, { computed: true }) public name!: string | core.StringOut; @core.attr(String, { computed: true }) public value!: string | core.StringOut; } export interface DsClusterArgs { /** * (Required) The name of the ECS Cluster */ clusterName: string | core.StringOut; } export class DsCluster extends core.Data { /** * The ARN of the ECS Cluster */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The name of the ECS Cluster */ @core.attr(String) public clusterName!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The number of pending tasks for the ECS Cluster */ @core.attr(Number, { computed: true }) public pendingTasksCount!: number | core.NumberOut; /** * The number of registered container instances for the ECS Cluster */ @core.attr(Number, { computed: true }) public registeredContainerInstancesCount!: number | core.NumberOut; /** * The number of running tasks for the ECS Cluster */ @core.attr(Number, { computed: true }) public runningTasksCount!: number | core.NumberOut; /** * The settings associated with the ECS Cluster. */ @core.attr(Setting, { computed: true, kind: "array" }) public setting!: core.Array | core.ArrayOut; /** * The status of the ECS Cluster */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; constructor(name: string, args?: DsClusterArgs) { super(name, "aws_ecs_cluster", args); } public override getNamespace(): string { return "aws_ecs"; } }