Class: Aws::AutoScaling::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::Tag
- Defined in:
- gems/aws-sdk-autoscaling/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.
Constant Summary collapse
- SENSITIVE =
[]
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 Auto Scaling group.
-
#resource_type ⇒ String
The type of resource.
-
#value ⇒ String
The tag value.
Instance Attribute Details
#key ⇒ String
The tag key.
8355 8356 8357 8358 8359 8360 8361 8362 8363 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8355 class Tag < Struct.new( :resource_id, :resource_type, :key, :value, :propagate_at_launch) SENSITIVE = [] include Aws::Structure end |
#propagate_at_launch ⇒ Boolean
Determines whether the tag is added to new instances as they are launched in the group.
8355 8356 8357 8358 8359 8360 8361 8362 8363 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8355 class Tag < Struct.new( :resource_id, :resource_type, :key, :value, :propagate_at_launch) SENSITIVE = [] include Aws::Structure end |
#resource_id ⇒ String
The name of the Auto Scaling group.
8355 8356 8357 8358 8359 8360 8361 8362 8363 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8355 class Tag < Struct.new( :resource_id, :resource_type, :key, :value, :propagate_at_launch) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
The type of resource. The only supported value is
auto-scaling-group
.
8355 8356 8357 8358 8359 8360 8361 8362 8363 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8355 class Tag < Struct.new( :resource_id, :resource_type, :key, :value, :propagate_at_launch) SENSITIVE = [] include Aws::Structure end |