Class: Aws::ApplicationAutoScaling::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationAutoScaling::Types::TagResourceRequest
- Defined in:
- gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
Identifies the Application Auto Scaling scalable target that you want to apply tags to.
-
#tags ⇒ Hash<String,String>
The tags assigned to the resource.
Instance Attribute Details
#resource_arn ⇒ String
Identifies the Application Auto Scaling scalable target that you want to apply tags to.
For example:
arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123
To get the ARN for a scalable target, use DescribeScalableTargets.
3738 3739 3740 3741 3742 3743 |
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 3738 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
Each tag consists of a tag key and a tag value.
You cannot have more than one tag on an Application Auto Scaling scalable target with the same tag key. If you specify an existing tag key with a different tag value, Application Auto Scaling replaces the current tag value with the specified one.
For information about the rules that apply to tag keys and tag values, see User-defined tag restrictions in the Amazon Web Services Billing and Cost Management User Guide.
3738 3739 3740 3741 3742 3743 |
# File 'gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/types.rb', line 3738 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |