AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails

>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.

Contents

Capabilities

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

Type: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails object

Required: No

Devices

The host devices to expose to the container.

Type: Array of AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails objects

Required: No

InitProcessEnabled

Whether to run an init process inside the container that forwards signals and reaps processes.

Type: Boolean

Required: No

MaxSwap

The total amount of swap memory (in MiB) that a container can use.

Type: Integer

Required: No

SharedMemorySize

The value for the size (in MiB) of the /dev/shm volume.

Type: Integer

Required: No

Swappiness

Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.

Type: Integer

Required: No

Tmpfs

The container path, mount options, and size (in MiB) of the tmpfs mount.

Type: Array of AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails objects

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: