Class: Aws::ElasticLoadBalancing::Types::ApplySecurityGroupsToLoadBalancerInput

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

Overview

Note:

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

{
  load_balancer_name: "AccessPointName", # required
  security_groups: ["SecurityGroupId"], # required
}

Contains the parameters for ApplySecurityGroupsToLoadBalancer.

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


199
200
201
202
203
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 199

class ApplySecurityGroupsToLoadBalancerInput < Struct.new(
  :load_balancer_name,
  :security_groups)
  include Aws::Structure
end

#security_groupsArray<String>

The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.

Returns:

  • (Array<String>)


199
200
201
202
203
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 199

class ApplySecurityGroupsToLoadBalancerInput < Struct.new(
  :load_balancer_name,
  :security_groups)
  include Aws::Structure
end