Class: Aws::EMR::Types::AddTagsInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::AddTagsInput
- Defined in:
- gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
Overview
Note:
When making an API call, you may pass AddTagsInput data as a hash:
{
resource_id: "ResourceId", # required
tags: [ # required
{
key: "String",
value: "String",
},
],
}
This input identifies an Amazon EMR resource and a list of tags to attach.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_id ⇒ String
The Amazon EMR resource identifier to which tags will be added.
-
#tags ⇒ Array<Types::Tag>
A list of tags to associate with a resource.
Instance Attribute Details
#resource_id ⇒ String
The Amazon EMR resource identifier to which tags will be added. For example, a cluster identifier or an Amazon EMR Studio ID.
325 326 327 328 329 330 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 325 class AddTagsInput < Struct.new( :resource_id, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tags to associate with a resource. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
325 326 327 328 329 330 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 325 class AddTagsInput < Struct.new( :resource_id, :tags) SENSITIVE = [] include Aws::Structure end |