Interface ILinuxParametersProps
The properties for defining Linux-specific options that are applied to the container.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface ILinuxParametersProps
Syntax (vb)
Public Interface ILinuxParametersProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var linuxParametersProps = new LinuxParametersProps {
InitProcessEnabled = false,
SharedMemorySize = 123
};
Synopsis
Properties
InitProcessEnabled | Specifies whether to run an init process inside the container that forwards signals and reaps processes. |
SharedMemorySize | The value for the size (in MiB) of the /dev/shm volume. |
Properties
InitProcessEnabled
Specifies whether to run an init process inside the container that forwards signals and reaps processes.
virtual Nullable<bool> InitProcessEnabled { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
SharedMemorySize
The value for the size (in MiB) of the /dev/shm volume.
virtual Nullable<double> SharedMemorySize { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: No shared memory.