You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnsArray<String>

The Amazon Resource Name (ARN) of the resource.

Returns:

  • (Array<String>)


60
61
62
63
64
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 60

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

#tagsArray<Types::Tag>

The tags. Each resource can have a maximum of 10 tags.

Returns:



60
61
62
63
64
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 60

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