@Deprecated
public static final class EcsRunTaskBaseProps.Builder
extends java.lang.Object
EcsRunTaskBaseProps
Constructor and Description |
---|
Builder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EcsRunTaskBaseProps |
build()
Deprecated.
|
EcsRunTaskBaseProps.Builder |
cluster(ICluster cluster)
Deprecated.
Sets the value of
CommonEcsRunTaskProps.getCluster() |
EcsRunTaskBaseProps.Builder |
containerOverrides(java.util.List<? extends ContainerOverride> containerOverrides)
Deprecated.
Sets the value of
CommonEcsRunTaskProps.getContainerOverrides() |
EcsRunTaskBaseProps.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Deprecated.
Sets the value of
CommonEcsRunTaskProps.getIntegrationPattern() |
EcsRunTaskBaseProps.Builder |
parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
Deprecated.
|
EcsRunTaskBaseProps.Builder |
taskDefinition(TaskDefinition taskDefinition)
Deprecated.
Sets the value of
CommonEcsRunTaskProps.getTaskDefinition() |
@Deprecated public EcsRunTaskBaseProps.Builder parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
EcsRunTaskBaseProps.getParameters()
parameters
- Additional parameters to pass to the base task.this
public EcsRunTaskBaseProps.Builder cluster(ICluster cluster)
CommonEcsRunTaskProps.getCluster()
cluster
- The topic to run the task on. This parameter is required.this
public EcsRunTaskBaseProps.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
public EcsRunTaskBaseProps.Builder containerOverrides(java.util.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
public EcsRunTaskBaseProps.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
@Deprecated public EcsRunTaskBaseProps build()
EcsRunTaskBaseProps
java.lang.NullPointerException
- if any required attribute was not provided