@Deprecated
public static final class RunEcsFargateTask.Builder
extends java.lang.Object
RunEcsFargateTask
.Modifier and Type | Method and Description |
---|---|
RunEcsFargateTask.Builder |
assignPublicIp(java.lang.Boolean assignPublicIp)
Deprecated.
|
RunEcsFargateTask |
build()
Deprecated.
|
RunEcsFargateTask.Builder |
cluster(ICluster cluster)
Deprecated.
The topic to run the task on.
|
RunEcsFargateTask.Builder |
containerOverrides(java.util.List<? extends ContainerOverride> containerOverrides)
Deprecated.
Container setting overrides.
|
static RunEcsFargateTask.Builder |
create()
Deprecated.
|
RunEcsFargateTask.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Deprecated.
The service integration pattern indicates different ways to call RunTask in ECS.
|
RunEcsFargateTask.Builder |
platformVersion(FargatePlatformVersion platformVersion)
Deprecated.
|
RunEcsFargateTask.Builder |
securityGroup(ISecurityGroup securityGroup)
Deprecated.
|
RunEcsFargateTask.Builder |
subnets(SubnetSelection subnets)
Deprecated.
|
RunEcsFargateTask.Builder |
taskDefinition(TaskDefinition taskDefinition)
Deprecated.
Task Definition used for running tasks in the service.
|
@Deprecated public static RunEcsFargateTask.Builder create()
RunEcsFargateTask.Builder
.public RunEcsFargateTask.Builder cluster(ICluster cluster)
cluster
- The topic to run the task on. This parameter is required.this
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
public RunEcsFargateTask.Builder containerOverrides(java.util.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
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
@Deprecated public RunEcsFargateTask.Builder assignPublicIp(java.lang.Boolean assignPublicIp)
Default: false
assignPublicIp
- Assign public IP addresses to each task. This parameter is required.this
@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
@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
@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
@Deprecated public RunEcsFargateTask build()