This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ECS::DaemonTaskDefinition LinuxParameters
The Linux-specific options that are applied to the container, such as Linux KernelCapabilities.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Capabilities" :KernelCapabilities, "Devices" :[ Device, ... ], "InitProcessEnabled" :Boolean, "Tmpfs" :[ Tmpfs, ... ]}
YAML
Capabilities:KernelCapabilitiesDevices:- DeviceInitProcessEnabled:BooleanTmpfs:- Tmpfs
Properties
Capabilities-
The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
Note
For tasks that use the Fargate launch type,
capabilitiesis supported for all platform versions but theaddparameter is only supported if using platform version 1.4.0 or later.Required: No
Type: KernelCapabilities
Update requires: Replacement
Devices-
Any host devices to expose to the container. This parameter maps to
Devicesin the docker container create command and the--deviceoption to docker run.Note
If you're using tasks that use the Fargate launch type, the
devicesparameter isn't supported.Required: No
Type: Array of Device
Update requires: Replacement
InitProcessEnabled-
Run an
initprocess inside the container that forwards signals and reaps processes. This parameter maps to the--initoption to docker run. This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command:sudo docker version --format '{{.Server.APIVersion}}'Required: No
Type: Boolean
Update requires: Replacement
Tmpfs-
The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the
--tmpfsoption to docker run.Note
If you're using tasks that use the Fargate launch type, the
tmpfsparameter isn't supported.Required: No
Update requires: Replacement