Amazon Elastic Container Service TaskDefinition KernelCapabilities
The
KernelCapabilities property type specifies the Linux capabilities to add or drop from the default Docker
configuration in an Amazon Elastic Container Service (Amazon ECS) container.
For more information, see
KernelCapabilities in the Amazon Elastic Container Service API Reference.
KernelCapabilities is a property of the LinuxParameters property type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Add-
The Linux capabilities to add to the default Docker configuration. This maps to
CapAddin the Create a container section of the Docker Remote API and the--cap-addoption to docker run. For valid values, see KernelCapabilities in the Amazon Elastic Container Service API Reference.Required: No
Type: List of String values
Update requires: Replacement
Drop-
The Linux capabilities to remove from the default Docker configuration. This maps to
CapDropin the Create a container section of the Docker Remote API and the--cap-dropoption to docker run. For valid values, see KernelCapabilities in the Amazon Elastic Container Service API Reference.Required: No
Type: List of String values
Update requires: Replacement
