Header menu logo FsCDK

FargateTaskDefinitionConfig Type

High-level Fargate Task Definition builder following AWS best practices. **Default Settings:** - CPU = 256 (.25 vCPU) - Memory = 512 MB - Network mode = awsvpc (required for Fargate) **Rationale:** Task definitions define the containers that run in your ECS service. Fargate task definitions require awsvpc network mode.

Record fields

Record Field Description

ConstructId

Full Usage: ConstructId

Field type: string option
Field type: string option

Cpu

Full Usage: Cpu

Field type: int option
Field type: int option

EphemeralStorageGiB

Full Usage: EphemeralStorageGiB

Field type: int option
Field type: int option

ExecutionRole

Full Usage: ExecutionRole

Field type: IRole option
Field type: IRole option

Family

Full Usage: Family

Field type: string option
Field type: string option

MemoryLimitMiB

Full Usage: MemoryLimitMiB

Field type: int option
Field type: int option

RuntimePlatform

Full Usage: RuntimePlatform

Field type: RuntimePlatform option
Field type: RuntimePlatform option

TaskDefinitionName

Full Usage: TaskDefinitionName

Field type: string
Field type: string

TaskRole

Full Usage: TaskRole

Field type: IRole option
Field type: IRole option

Volumes

Full Usage: Volumes

Field type: Volume list
Field type: Volume list

Type something to start searching.