Interface CfnTaskDefinition.KernelCapabilitiesProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTaskDefinition.KernelCapabilitiesProperty.Jsii$Proxy
Enclosing class:
CfnTaskDefinition

@Stability(Stable) public static interface CfnTaskDefinition.KernelCapabilitiesProperty extends software.amazon.jsii.JsiiSerializable
The Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition.

For more information about the default capabilities and the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run reference . For more detailed information about these Linux capabilities, see the capabilities(7) Linux manual page.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ecs.*;
 KernelCapabilitiesProperty kernelCapabilitiesProperty = KernelCapabilitiesProperty.builder()
         .add(List.of("add"))
         .drop(List.of("drop"))
         .build();
 

See Also: