
com.pulumi.aws.ecs.inputs.ServiceLoadBalancerArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.ecs.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class ServiceLoadBalancerArgs extends com.pulumi.resources.ResourceArgs {
public static final ServiceLoadBalancerArgs Empty = new ServiceLoadBalancerArgs();
/**
* Name of the container to associate with the load balancer (as it appears in a container definition).
*
*/
@Import(name="containerName", required=true)
private Output containerName;
/**
* @return Name of the container to associate with the load balancer (as it appears in a container definition).
*
*/
public Output containerName() {
return this.containerName;
}
/**
* 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/).
*
*/
@Import(name="containerPort", required=true)
private Output containerPort;
/**
* @return 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/).
*
*/
public Output containerPort() {
return this.containerPort;
}
/**
* Name of the ELB (Classic) to associate with the service.
*
*/
@Import(name="elbName")
private @Nullable Output elbName;
/**
* @return Name of the ELB (Classic) to associate with the service.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy