Module: AWSCDK::ECS::Scope

Defined in:
ecs/scope.rb

Overview

The scope for the Docker volume that determines its lifecycle.

Docker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as shared persist after the task stops.

Constant Summary collapse

TASK =
Deprecated.
Note:

Default:

Docker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops.

Jsii::Enum.new("aws-cdk-lib.aws_ecs.Scope", "TASK")
SHARED =
Deprecated.
Note:

Default:

Docker volumes that are scoped as shared persist after the task stops.

Jsii::Enum.new("aws-cdk-lib.aws_ecs.Scope", "SHARED")