EcsTaskProperties

The properties for a task definition that describes the container and volume definitions of an Amazon ECS task. You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

This object is a list of containers.

Link copied to clipboard

Determines whether execute command functionality is turned on for this task. If true, execute command functionality is turned on all the containers in the task.

Link copied to clipboard

The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate.

Link copied to clipboard

The Amazon Resource Name (ARN) of the execution role that Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see Batch execution IAM role in the Batch User Guide.

Link copied to clipboard

The IPC resource namespace to use for the containers in the task. The valid values are host, task, or none.

Link copied to clipboard

The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter.

Link copied to clipboard

The process namespace to use for the containers in the task. The valid values are host or task. For example, monitoring sidecars might need pidMode to access information about other containers running in the same task.

Link copied to clipboard

The Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the LATEST platform version is used by default. This uses a recent, approved version of the Fargate platform for compute resources. For more information, see Fargate platform versions in the Amazon Elastic Container Service Developer Guide.

Link copied to clipboard

An object that represents the compute environment architecture for Batch jobs on Fargate.

Link copied to clipboard

The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.

Link copied to clipboard

A list of volumes that are associated with the job.

Functions

Link copied to clipboard
inline fun copy(block: EcsTaskProperties.Builder.() -> Unit = {}): EcsTaskProperties
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String