class Aws::CodeDeploy::Types::LoadBalancerInfo

Information about the Elastic Load Balancing load balancer or target group used in a deployment.

@note When making an API call, you may pass LoadBalancerInfo

data as a hash:

    {
      elb_info_list: [
        {
          name: "ELBName",
        },
      ],
      target_group_info_list: [
        {
          name: "TargetGroupName",
        },
      ],
      target_group_pair_info_list: [
        {
          target_groups: [
            {
              name: "TargetGroupName",
            },
          ],
          prod_traffic_route: {
            listener_arns: ["ListenerArn"],
          },
          test_traffic_route: {
            listener_arns: ["ListenerArn"],
          },
        },
      ],
    }

@!attribute [rw] elb_info_list

An array that contains information about the load balancer to use
for load balancing in a deployment. In Elastic Load Balancing, load
balancers are used with Classic Load Balancers.

<note markdown="1"> Adding more than one load balancer to the array is not supported.

 </note>
@return [Array<Types::ELBInfo>]

@!attribute [rw] target_group_info_list

An array that contains information about the target group to use for
load balancing in a deployment. In Elastic Load Balancing, target
groups are used with Application Load Balancers.

<note markdown="1"> Adding more than one target group to the array is not supported.

 </note>
@return [Array<Types::TargetGroupInfo>]

@!attribute [rw] target_group_pair_info_list

The target group pair information. This is an array of
`TargeGroupPairInfo` objects with a maximum size of one.
@return [Array<Types::TargetGroupPairInfo>]

@see docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LoadBalancerInfo AWS API Documentation

Constants

SENSITIVE