NAME

Paws::ELB::ApplySecurityGroupsToLoadBalancer - Arguments for method ApplySecurityGroupsToLoadBalancer on Paws::ELB

DESCRIPTION

This class represents the parameters used for calling the method ApplySecurityGroupsToLoadBalancer on the Elastic Load Balancing service. Use the attributes of this class as arguments to method ApplySecurityGroupsToLoadBalancer.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ApplySecurityGroupsToLoadBalancer.

SYNOPSIS

my $elasticloadbalancing = Paws->service('ELB');
# To associate a security group with a load balancer in a VPC
# This example associates a security group with the specified load balancer in a
# VPC.
my $ApplySecurityGroupsToLoadBalancerOutput =
  $elasticloadbalancing->ApplySecurityGroupsToLoadBalancer(
  'LoadBalancerName' => 'my-load-balancer',
  'SecurityGroups'   => ['sg-fc448899']
  );

# Results:
my $SecurityGroups =
  $ApplySecurityGroupsToLoadBalancerOutput->SecurityGroups;

# Returns a L<Paws::ELB::ApplySecurityGroupsToLoadBalancerOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing/ApplySecurityGroupsToLoadBalancer

ATTRIBUTES

REQUIRED LoadBalancerName => Str

The name of the load balancer.

REQUIRED SecurityGroups => ArrayRef[Str|Undef]

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

SEE ALSO

This class forms part of Paws, documenting arguments for method ApplySecurityGroupsToLoadBalancer in Paws::ELB

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues