Class LinuxParametersProps
The properties for defining Linux-specific options that are applied to the container.
Inheritance
System.Object
LinuxParametersProps
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class LinuxParametersProps : Object, ILinuxParametersProps
Syntax (vb)
Public Class LinuxParametersProps
Inherits Object
Implements 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
Constructors
LinuxParametersProps() |
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. |
Constructors
LinuxParametersProps()
public LinuxParametersProps()
Properties
InitProcessEnabled
Specifies whether to run an init process inside the container that forwards signals and reaps processes.
public Nullable<bool> InitProcessEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
SharedMemorySize
The value for the size (in MiB) of the /dev/shm volume.
public Nullable<double> SharedMemorySize { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: No shared memory.