Struct aws_sdk_codedeploy::types::LoadBalancerInfo
source · #[non_exhaustive]pub struct LoadBalancerInfo {
pub elb_info_list: Option<Vec<ElbInfo>>,
pub target_group_info_list: Option<Vec<TargetGroupInfo>>,
pub target_group_pair_info_list: Option<Vec<TargetGroupPairInfo>>,
}
Expand description
Information about the Elastic Load Balancing load balancer or target group used in a deployment.
You can use load balancers and target groups in combination. For example, if you have two Classic Load Balancers, and five target groups tied to an Application Load Balancer, you can specify the two Classic Load Balancers in elbInfoList
, and the five target groups in targetGroupInfoList
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.elb_info_list: Option<Vec<ElbInfo>>
An array that contains information about the load balancers to use for load balancing in a deployment. If you're using Classic Load Balancers, specify those load balancers in this array.
You can add up to 10 load balancers to the array.
If you're using Application Load Balancers or Network Load Balancers, use the targetGroupInfoList
array instead of this one.
target_group_info_list: Option<Vec<TargetGroupInfo>>
An array that contains information about the target groups to use for load balancing in a deployment. If you're using Application Load Balancers and Network Load Balancers, specify their associated target groups in this array.
You can add up to 10 target groups to the array.
If you're using Classic Load Balancers, use the elbInfoList
array instead of this one.
target_group_pair_info_list: Option<Vec<TargetGroupPairInfo>>
The target group pair information. This is an array of TargeGroupPairInfo
objects with a maximum size of one.
Implementations§
source§impl LoadBalancerInfo
impl LoadBalancerInfo
sourcepub fn elb_info_list(&self) -> &[ElbInfo]
pub fn elb_info_list(&self) -> &[ElbInfo]
An array that contains information about the load balancers to use for load balancing in a deployment. If you're using Classic Load Balancers, specify those load balancers in this array.
You can add up to 10 load balancers to the array.
If you're using Application Load Balancers or Network Load Balancers, use the targetGroupInfoList
array instead of this one.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .elb_info_list.is_none()
.
sourcepub fn target_group_info_list(&self) -> &[TargetGroupInfo]
pub fn target_group_info_list(&self) -> &[TargetGroupInfo]
An array that contains information about the target groups to use for load balancing in a deployment. If you're using Application Load Balancers and Network Load Balancers, specify their associated target groups in this array.
You can add up to 10 target groups to the array.
If you're using Classic Load Balancers, use the elbInfoList
array instead of this one.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_group_info_list.is_none()
.
sourcepub fn target_group_pair_info_list(&self) -> &[TargetGroupPairInfo]
pub fn target_group_pair_info_list(&self) -> &[TargetGroupPairInfo]
The target group pair information. This is an array of TargeGroupPairInfo
objects with a maximum size of one.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_group_pair_info_list.is_none()
.
source§impl LoadBalancerInfo
impl LoadBalancerInfo
sourcepub fn builder() -> LoadBalancerInfoBuilder
pub fn builder() -> LoadBalancerInfoBuilder
Creates a new builder-style object to manufacture LoadBalancerInfo
.
Trait Implementations§
source§impl Clone for LoadBalancerInfo
impl Clone for LoadBalancerInfo
source§fn clone(&self) -> LoadBalancerInfo
fn clone(&self) -> LoadBalancerInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoadBalancerInfo
impl Debug for LoadBalancerInfo
source§impl PartialEq for LoadBalancerInfo
impl PartialEq for LoadBalancerInfo
source§fn eq(&self, other: &LoadBalancerInfo) -> bool
fn eq(&self, other: &LoadBalancerInfo) -> bool
self
and other
values to be equal, and is used
by ==
.