Package com.pulumi.aws.ecs.inputs
Class ExpressGatewayServiceState.Builder
- java.lang.Object
-
- com.pulumi.aws.ecs.inputs.ExpressGatewayServiceState.Builder
-
- Enclosing class:
- ExpressGatewayServiceState
public static final class ExpressGatewayServiceState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ExpressGatewayServiceState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ExpressGatewayServiceState defaults)
-
-
Method Detail
-
cluster
public ExpressGatewayServiceState.Builder cluster(@Nullable com.pulumi.core.Output<java.lang.String> cluster)
- Parameters:
cluster- Name or ARN of the ECS cluster. Defaults to `default`.- Returns:
- builder
-
cluster
public ExpressGatewayServiceState.Builder cluster(java.lang.String cluster)
- Parameters:
cluster- Name or ARN of the ECS cluster. Defaults to `default`.- Returns:
- builder
-
cpu
public ExpressGatewayServiceState.Builder cpu(@Nullable com.pulumi.core.Output<java.lang.String> cpu)
- Parameters:
cpu- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to `1024`.- Returns:
- builder
-
cpu
public ExpressGatewayServiceState.Builder cpu(java.lang.String cpu)
- Parameters:
cpu- Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to `1024`.- Returns:
- builder
-
currentDeployment
@Deprecated public ExpressGatewayServiceState.Builder currentDeployment(@Nullable com.pulumi.core.Output<java.lang.String> currentDeployment)
Deprecated.This attribute will be removed in a future verion of the provider.- Parameters:
currentDeployment- (**Deprecated**) ARN of the current deployment.- Returns:
- builder
-
currentDeployment
@Deprecated public ExpressGatewayServiceState.Builder currentDeployment(java.lang.String currentDeployment)
Deprecated.This attribute will be removed in a future verion of the provider.- Parameters:
currentDeployment- (**Deprecated**) ARN of the current deployment.- Returns:
- builder
-
executionRoleArn
public ExpressGatewayServiceState.Builder executionRoleArn(@Nullable com.pulumi.core.Output<java.lang.String> executionRoleArn)
- Parameters:
executionRoleArn- ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.- Returns:
- builder
-
executionRoleArn
public ExpressGatewayServiceState.Builder executionRoleArn(java.lang.String executionRoleArn)
- Parameters:
executionRoleArn- ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch.- Returns:
- builder
-
healthCheckPath
public ExpressGatewayServiceState.Builder healthCheckPath(@Nullable com.pulumi.core.Output<java.lang.String> healthCheckPath)
- Parameters:
healthCheckPath- Path for health check requests. Defaults to `/`.- Returns:
- builder
-
healthCheckPath
public ExpressGatewayServiceState.Builder healthCheckPath(java.lang.String healthCheckPath)
- Parameters:
healthCheckPath- Path for health check requests. Defaults to `/`.- Returns:
- builder
-
infrastructureRoleArn
public ExpressGatewayServiceState.Builder infrastructureRoleArn(@Nullable com.pulumi.core.Output<java.lang.String> infrastructureRoleArn)
- Parameters:
infrastructureRoleArn- ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. **Important:** The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created. The following arguments are optional:- Returns:
- builder
-
infrastructureRoleArn
public ExpressGatewayServiceState.Builder infrastructureRoleArn(java.lang.String infrastructureRoleArn)
- Parameters:
infrastructureRoleArn- ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. **Important:** The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created. The following arguments are optional:- Returns:
- builder
-
ingressPaths
public ExpressGatewayServiceState.Builder ingressPaths(@Nullable com.pulumi.core.Output<java.util.List<ExpressGatewayServiceIngressPathArgs>> ingressPaths)
- Parameters:
ingressPaths- List of ingress paths for the service. See `ingressPaths` Block below.- Returns:
- builder
-
ingressPaths
public ExpressGatewayServiceState.Builder ingressPaths(java.util.List<ExpressGatewayServiceIngressPathArgs> ingressPaths)
- Parameters:
ingressPaths- List of ingress paths for the service. See `ingressPaths` Block below.- Returns:
- builder
-
ingressPaths
public ExpressGatewayServiceState.Builder ingressPaths(ExpressGatewayServiceIngressPathArgs... ingressPaths)
- Parameters:
ingressPaths- List of ingress paths for the service. See `ingressPaths` Block below.- Returns:
- builder
-
memory
public ExpressGatewayServiceState.Builder memory(@Nullable com.pulumi.core.Output<java.lang.String> memory)
- Parameters:
memory- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to `2048`.- Returns:
- builder
-
memory
public ExpressGatewayServiceState.Builder memory(java.lang.String memory)
- Parameters:
memory- Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to `2048`.- Returns:
- builder
-
networkConfigurations
public ExpressGatewayServiceState.Builder networkConfigurations(@Nullable com.pulumi.core.Output<java.util.List<ExpressGatewayServiceNetworkConfigurationArgs>> networkConfigurations)
- Parameters:
networkConfigurations- Network configuration for the service. See `networkConfiguration` Block below.- Returns:
- builder
-
networkConfigurations
public ExpressGatewayServiceState.Builder networkConfigurations(java.util.List<ExpressGatewayServiceNetworkConfigurationArgs> networkConfigurations)
- Parameters:
networkConfigurations- Network configuration for the service. See `networkConfiguration` Block below.- Returns:
- builder
-
networkConfigurations
public ExpressGatewayServiceState.Builder networkConfigurations(ExpressGatewayServiceNetworkConfigurationArgs... networkConfigurations)
- Parameters:
networkConfigurations- Network configuration for the service. See `networkConfiguration` Block below.- Returns:
- builder
-
primaryContainer
public ExpressGatewayServiceState.Builder primaryContainer(@Nullable com.pulumi.core.Output<ExpressGatewayServicePrimaryContainerArgs> primaryContainer)
-
primaryContainer
public ExpressGatewayServiceState.Builder primaryContainer(ExpressGatewayServicePrimaryContainerArgs primaryContainer)
-
region
public ExpressGatewayServiceState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- AWS region where the service will be created. If not specified, the region configured in the provider will be used.- Returns:
- builder
-
region
public ExpressGatewayServiceState.Builder region(java.lang.String region)
- Parameters:
region- AWS region where the service will be created. If not specified, the region configured in the provider will be used.- Returns:
- builder
-
scalingTargets
public ExpressGatewayServiceState.Builder scalingTargets(@Nullable com.pulumi.core.Output<java.util.List<ExpressGatewayServiceScalingTargetArgs>> scalingTargets)
- Parameters:
scalingTargets- Auto-scaling configuration for the service. See `scalingTarget` Block below.- Returns:
- builder
-
scalingTargets
public ExpressGatewayServiceState.Builder scalingTargets(java.util.List<ExpressGatewayServiceScalingTargetArgs> scalingTargets)
- Parameters:
scalingTargets- Auto-scaling configuration for the service. See `scalingTarget` Block below.- Returns:
- builder
-
scalingTargets
public ExpressGatewayServiceState.Builder scalingTargets(ExpressGatewayServiceScalingTargetArgs... scalingTargets)
- Parameters:
scalingTargets- Auto-scaling configuration for the service. See `scalingTarget` Block below.- Returns:
- builder
-
serviceArn
public ExpressGatewayServiceState.Builder serviceArn(@Nullable com.pulumi.core.Output<java.lang.String> serviceArn)
- Parameters:
serviceArn- ARN of the Express Gateway Service.- Returns:
- builder
-
serviceArn
public ExpressGatewayServiceState.Builder serviceArn(java.lang.String serviceArn)
- Parameters:
serviceArn- ARN of the Express Gateway Service.- Returns:
- builder
-
serviceName
public ExpressGatewayServiceState.Builder serviceName(@Nullable com.pulumi.core.Output<java.lang.String> serviceName)
- Parameters:
serviceName- Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.- Returns:
- builder
-
serviceName
public ExpressGatewayServiceState.Builder serviceName(java.lang.String serviceName)
- Parameters:
serviceName- Name of the service. If not specified, a name will be generated. Changing this forces a new resource to be created.- Returns:
- builder
-
serviceRevisionArn
public ExpressGatewayServiceState.Builder serviceRevisionArn(@Nullable com.pulumi.core.Output<java.lang.String> serviceRevisionArn)
- Parameters:
serviceRevisionArn- ARN of the service revision.- Returns:
- builder
-
serviceRevisionArn
public ExpressGatewayServiceState.Builder serviceRevisionArn(java.lang.String serviceRevisionArn)
- Parameters:
serviceRevisionArn- ARN of the service revision.- Returns:
- builder
-
tags
public ExpressGatewayServiceState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public ExpressGatewayServiceState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public ExpressGatewayServiceState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public ExpressGatewayServiceState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
taskRoleArn
public ExpressGatewayServiceState.Builder taskRoleArn(@Nullable com.pulumi.core.Output<java.lang.String> taskRoleArn)
- Parameters:
taskRoleArn- ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.- Returns:
- builder
-
taskRoleArn
public ExpressGatewayServiceState.Builder taskRoleArn(java.lang.String taskRoleArn)
- Parameters:
taskRoleArn- ARN of the IAM role that allows your Amazon ECS container task to make calls to other AWS services.- Returns:
- builder
-
timeouts
public ExpressGatewayServiceState.Builder timeouts(@Nullable com.pulumi.core.Output<ExpressGatewayServiceTimeoutsArgs> timeouts)
-
timeouts
public ExpressGatewayServiceState.Builder timeouts(ExpressGatewayServiceTimeoutsArgs timeouts)
-
waitForSteadyState
public ExpressGatewayServiceState.Builder waitForSteadyState(@Nullable com.pulumi.core.Output<java.lang.Boolean> waitForSteadyState)
- Parameters:
waitForSteadyState- Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to `false`.- Returns:
- builder
-
waitForSteadyState
public ExpressGatewayServiceState.Builder waitForSteadyState(java.lang.Boolean waitForSteadyState)
- Parameters:
waitForSteadyState- Whether to wait for the service to reach a steady state before considering the operation complete. Defaults to `false`.- Returns:
- builder
-
build
public ExpressGatewayServiceState build()
-
-