The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::AutoScaling::AttachLoadBalancerTargetGroups - Arguments for method AttachLoadBalancerTargetGroups on Paws::AutoScaling

DESCRIPTION

This class represents the parameters used for calling the method AttachLoadBalancerTargetGroups on the Auto Scaling service. Use the attributes of this class as arguments to method AttachLoadBalancerTargetGroups.

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

SYNOPSIS

    my $autoscaling = Paws->service('AutoScaling');
# To attach a target group to an Auto Scaling group
# This example attaches the specified target group to the specified Auto Scaling
# group.
    my $AttachLoadBalancerTargetGroupsResultType =
      $autoscaling->AttachLoadBalancerTargetGroups(
      'AutoScalingGroupName' => 'my-auto-scaling-group',
      'TargetGroupARNs'      => [
'arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067'
      ]
      );

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/autoscaling/AttachLoadBalancerTargetGroups

ATTRIBUTES

REQUIRED AutoScalingGroupName => Str

The name of the Auto Scaling group.

REQUIRED TargetGroupARNs => ArrayRef[Str|Undef]

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups (https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation.

SEE ALSO

This class forms part of Paws, documenting arguments for method AttachLoadBalancerTargetGroups in Paws::AutoScaling

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