enum Scope
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.Scope |
Java | software.amazon.awscdk.services.ecs.Scope |
Python | aws_cdk.aws_ecs.Scope |
TypeScript (source) | @aws-cdk/aws-ecs » Scope |
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.
Members
Name | Description |
---|---|
TASK | Docker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops. |
SHARED | Docker volumes that are scoped as shared persist after the task stops. |
TASK
Docker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops.
SHARED
Docker volumes that are scoped as shared persist after the task stops.