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 Details

    • create

      @Stability(Deprecated) @Deprecated public static EcsRunTaskBase.Builder create()
      Deprecated.
      Returns:
      a new instance of EcsRunTaskBase.Builder.
    • cluster

      @Stability(Stable) public EcsRunTaskBase.Builder cluster(ICluster 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

      @Stability(Stable) public EcsRunTaskBase.Builder taskDefinition(TaskDefinition 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

      @Stability(Deprecated) @Deprecated public EcsRunTaskBase build()
      Deprecated.
      Specified by:
      build in interface software.amazon.jsii.Builder<EcsRunTaskBase>
      Returns:
      a newly built instance of EcsRunTaskBase.