@Stability(value=Deprecated) @Deprecated public static final class EcsRunTaskBaseProps.Builder extends Object implements software.amazon.jsii.Builder<EcsRunTaskBaseProps>
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(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(Map<String,? extends Object> parameters)
Deprecated.
|
EcsRunTaskBaseProps.Builder |
taskDefinition(TaskDefinition taskDefinition)
Deprecated.
Sets the value of
CommonEcsRunTaskProps.getTaskDefinition() |
@Stability(value=Deprecated) @Deprecated public EcsRunTaskBaseProps.Builder parameters(Map<String,? extends Object> parameters)
EcsRunTaskBaseProps.getParameters()
parameters
- Additional parameters to pass to the base task.this
@Stability(value=Stable) public EcsRunTaskBaseProps.Builder cluster(ICluster cluster)
CommonEcsRunTaskProps.getCluster()
cluster
- The topic to run the task on. This parameter is required.this
@Stability(value=Stable) 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
@Stability(value=Stable) public EcsRunTaskBaseProps.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 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
@Stability(value=Deprecated) @Deprecated public EcsRunTaskBaseProps build()
build
in interface software.amazon.jsii.Builder<EcsRunTaskBaseProps>
EcsRunTaskBaseProps
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.