Class: Aws::ConfigService::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConfigService::Types::TagResourceRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-configservice/types.rb
Overview
Note:
When making an API call, you may pass TagResourceRequest data as a hash:
{
resource_arn: "AmazonResourceName", # required
tags: [ # required
{
key: "TagKey",
value: "TagValue",
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.
-
#tags ⇒ Array<Types::Tag>
An array of tag object.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ‘ConfigRule`, `ConfigurationAggregator` and `AggregatorAuthorization`.
8563 8564 8565 8566 8567 8568 |
# File 'lib/aws-sdk-configservice/types.rb', line 8563 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
An array of tag object.
8563 8564 8565 8566 8567 8568 |
# File 'lib/aws-sdk-configservice/types.rb', line 8563 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |