Class: Aws::Kafka::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "__string", # required
  tags: { # required
    "__string" => "__string",
  },
}

Tag a resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

Returns:

  • (String)


1917
1918
1919
1920
1921
1922
# File 'gems/aws-sdk-kafka/lib/aws-sdk-kafka/types.rb', line 1917

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

#tagsHash<String,String>

The key-value pair for the resource tag.

Returns:

  • (Hash<String,String>)


1917
1918
1919
1920
1921
1922
# File 'gems/aws-sdk-kafka/lib/aws-sdk-kafka/types.rb', line 1917

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