aws-cdk-lib.aws_ecs.Scope

enum Scope

LanguageType name
.NETAmazon.CDK.AWS.ECS.Scope
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#Scope
Javasoftware.amazon.awscdk.services.ecs.Scope
Pythonaws_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

NameDescription
TASKDocker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops.
SHAREDDocker 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.