Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AwsEcsServiceLoadBalancersDetails = AwsEcsServiceLoadBalancersDetails' {}
- newAwsEcsServiceLoadBalancersDetails :: AwsEcsServiceLoadBalancersDetails
- awsEcsServiceLoadBalancersDetails_loadBalancerName :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Text)
- awsEcsServiceLoadBalancersDetails_containerName :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Text)
- awsEcsServiceLoadBalancersDetails_targetGroupArn :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Text)
- awsEcsServiceLoadBalancersDetails_containerPort :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Int)
Documentation
data AwsEcsServiceLoadBalancersDetails Source #
Information about a load balancer that the service uses.
See: newAwsEcsServiceLoadBalancersDetails
smart constructor.
AwsEcsServiceLoadBalancersDetails' | |
|
Instances
newAwsEcsServiceLoadBalancersDetails :: AwsEcsServiceLoadBalancersDetails Source #
Create a value of AwsEcsServiceLoadBalancersDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:loadBalancerName:AwsEcsServiceLoadBalancersDetails'
, awsEcsServiceLoadBalancersDetails_loadBalancerName
- 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.
$sel:containerName:AwsEcsServiceLoadBalancersDetails'
, awsEcsServiceLoadBalancersDetails_containerName
- The name of the container to associate with the load balancer.
$sel:targetGroupArn:AwsEcsServiceLoadBalancersDetails'
, awsEcsServiceLoadBalancersDetails_targetGroupArn
- 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.
$sel:containerPort:AwsEcsServiceLoadBalancersDetails'
, awsEcsServiceLoadBalancersDetails_containerPort
- 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.
awsEcsServiceLoadBalancersDetails_loadBalancerName :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Text) Source #
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.
awsEcsServiceLoadBalancersDetails_containerName :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Text) Source #
The name of the container to associate with the load balancer.
awsEcsServiceLoadBalancersDetails_targetGroupArn :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Text) Source #
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.
awsEcsServiceLoadBalancersDetails_containerPort :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Int) Source #
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.