Optional containerSingle container to make a TaskDefinition from. Useful for simple cases where there aren't multiple containers, especially when creating a TaskDefinition to call [run] on.
Either [container] or [containers] must be provided.
Optional containersAll the containers to make a TaskDefinition from. Useful when creating a Service that will contain many containers within.
Either [container] or [containers] must be provided.
Optional cpuThe number of cpu units used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
Optional ephemeralThe 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 AWS Fargate. See Ephemeral Storage.
Optional executionThe execution role that the Amazon ECS container agent and the Docker daemon can assume. Will be created automatically if not defined.
Optional familyAn optional unique name for your task definition. If not specified, then a default will be created.
Optional inferenceConfiguration block(s) with Inference Accelerators settings. Detailed below.
Optional ipcIPC resource namespace to be used for the containers in the task The valid values are host, task, and none.
Optional logA set of volume blocks that containers in your task may use.
Optional memoryThe amount (in MiB) of memory used by the task. If not provided, a default will be computed based on the cumulative needs specified by [containerDefinitions]
Optional pidProcess namespace to use for the containers in the task. The valid values are host and task.
Optional placementConfiguration block for rules that are taken into consideration during task placement. Maximum number of placement_constraints is 10. Detailed below.
Optional proxyConfiguration block for the App Mesh proxy. Detailed below.
Optional runtimeConfiguration block for runtime_platform that containers in your task may use.
Optional skipWhether to retain the old revision when the resource is destroyed or replacement is necessary. Default is false.
Optional tagsKey-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Optional taskIAM role that allows your Amazon ECS container task to make calls to other AWS services. Will be created automatically if not defined.
Optional volumesConfiguration block for volumes that containers in your task may use. Detailed below.
Generated using TypeDoc
The set of arguments for constructing a FargateTaskDefinition resource.