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

Class: Aws::ElasticLoadBalancingV2::Types::SetSecurityGroupsInput

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 SetSecurityGroupsInput data as a hash:

{
  load_balancer_arn: "LoadBalancerArn", # required
  security_groups: ["SecurityGroupId"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_arnString

The Amazon Resource Name (ARN) of the load balancer.

Returns:

  • (String)


2095
2096
2097
2098
2099
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2095

class SetSecurityGroupsInput < Struct.new(
  :load_balancer_arn,
  :security_groups)
  include Aws::Structure
end

#security_groupsArray<String>

The IDs of the security groups.

Returns:

  • (Array<String>)


2095
2096
2097
2098
2099
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2095

class SetSecurityGroupsInput < Struct.new(
  :load_balancer_arn,
  :security_groups)
  include Aws::Structure
end