Method: Aws::ECS::Types::RegisterTaskDefinitionRequest#pid_mode
- Defined in:
- lib/aws-sdk-ecs/types.rb
#pid_mode ⇒ String
The process namespace to use for the containers in the task. The valid values are host or task. On Fargate for Linux containers, the only valid value is task. For example, monitoring sidecars might need pidMode to access information about other containers running in the same task.
If host is specified, 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.
If task is specified, all containers within the specified task share the same process namespace.
If no value is specified, the The default is a private namespace for each container.
If the host PID mode is used, there’s a heightened risk of undesired process namespace exposure.
<note markdown=“1”> This parameter is not supported for Windows containers.
</note>
<note markdown=“1”> This parameter is only supported for tasks that are hosted on Fargate if the tasks are using platform version 1.4.0 or later (Linux). This isn’t supported for Windows containers on Fargate.
</note>
11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 |
# File 'lib/aws-sdk-ecs/types.rb', line 11097 class RegisterTaskDefinitionRequest < Struct.new( :family, :task_role_arn, :execution_role_arn, :network_mode, :container_definitions, :volumes, :placement_constraints, :requires_compatibilities, :cpu, :memory, :tags, :pid_mode, :ipc_mode, :proxy_configuration, :inference_accelerators, :ephemeral_storage, :runtime_platform, :enable_fault_injection) SENSITIVE = [] include Aws::Structure end |