PidMode Enum
The process namespace to use for the containers in the task.
Example
ts
const fargateTaskDefinition = new ecs.FargateTaskDefinition(this, 'TaskDef', {
runtimePlatform: {
operatingSystemFamily: ecs.OperatingSystemFamily.LINUX,
cpuArchitecture: ecs.CpuArchitecture.ARM64,
},
memoryLimitMiB: 512,
cpu: 256,
pidMode: ecs.PidMode.TASK,
});
Members
| Member | Description |
|---|---|
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. |
Referenced by
Ec2TaskDefinitionProps.pidModepid_modepidModePidModePidModeFargateTaskDefinitionProps.pidModepid_modepidModePidModePidModeTaskDefinition.pidModepid_modepidModePidModePidModeTaskDefinitionProps.pidModepid_modepidModePidModePidMode