Class: Aws::DirectConnect::Types::TagResourceRequest

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

Overview

Note:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource.

Returns:

  • (String)


3452
3453
3454
3455
3456
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3452

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

#tagsArray<Types::Tag>

The tags to add.

Returns:



3452
3453
3454
3455
3456
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3452

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