Class: Aws::EKS::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-eks/types.rb

Overview

Note:

When making an API call, you may pass TagResourceRequest data as a hash:

{
  resource_arn: "String", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources are Amazon EKS clusters and managed node groups.

Returns:

  • (String)

3284
3285
3286
3287
3288
3289
# File 'lib/aws-sdk-eks/types.rb', line 3284

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags to add to the resource. A tag is an array of key-value pairs.

Returns:

  • (Hash<String,String>)

3284
3285
3286
3287
3288
3289
# File 'lib/aws-sdk-eks/types.rb', line 3284

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end