enum Scope
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.Scope |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#Scope |
Java | software.amazon.awscdk.services.ecs.Scope |
Python | aws_cdk.aws_ecs.Scope |
TypeScript (source) | aws-cdk-lib » 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.