Class: Aws::NetworkManager::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/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",
      value: "TagValue",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource.

Returns:

  • (String)


1665
1666
1667
1668
1669
1670
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1665

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

#tagsArray<Types::Tag>

The tags to apply to the specified resource.

Returns:



1665
1666
1667
1668
1669
1670
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1665

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