PidMode

class aws_cdk.aws_ecs.PidMode

Bases: enum.Enum

The process namespace to use for the containers in the task.

Attributes

HOST

If host is specified, then all containers within the tasks that specified the host PID mode on the same container instance share the same process namespace with the host Amazon EC2 instance.

TASK

If task is specified, all containers within the specified task share the same process namespace.

Attributes

HOST = 'HOST'

If host is specified, then all containers within the tasks that specified the host PID mode on the same container instance share the same process namespace with the host Amazon EC2 instance.

TASK = 'TASK'

If task is specified, all containers within the specified task share the same process namespace.