@Stability(value=Deprecated) @Deprecated public static final class RunEcsFargateTask.Builder extends Object implements software.amazon.jsii.Builder<RunEcsFargateTask>
RunEcsFargateTask.@Stability(value=Deprecated) @Deprecated public static RunEcsFargateTask.Builder create()
RunEcsFargateTask.Builder.@Stability(value=Stable) public RunEcsFargateTask.Builder cluster(ICluster cluster)
cluster - The topic to run the task on. This parameter is required.this@Stability(value=Stable) public RunEcsFargateTask.Builder taskDefinition(TaskDefinition taskDefinition)
Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions
taskDefinition - Task Definition used for running tasks in the service. This parameter is required.this@Stability(value=Stable) public RunEcsFargateTask.Builder containerOverrides(List<? extends ContainerOverride> containerOverrides)
Key is the name of the container to override, value is the values you want to override.
Default: - No overrides
containerOverrides - Container setting overrides. This parameter is required.this@Stability(value=Stable) public RunEcsFargateTask.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
The valid value for Lambda is FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
integrationPattern - The service integration pattern indicates different ways to call RunTask in ECS. This parameter is required.this@Stability(value=Deprecated) @Deprecated public RunEcsFargateTask.Builder assignPublicIp(Boolean assignPublicIp)
Default: false
assignPublicIp - Assign public IP addresses to each task. This parameter is required.this@Stability(value=Deprecated) @Deprecated public RunEcsFargateTask.Builder platformVersion(FargatePlatformVersion platformVersion)
Unless you have specific compatibility requirements, you don't need to specify this.
Default: Latest
platformVersion - Fargate platform version to run this service on. This parameter is required.this@Stability(value=Deprecated) @Deprecated public RunEcsFargateTask.Builder securityGroup(ISecurityGroup securityGroup)
Default: A new security group is created
securityGroup - Existing security group to use for the tasks. This parameter is required.this@Stability(value=Deprecated) @Deprecated public RunEcsFargateTask.Builder subnets(SubnetSelection subnets)
Default: Private subnet if assignPublicIp, public subnets otherwise
subnets - In what subnets to place the task's ENIs. This parameter is required.this@Stability(value=Deprecated) @Deprecated public RunEcsFargateTask build()
build in interface software.amazon.jsii.Builder<RunEcsFargateTask>Copyright © 2023. All rights reserved.