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.
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 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.
target_group_info_list: Option<Vec<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.
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) -> Option<&[ElbInfo]>
pub fn elb_info_list(&self) -> Option<&[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.
sourcepub fn target_group_info_list(&self) -> Option<&[TargetGroupInfo]>
pub fn target_group_info_list(&self) -> Option<&[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.
sourcepub fn target_group_pair_info_list(&self) -> Option<&[TargetGroupPairInfo]>
pub fn target_group_pair_info_list(&self) -> Option<&[TargetGroupPairInfo]>
The target group pair information. This is an array of TargeGroupPairInfo
objects with a maximum size of one.
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<LoadBalancerInfo> for LoadBalancerInfo
impl PartialEq<LoadBalancerInfo> 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 ==
.