Class: Aws::ElasticLoadBalancingV2::Types::AddTagsInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-elasticloadbalancingv2/types.rb

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnsArray<String>

The Amazon Resource Name (ARN) of the resource.

Returns:

  • (Array<String>)

218
219
220
221
222
223
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 218

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

#tagsArray<Types::Tag>

The tags.

Returns:


218
219
220
221
222
223
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 218

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