Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon Elastic Container Service TaskDefinition LinuxParameters

The LinuxParameters property type specifies Linux-specific options to apply to an Amazon Elastic Container Service (Amazon ECS) container.

LinuxParameters is a property of the Amazon Elastic Container Service TaskDefinition ContainerDefinition property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "Capabilities" : KernelCapabilities, "Devices" : [ Device, ... ], "InitProcessEnabled" : Boolean }

Properties

Capabilities

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.

Required: No

Type: Amazon ECS TaskDefinition KernelCapabilities

Update requires: Replacement

Devices

Any host devices to expose to the container. This maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run.

Required: No

Type: List of Amazon ECS TaskDefinition Device property types

Update requires: Replacement

InitProcessEnabled

Indicates whether to run an init process inside the container that forwards signals and reaps processes. This maps to the --init option to docker run.

This property requires at least version 1.25 of the Docker Remote API on your container instance. To check the API version on your container instance, log in to your container instance and run the following command: sudo docker version | grep "Server API version"

Required: No

Type: Boolean

Update requires: Replacement

See Also

On this page: