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

Class: Aws::CodeDeploy::Types::LoadBalancerInfo

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LoadBalancerInfo as input to an Aws::Client method, you can use a vanilla 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"],
      },
    },
  ],
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#elb_info_listArray<Types::ELBInfo>

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.

Adding more than one load balancer to the array is not supported.

Returns:

  • (Array<Types::ELBInfo>)

    An array that contains information about the load balancer to use for load balancing in a deployment.

#target_group_info_listArray<Types::TargetGroupInfo>

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.

Adding more than one target group to the array is not supported.

Returns:

  • (Array<Types::TargetGroupInfo>)

    An array that contains information about the target group to use for load balancing in a deployment.

#target_group_pair_info_listArray<Types::TargetGroupPairInfo>

The target group pair information. This is an array of TargeGroupPairInfo objects with a maximum size of one.

Returns: