Class ServiceLoadBalancerArgs.Builder

  • Enclosing class:
    ServiceLoadBalancerArgs

    public static final class ServiceLoadBalancerArgs.Builder
    extends java.lang.Object
    • Method Detail

      • containerName

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

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

        public ServiceLoadBalancerArgs.Builder containerPort​(com.pulumi.core.Output<java.lang.Integer> containerPort)
        Parameters:
        containerPort - Port on the container to associate with the load balancer. > **Version note:** Multiple `load_balancer` 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/).
        Returns:
        builder
      • containerPort

        public ServiceLoadBalancerArgs.Builder containerPort​(java.lang.Integer containerPort)
        Parameters:
        containerPort - Port on the container to associate with the load balancer. > **Version note:** Multiple `load_balancer` 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/).
        Returns:
        builder
      • elbName

        public ServiceLoadBalancerArgs.Builder elbName​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> elbName)
        Parameters:
        elbName - Name of the ELB (Classic) to associate with the service.
        Returns:
        builder
      • elbName

        public ServiceLoadBalancerArgs.Builder elbName​(java.lang.String elbName)
        Parameters:
        elbName - Name of the ELB (Classic) to associate with the service.
        Returns:
        builder
      • targetGroupArn

        public ServiceLoadBalancerArgs.Builder targetGroupArn​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> targetGroupArn)
        Parameters:
        targetGroupArn - ARN of the Load Balancer target group to associate with the service.
        Returns:
        builder
      • targetGroupArn

        public ServiceLoadBalancerArgs.Builder targetGroupArn​(java.lang.String targetGroupArn)
        Parameters:
        targetGroupArn - ARN of the Load Balancer target group to associate with the service.
        Returns:
        builder