enum PidMode
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.PidMode |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#PidMode |
![]() | software.amazon.awscdk.services.ecs.PidMode |
![]() | aws_cdk.aws_ecs.PidMode |
![]() | aws-cdk-lib » aws_ecs » PidMode |
The process namespace to use for the containers in the task.
Example
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
Name | 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. |
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.