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

Class: Aws::ElasticLoadBalancing::Types::AddTagsInput

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

Overview

Note:

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

{
  load_balancer_names: ["AccessPointName"], # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

Contains the parameters for AddTags.

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_namesArray<String>

The name of the load balancer. You can specify one load balancer only.

Returns:

  • (Array<String>)


120
121
122
123
124
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 120

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

#tagsArray<Types::Tag>

The tags.

Returns:



120
121
122
123
124
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 120

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