Class ServiceLoadBalancerArgs


  • public final class ServiceLoadBalancerArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • advancedConfiguration

        public java.util.Optional<com.pulumi.core.Output<ServiceLoadBalancerAdvancedConfigurationArgs>> advancedConfiguration()
        Returns:
        Configuration block for Blue/Green deployment settings. Required when using `BLUE_GREEN` deployment strategy. See below.
      • containerName

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

        public com.pulumi.core.Output<java.lang.Integer> containerPort()
        Returns:
        Port on the container to associate with the load balancer.
      • elbName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> elbName()
        Returns:
        Name of the ELB (Classic) to associate with the service. Required for ELB Classic.
      • targetGroupArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> targetGroupArn()
        Returns:
        ARN of the Load Balancer target group to associate with the service. Required for ALB/NLB. > **Version note:** Multiple `loadBalancer` configuration block support was added in version 2.22.0 of the provider. This allows configuration of [ECS service support for multiple target groups](https://aws.amazon.com/about-aws/whats-new/2019/07/amazon-ecs-services-now-support-multiple-load-balancer-target-groups/).