import * as core from "@terrascript/core"; export interface TagArgs extends core.SchemaArgs { key: string | core.StringOut; propagateAtLaunch: boolean | core.BooleanOut; value: string | core.StringOut; } export class Tag extends core.Schema { @core.attr(String) public key!: string | core.StringOut; @core.attr(Boolean) public propagateAtLaunch!: boolean | core.BooleanOut; @core.attr(String) public value!: string | core.StringOut; } export interface GroupTagArgs extends core.ResourceArgs { /** * (Required) The name of the Autoscaling Group to apply the tag to. */ autoscalingGroupName: string | core.StringOut; /** * (Required) The tag to create. The `tag` block is documented below. */ tag: Tag; } export class GroupTag extends core.Resource { /** * (Required) The name of the Autoscaling Group to apply the tag to. */ @core.attr(String) public autoscalingGroupName!: string | core.StringOut; /** * ASG name and key, separated by a comma (`,`) */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The tag to create. The `tag` block is documented below. */ @core.attr(Tag) public tag!: Tag; constructor(name: string, args?: GroupTagArgs) { super(name, "aws_autoscaling_group_tag", args); } public override getNamespace(): string { return "aws_autoscaling"; } }