@Stability(value=Stable) public static final class RunEcsFargateTaskProps.Builder extends Object implements software.amazon.jsii.Builder<RunEcsFargateTaskProps>
RunEcsFargateTaskProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public RunEcsFargateTaskProps.Builder assignPublicIp(Boolean assignPublicIp)
RunEcsFargateTaskProps.getAssignPublicIp()assignPublicIp - Assign public IP addresses to each task.this@Stability(value=Stable) public RunEcsFargateTaskProps.Builder platformVersion(FargatePlatformVersion platformVersion)
RunEcsFargateTaskProps.getPlatformVersion()platformVersion - Fargate platform version to run this service on.
Unless you have specific compatibility requirements, you don't need to
specify this.this@Stability(value=Stable) public RunEcsFargateTaskProps.Builder securityGroup(ISecurityGroup securityGroup)
RunEcsFargateTaskProps.getSecurityGroup()securityGroup - Existing security group to use for the tasks.this@Stability(value=Stable) public RunEcsFargateTaskProps.Builder subnets(SubnetSelection subnets)
RunEcsFargateTaskProps.getSubnets()subnets - In what subnets to place the task's ENIs.this@Stability(value=Stable) public RunEcsFargateTaskProps.Builder cluster(ICluster cluster)
CommonEcsRunTaskProps.getCluster()cluster - The topic to run the task on. This parameter is required.this@Stability(value=Stable) public RunEcsFargateTaskProps.Builder taskDefinition(TaskDefinition taskDefinition)
CommonEcsRunTaskProps.getTaskDefinition()taskDefinition - Task Definition used for running tasks in the service. This parameter is required.
Note: this must be TaskDefinition, and not ITaskDefinition,
as it requires properties that are not known for imported task definitionsthis@Stability(value=Stable) public RunEcsFargateTaskProps.Builder containerOverrides(List<? extends ContainerOverride> containerOverrides)
CommonEcsRunTaskProps.getContainerOverrides()containerOverrides - Container setting overrides.
Key is the name of the container to override, value is the
values you want to override.this@Stability(value=Stable) public RunEcsFargateTaskProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
CommonEcsRunTaskProps.getIntegrationPattern()integrationPattern - The service integration pattern indicates different ways to call RunTask in ECS.
The valid value for Lambda is FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN.this@Stability(value=Stable) public RunEcsFargateTaskProps build()
build in interface software.amazon.jsii.Builder<RunEcsFargateTaskProps>RunEcsFargateTaskPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.