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

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

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 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 'gems/aws-sdk-elasticloadbalancing/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 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 199

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