Class EcsRunTaskBase.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.EcsRunTaskBase.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EcsRunTaskBase>
- Enclosing class:
- EcsRunTaskBase
@Stability(Deprecated)
@Deprecated
public static final class EcsRunTaskBase.Builder
extends Object
implements software.amazon.jsii.Builder<EcsRunTaskBase>
Deprecated.
(deprecated) A fluent builder for
EcsRunTaskBase.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.The topic to run the task on.containerOverrides(List<? extends ContainerOverride> containerOverrides) Deprecated.Container setting overrides.static EcsRunTaskBase.Buildercreate()Deprecated.integrationPattern(ServiceIntegrationPattern integrationPattern) Deprecated.The service integration pattern indicates different ways to call RunTask in ECS.parameters(Map<String, ? extends Object> parameters) Deprecated.taskDefinition(TaskDefinition taskDefinition) Deprecated.Task Definition used for running tasks in the service.
-
Method Details
-
create
Deprecated.- Returns:
- a new instance of
EcsRunTaskBase.Builder.
-
cluster
Deprecated.The topic to run the task on.- Parameters:
cluster- The topic to run the task on. This parameter is required.- Returns:
this
-
taskDefinition
Deprecated.Task Definition used for running tasks in the service.Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions
- Parameters:
taskDefinition- Task Definition used for running tasks in the service. This parameter is required.- Returns:
this
-
containerOverrides
@Stability(Stable) public EcsRunTaskBase.Builder containerOverrides(List<? extends ContainerOverride> containerOverrides) Deprecated.Container setting overrides.Key is the name of the container to override, value is the values you want to override.
Default: - No overrides
- Parameters:
containerOverrides- Container setting overrides. This parameter is required.- Returns:
this
-
integrationPattern
@Stability(Stable) public EcsRunTaskBase.Builder integrationPattern(ServiceIntegrationPattern integrationPattern) Deprecated.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.
Default: FIRE_AND_FORGET
- Parameters:
integrationPattern- The service integration pattern indicates different ways to call RunTask in ECS. This parameter is required.- Returns:
this
-
parameters
@Stability(Deprecated) @Deprecated public EcsRunTaskBase.Builder parameters(Map<String, ? extends Object> parameters) Deprecated.(deprecated) Additional parameters to pass to the base task.Default: - No additional parameters passed
- Parameters:
parameters- Additional parameters to pass to the base task. This parameter is required.- Returns:
this
-
build
Deprecated.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EcsRunTaskBase>- Returns:
- a newly built instance of
EcsRunTaskBase.
-