Class: Aws::AutoScaling::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::Tag
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
Note:
When making an API call, you may pass Tag data as a 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.
4429 4430 4431 4432 4433 4434 4435 4436 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4429 class Tag < Struct.new( :resource_id, :resource_type, :key, :value, :propagate_at_launch) include Aws::Structure end |
#propagate_at_launch ⇒ Boolean
Determines whether the tag is added to new instances as they are launched in the group.
4429 4430 4431 4432 4433 4434 4435 4436 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4429 class Tag < Struct.new( :resource_id, :resource_type, :key, :value, :propagate_at_launch) include Aws::Structure end |
#resource_id ⇒ String
The name of the group.
4429 4430 4431 4432 4433 4434 4435 4436 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4429 class Tag < Struct.new( :resource_id, :resource_type, :key, :value, :propagate_at_launch) include Aws::Structure end |
#resource_type ⇒ String
The type of resource. The only supported value is ‘auto-scaling-group`.
4429 4430 4431 4432 4433 4434 4435 4436 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4429 class Tag < Struct.new( :resource_id, :resource_type, :key, :value, :propagate_at_launch) include Aws::Structure end |
#value ⇒ String
The tag value.
4429 4430 4431 4432 4433 4434 4435 4436 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 4429 class Tag < Struct.new( :resource_id, :resource_type, :key, :value, :propagate_at_launch) include Aws::Structure end |