@Stability(value=Experimental) public static final class RunEcsFargateTaskProps.Builder extends Object
RunEcsFargateTaskProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RunEcsFargateTaskProps |
build()
Builds the configured instance.
|
RunEcsFargateTaskProps.Builder |
withAssignPublicIp(Boolean value)
Sets the value of AssignPublicIp
|
RunEcsFargateTaskProps.Builder |
withCluster(software.amazon.awscdk.services.ecs.ICluster value)
Sets the value of Cluster
|
RunEcsFargateTaskProps.Builder |
withContainerOverrides(List<ContainerOverride> value)
Sets the value of ContainerOverrides
|
RunEcsFargateTaskProps.Builder |
withPlatformVersion(software.amazon.awscdk.services.ecs.FargatePlatformVersion value)
Sets the value of PlatformVersion
|
RunEcsFargateTaskProps.Builder |
withSecurityGroup(software.amazon.awscdk.services.ec2.ISecurityGroup value)
Sets the value of SecurityGroup
|
RunEcsFargateTaskProps.Builder |
withSubnets(software.amazon.awscdk.services.ec2.SubnetSelection value)
Sets the value of Subnets
|
RunEcsFargateTaskProps.Builder |
withSynchronous(Boolean value)
Sets the value of Synchronous
|
RunEcsFargateTaskProps.Builder |
withTaskDefinition(software.amazon.awscdk.services.ecs.TaskDefinition value)
Sets the value of TaskDefinition
|
@Stability(value=Experimental) public RunEcsFargateTaskProps.Builder withAssignPublicIp(@Nullable Boolean value)
value - Assign public IP addresses to each task.this@Stability(value=Experimental) public RunEcsFargateTaskProps.Builder withPlatformVersion(@Nullable software.amazon.awscdk.services.ecs.FargatePlatformVersion value)
value - Fargate platform version to run this service on.this@Stability(value=Experimental) public RunEcsFargateTaskProps.Builder withSecurityGroup(@Nullable software.amazon.awscdk.services.ec2.ISecurityGroup value)
value - Existing security group to use for the tasks.this@Stability(value=Experimental) public RunEcsFargateTaskProps.Builder withSubnets(@Nullable software.amazon.awscdk.services.ec2.SubnetSelection value)
value - In what subnets to place the task's ENIs.this@Stability(value=Experimental) public RunEcsFargateTaskProps.Builder withCluster(software.amazon.awscdk.services.ecs.ICluster value)
value - The topic to run the task on.this@Stability(value=Experimental) public RunEcsFargateTaskProps.Builder withTaskDefinition(software.amazon.awscdk.services.ecs.TaskDefinition value)
value - Task Definition used for running tasks in the service.this@Stability(value=Experimental) public RunEcsFargateTaskProps.Builder withContainerOverrides(@Nullable List<ContainerOverride> value)
value - Container setting overrides.this@Stability(value=Experimental) public RunEcsFargateTaskProps.Builder withSynchronous(@Nullable Boolean value)
value - Whether to wait for the task to complete and return the response.this@Stability(value=Experimental) public RunEcsFargateTaskProps build()
RunEcsFargateTaskPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.