You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AutoScaling::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::Tag
- Defined in:
- (unknown)
Overview
Note:
When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_id: "XmlString",
resource_type: "XmlString",
key: "TagKey", # required
value: "TagValue",
propagate_at_launch: false,
}
Describes a tag for an Auto Scaling group.
Instance Attribute Summary collapse
-
#key ⇒ String
The tag key.
-
#propagate_at_launch ⇒ Boolean
Determines whether the tag is added to new instances as they are launched in the group.
-
#resource_id ⇒ String
The name of the group.
-
#resource_type ⇒ String
The type of resource.
-
#value ⇒ String
The tag value.
Instance Attribute Details
#key ⇒ String
The tag key.
#propagate_at_launch ⇒ Boolean
Determines whether the tag is added to new instances as they are launched in the group.
#resource_id ⇒ String
The name of the group.
#resource_type ⇒ String
The type of resource. The only supported value is auto-scaling-group
.
#value ⇒ String
The tag value.