Class TaskSetLoadBalancer


  • public final class TaskSetLoadBalancer
    extends java.lang.Object
    • Method Detail

      • containerName

        public java.lang.String containerName()
        Returns:
        Name of the container to associate with the load balancer (as it appears in a container definition).
      • containerPort

        public java.util.Optional<java.lang.Integer> containerPort()
        Returns:
        Port on the container to associate with the load balancer. Defaults to `0` if not specified.
      • loadBalancerName

        public java.util.Optional<java.lang.String> loadBalancerName()
        Returns:
        Name of the ELB (Classic) to associate with the service.
      • targetGroupArn

        public java.util.Optional<java.lang.String> targetGroupArn()
        Returns:
        ARN of the Load Balancer target group to associate with the service. > **Note:** Specifying multiple `loadBalancer` configurations is still not supported by AWS for ECS task set.