Interface ContainerTaskConfiguration.Builder

  • Method Details

    • ecrUri

      The Amazon ECR image URI for the task container.

      Parameters:
      ecrUri - The Amazon ECR image URI for the task container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskExecutionRole

      ContainerTaskConfiguration.Builder taskExecutionRole(String taskExecutionRole)

      The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.

      Parameters:
      taskExecutionRole - The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • processingType

      ContainerTaskConfiguration.Builder processingType(String processingType)

      The processing type for compute resources.

      Parameters:
      processingType - The processing type for compute resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • processingType

      ContainerTaskConfiguration.Builder processingType(ProcessingType processingType)

      The processing type for compute resources.

      Parameters:
      processingType - The processing type for compute resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • processingUnit

      ContainerTaskConfiguration.Builder processingUnit(String processingUnit)

      The processing unit allocation that determines the vCPU, memory, and GPU resources.

      Parameters:
      processingUnit - The processing unit allocation that determines the vCPU, memory, and GPU resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • processingUnit

      ContainerTaskConfiguration.Builder processingUnit(ProcessingUnit processingUnit)

      The processing unit allocation that determines the vCPU, memory, and GPU resources.

      Parameters:
      processingUnit - The processing unit allocation that determines the vCPU, memory, and GPU resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • command

      The command to execute in the container.

      Parameters:
      command - The command to execute in the container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • command

      The command to execute in the container.

      Parameters:
      command - The command to execute in the container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeoutSeconds

      ContainerTaskConfiguration.Builder timeoutSeconds(Long timeoutSeconds)

      The timeout in seconds for task execution. Default: 3600 (1 hour).

      Parameters:
      timeoutSeconds - The timeout in seconds for task execution. Default: 3600 (1 hour).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • environmentVariables

      ContainerTaskConfiguration.Builder environmentVariables(Map<String,String> environmentVariables)

      Environment variables passed to the container at runtime.

      Parameters:
      environmentVariables - Environment variables passed to the container at runtime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.