LinuxParametersProps

class aws_cdk.aws_ecs.LinuxParametersProps(*, init_process_enabled=None, shared_memory_size=None)

Bases: object

The properties for defining Linux-specific options that are applied to the container.

Parameters:
  • init_process_enabled (Optional[bool]) – Specifies whether to run an init process inside the container that forwards signals and reaps processes. Default: false

  • shared_memory_size (Union[int, float, None]) – The value for the size (in MiB) of the /dev/shm volume. Default: No shared memory.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ecs as ecs

linux_parameters_props = ecs.LinuxParametersProps(
    init_process_enabled=False,
    shared_memory_size=123
)

Attributes

init_process_enabled

Specifies whether to run an init process inside the container that forwards signals and reaps processes.

Default:

false

shared_memory_size

The value for the size (in MiB) of the /dev/shm volume.

Default:

No shared memory.