Class: Aws::Glue::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

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

{
  resource_arn: "GlueResourceArn", # required
  tags_to_add: { # required
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of the Glue resource to which to add the tags. For more information about Glue resource ARNs, see the Glue ARN string pattern.

Returns:

  • (String)


15471
15472
15473
15474
15475
15476
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 15471

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

#tags_to_addHash<String,String>

Tags to add to this resource.

Returns:

  • (Hash<String,String>)


15471
15472
15473
15474
15475
15476
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 15471

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