import * as core from "@terrascript/core"; export interface TagArgs extends core.ResourceArgs { /** * (Required) Tag name. */ key: string | core.StringOut; /** * (Required) Amazon Resource Name (ARN) of the ECS resource to tag. */ resourceArn: string | core.StringOut; /** * (Required) Tag value. */ value: string | core.StringOut; } export class Tag extends core.Resource { /** * ECS resource identifier and key, separated by a comma (`,`) */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Tag name. */ @core.attr(String) public key!: string | core.StringOut; /** * (Required) Amazon Resource Name (ARN) of the ECS resource to tag. */ @core.attr(String) public resourceArn!: string | core.StringOut; /** * (Required) Tag value. */ @core.attr(String) public value!: string | core.StringOut; constructor(name: string, args?: TagArgs) { super(name, "aws_ecs_tag", args); } public override getNamespace(): string { return "aws_ecs"; } }