Class: Aws::Proton::Types::TagResourceInput

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

Overview

Note:

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

{
  resource_arn: "Arn", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource that the resource tag is applied to.

Returns:

  • (String)


4479
4480
4481
4482
4483
4484
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 4479

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

#tagsArray<Types::Tag>

An array of resource tags to apply to a resource.

Returns:



4479
4480
4481
4482
4483
4484
# File 'gems/aws-sdk-proton/lib/aws-sdk-proton/types.rb', line 4479

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