import * as core from "@terrascript/core"; export interface DsTaskDefinitionArgs { /** * (Required) The family for the latest ACTIVE revision, family and revision (family:revision) for a sp * ecific revision in the family, the ARN of the task definition to access to. */ taskDefinition: string | core.StringOut; } export class DsTaskDefinition extends core.Data { /** * The ARN of the task definition */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The family of this task definition */ @core.attr(String, { computed: true }) public family!: string | core.StringOut; /** * The ARN of the task definition */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The Docker networking mode to use for the containers in this task. */ @core.attr(String, { computed: true }) public networkMode!: string | core.StringOut; /** * The revision of this task definition */ @core.attr(Number, { computed: true }) public revision!: number | core.NumberOut; /** * The status of this task definition */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * (Required) The family for the latest ACTIVE revision, family and revision (family:revision) for a sp * ecific revision in the family, the ARN of the task definition to access to. */ @core.attr(String) public taskDefinition!: string | core.StringOut; /** * The ARN of the IAM role that containers in this task can assume */ @core.attr(String, { computed: true }) public taskRoleArn!: string | core.StringOut; constructor(name: string, args?: DsTaskDefinitionArgs) { super(name, "aws_ecs_task_definition", args); } public override getNamespace(): string { return "aws_ecs"; } }