PidMode
- class aws_cdk.aws_ecs.PidMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
The process namespace to use for the containers in the task.
- ExampleMetadata:
infused
Example:
fargate_task_definition = ecs.FargateTaskDefinition(self, "TaskDef", runtime_platform=ecs.RuntimePlatform( operating_system_family=ecs.OperatingSystemFamily.LINUX, cpu_architecture=ecs.CpuArchitecture.ARM64 ), memory_limit_mi_b=512, cpu=256, pid_mode=ecs.PidMode.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.