Skip to content

ECS  >  Enums  >  IsolationMode

IsolationMode

Enum Class

IsolationMode

Bases: UnknownEnumMixin, StrEnum

The isolation mode determines how a task is isolated from other tasks on the same Amazon EC2 instance.

Attributes

CONFIDENTIAL_SANDBOX class-attribute instance-attribute
CONFIDENTIAL_SANDBOX = 'CONFIDENTIAL_SANDBOX'

The task runs in its own Nitro Sandbox, which is a lightweight virtual machine that is isolated by the Amazon Web Services Nitro System, with cryptographic attestation. The host can't access the sandbox's memory or storage. For more information, see Isolated and confidential tasks in Amazon Elastic Container Service Developer Guide.

ISOLATED_SANDBOX class-attribute instance-attribute
ISOLATED_SANDBOX = 'ISOLATED_SANDBOX'

The task runs in its own Nitro Sandbox, which is a lightweight virtual machine that is isolated by the Amazon Web Services Nitro System. Each task's sandbox is isolated from every other task's sandbox on the same Amazon EC2 instance. For more information, see Isolated and confidential tasks in Amazon Elastic Container Service Developer Guide.

SHARED class-attribute instance-attribute
SHARED = 'SHARED'

The task shares the underlying Amazon EC2 instance with other tasks. This is the default isolation mode.