interface LinuxParametersProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.LinuxParametersProps |
![]() | software.amazon.awscdk.services.ecs.LinuxParametersProps |
![]() | aws_cdk.aws_ecs.LinuxParametersProps |
![]() | @aws-cdk/aws-ecs » LinuxParametersProps |
The properties for defining Linux-specific options that are applied to the container.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ecs from '@aws-cdk/aws-ecs';
const linuxParametersProps: ecs.LinuxParametersProps = {
initProcessEnabled: false,
sharedMemorySize: 123,
};
Properties
Name | Type | Description |
---|---|---|
init | boolean | Specifies whether to run an init process inside the container that forwards signals and reaps processes. |
shared | number | The value for the size (in MiB) of the /dev/shm volume. |
initProcessEnabled?
Type:
boolean
(optional, default: false)
Specifies whether to run an init process inside the container that forwards signals and reaps processes.
sharedMemorySize?
Type:
number
(optional, default: No shared memory.)
The value for the size (in MiB) of the /dev/shm volume.