Package com.pulumi.aws.ecs
Class ExpressGatewayServiceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ecs.ExpressGatewayServiceArgs.Builder
-
- Enclosing class:
- ExpressGatewayServiceArgs
public static final class ExpressGatewayServiceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ExpressGatewayServiceArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ExpressGatewayServiceArgs defaults)
-
-
Method Detail
-
cluster
public ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.Builder cluster(java.lang.String cluster)
- Parameters:
cluster- Name or ARN of the ECS cluster. Defaults to `default`.- Returns:
- builder
-
cpu
public ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.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
-
executionRoleArn
public ExpressGatewayServiceArgs.Builder executionRoleArn(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 ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.Builder healthCheckPath(@Nullable com.pulumi.core.Output<java.lang.String> healthCheckPath)
- Parameters:
healthCheckPath- Path for health check requests. Defaults to `/`.- Returns:
- builder
-
healthCheckPath
public ExpressGatewayServiceArgs.Builder healthCheckPath(java.lang.String healthCheckPath)
- Parameters:
healthCheckPath- Path for health check requests. Defaults to `/`.- Returns:
- builder
-
infrastructureRoleArn
public ExpressGatewayServiceArgs.Builder infrastructureRoleArn(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 ExpressGatewayServiceArgs.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
-
memory
public ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.Builder networkConfigurations(java.util.List<ExpressGatewayServiceNetworkConfigurationArgs> networkConfigurations)
- Parameters:
networkConfigurations- Network configuration for the service. See `networkConfiguration` Block below.- Returns:
- builder
-
networkConfigurations
public ExpressGatewayServiceArgs.Builder networkConfigurations(ExpressGatewayServiceNetworkConfigurationArgs... networkConfigurations)
- Parameters:
networkConfigurations- Network configuration for the service. See `networkConfiguration` Block below.- Returns:
- builder
-
primaryContainer
public ExpressGatewayServiceArgs.Builder primaryContainer(com.pulumi.core.Output<ExpressGatewayServicePrimaryContainerArgs> primaryContainer)
-
primaryContainer
public ExpressGatewayServiceArgs.Builder primaryContainer(ExpressGatewayServicePrimaryContainerArgs primaryContainer)
-
region
public ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.Builder scalingTargets(java.util.List<ExpressGatewayServiceScalingTargetArgs> scalingTargets)
- Parameters:
scalingTargets- Auto-scaling configuration for the service. See `scalingTarget` Block below.- Returns:
- builder
-
scalingTargets
public ExpressGatewayServiceArgs.Builder scalingTargets(ExpressGatewayServiceScalingTargetArgs... scalingTargets)
- Parameters:
scalingTargets- Auto-scaling configuration for the service. See `scalingTarget` Block below.- Returns:
- builder
-
serviceName
public ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.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
-
tags
public ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.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
-
taskRoleArn
public ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.Builder timeouts(@Nullable com.pulumi.core.Output<ExpressGatewayServiceTimeoutsArgs> timeouts)
-
timeouts
public ExpressGatewayServiceArgs.Builder timeouts(ExpressGatewayServiceTimeoutsArgs timeouts)
-
waitForSteadyState
public ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs.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 ExpressGatewayServiceArgs build()
-
-