AutoScalingGroupTagProperty

data class AutoScalingGroupTagProperty(val key: String, val propagateAtLaunch: Boolean, val value: String)

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: String, propagateAtLaunch: Boolean, value: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val key: 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

The tag value.