Interface CfnTaskDefinition.LinuxParametersProperty

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

@Stability(Stable) public static interface CfnTaskDefinition.LinuxParametersProperty extends software.amazon.jsii.JsiiSerializable
The Linux-specific options that are applied to the container, such as Linux KernelCapabilities .

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.*;
 LinuxParametersProperty linuxParametersProperty = LinuxParametersProperty.builder()
         .capabilities(KernelCapabilitiesProperty.builder()
                 .add(List.of("add"))
                 .drop(List.of("drop"))
                 .build())
         .devices(List.of(DeviceProperty.builder()
                 .containerPath("containerPath")
                 .hostPath("hostPath")
                 .permissions(List.of("permissions"))
                 .build()))
         .initProcessEnabled(false)
         .maxSwap(123)
         .sharedMemorySize(123)
         .swappiness(123)
         .tmpfs(List.of(TmpfsProperty.builder()
                 .size(123)
                 // the properties below are optional
                 .containerPath("containerPath")
                 .mountOptions(List.of("mountOptions"))
                 .build()))
         .build();
 

See Also: