AutoScalingGroupTagPropertyArgs

data class AutoScalingGroupTagPropertyArgs(val key: Output<String>, val propagateAtLaunch: Output<Boolean>, val value: Output<String>) : ConvertibleToJava<AutoScalingGroupTagPropertyArgs>

A structure that specifies a tag for the `Tags` property of AWS::AutoScaling::AutoScalingGroup resource. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide. You can find a sample template snippet in the Examples section of the `AWS::AutoScaling::AutoScalingGroup` resource. CloudFormation adds the following tags to all Auto Scaling groups and associated instances:

  • aws:cloudformation:stack-name

  • aws:cloudformation:stack-id

  • aws:cloudformation:logical-id

Constructors

Link copied to clipboard
constructor(key: Output<String>, propagateAtLaunch: Output<Boolean>, value: Output<String>)

Properties

Link copied to clipboard
val key: Output<String>

The tag key.

Link copied to clipboard

Set to `true` if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set to `false` if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group.

Link copied to clipboard
val value: Output<String>

The tag value.

Functions

Link copied to clipboard
open override fun toJava(): AutoScalingGroupTagPropertyArgs