Class: Aws::ConfigService::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are ‘ConfigRule`, `ConfigurationAggregator` and `AggregatorAuthorization`.

Returns:

  • (String)


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

#tagsArray<Types::Tag>

An array of tag object.

Returns:



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