Class TaskSetLoadBalancer


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

      • containerName

        public java.lang.String containerName()
        Returns:
        The 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:
        The port on the container to associate with the load balancer. Defaults to `0` if not specified. > **Note:** Specifying multiple `load_balancer` configurations is still not supported by AWS for ECS task set.
      • loadBalancerName

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

        public java.util.Optional<java.lang.String> targetGroupArn()
        Returns:
        The ARN of the Load Balancer target group to associate with the service.