Class RunEcsFargateTask.Builder

java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.RunEcsFargateTask.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<RunEcsFargateTask>
Enclosing class:
RunEcsFargateTask

@Stability(Deprecated) @Deprecated public static final class RunEcsFargateTask.Builder extends Object implements software.amazon.jsii.Builder<RunEcsFargateTask>
Deprecated.
(deprecated) A fluent builder for RunEcsFargateTask.
  • Method Details

    • create

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

      @Stability(Stable) public RunEcsFargateTask.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 RunEcsFargateTask.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 RunEcsFargateTask.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 RunEcsFargateTask.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
    • assignPublicIp

      @Stability(Deprecated) @Deprecated public RunEcsFargateTask.Builder assignPublicIp(Boolean assignPublicIp)
      Deprecated.
      (deprecated) Assign public IP addresses to each task.

      Default: false

      Parameters:
      assignPublicIp - Assign public IP addresses to each task. This parameter is required.
      Returns:
      this
    • platformVersion

      @Stability(Deprecated) @Deprecated public RunEcsFargateTask.Builder platformVersion(FargatePlatformVersion platformVersion)
      Deprecated.
      (deprecated) Fargate platform version to run this service on.

      Unless you have specific compatibility requirements, you don't need to specify this.

      Default: Latest

      Parameters:
      platformVersion - Fargate platform version to run this service on. This parameter is required.
      Returns:
      this
    • securityGroup

      @Stability(Deprecated) @Deprecated public RunEcsFargateTask.Builder securityGroup(ISecurityGroup securityGroup)
      Deprecated.
      (deprecated) Existing security group to use for the tasks.

      Default: A new security group is created

      Parameters:
      securityGroup - Existing security group to use for the tasks. This parameter is required.
      Returns:
      this
    • subnets

      @Stability(Deprecated) @Deprecated public RunEcsFargateTask.Builder subnets(SubnetSelection subnets)
      Deprecated.
      (deprecated) In what subnets to place the task's ENIs.

      Default: Private subnet if assignPublicIp, public subnets otherwise

      Parameters:
      subnets - In what subnets to place the task's ENIs. This parameter is required.
      Returns:
      this
    • build

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