AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

ServiceManagedVolume

Represents a service-managed volume and always configured at launch.

Import

import { ServiceManagedVolume } from 'aws-cdk-lib/aws-ecs';

Or use the module namespace:

import * as ecs from 'aws-cdk-lib/aws-ecs';
// ecs.ServiceManagedVolume

Properties

Configuration passed to the constructor as ServiceManagedVolumeProps.

nameRequired
string

The name of the volume. This corresponds to the name provided in the ECS TaskDefinition.

managedEBSVolumeOptional
ServiceManagedEBSVolumeConfiguration

Configuration for an Amazon Elastic Block Store (EBS) volume managed by ECS.

Default: - undefined

Get the Amazon ECS Cheat Sheet

Everything you need to know about Amazon ECS on one page. HD quality, print-friendly.

Download Free Infographic