Struct aws_sdk_securityhub::model::AwsEcsServiceLoadBalancersDetails [−][src]
#[non_exhaustive]pub struct AwsEcsServiceLoadBalancersDetails {
pub container_name: Option<String>,
pub container_port: i32,
pub load_balancer_name: Option<String>,
pub target_group_arn: Option<String>,
}Expand description
Information about a load balancer that the service uses.
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.container_name: Option<String>The name of the container to associate with the load balancer.
container_port: i32The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.
load_balancer_name: Option<String>The name of the load balancer to associate with the Amazon ECS service or task set.
Only specified when using a Classic Load Balancer. For an Application Load Balancer or a Network Load Balancer, the load balancer name is omitted.
target_group_arn: Option<String>The ARN of the Elastic Load Balancing target group or groups associated with a service or task set.
Only specified when using an Application Load Balancer or a Network Load Balancer. For a Classic Load Balancer, the target group ARN is omitted.
Implementations
The name of the container to associate with the load balancer.
The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.
The name of the load balancer to associate with the Amazon ECS service or task set.
Only specified when using a Classic Load Balancer. For an Application Load Balancer or a Network Load Balancer, the load balancer name is omitted.
The ARN of the Elastic Load Balancing target group or groups associated with a service or task set.
Only specified when using an Application Load Balancer or a Network Load Balancer. For a Classic Load Balancer, the target group ARN is omitted.
Creates a new builder-style object to manufacture AwsEcsServiceLoadBalancersDetails
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for AwsEcsServiceLoadBalancersDetails
impl Sync for AwsEcsServiceLoadBalancersDetails
impl Unpin for AwsEcsServiceLoadBalancersDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
