import * as core from "@terrascript/core"; export interface DsServiceArgs { /** * (Required) The arn of the ECS Cluster */ clusterArn: string | core.StringOut; /** * (Required) The name of the ECS Service */ serviceName: string | core.StringOut; /** * Resource tags. */ tags?: core.Map | core.MapOut; } export class DsService extends core.Data { /** * The ARN of the ECS Service */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The arn of the ECS Cluster */ @core.attr(String) public clusterArn!: string | core.StringOut; /** * The number of tasks for the ECS Service */ @core.attr(Number, { computed: true }) public desiredCount!: number | core.NumberOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The launch type for the ECS Service */ @core.attr(String, { computed: true }) public launchType!: string | core.StringOut; /** * The scheduling strategy for the ECS Service */ @core.attr(String, { computed: true }) public schedulingStrategy!: string | core.StringOut; /** * (Required) The name of the ECS Service */ @core.attr(String) public serviceName!: string | core.StringOut; /** * Resource tags. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The family for the latest ACTIVE revision */ @core.attr(String, { computed: true }) public taskDefinition!: string | core.StringOut; constructor(name: string, args?: DsServiceArgs) { super(name, "aws_ecs_service", args); } public override getNamespace(): string { return "aws_ecs"; } }