Skip to content

ECS  >  Structures  >  ServiceVolumeConfiguration

ServiceVolumeConfiguration

Structure Class

ServiceVolumeConfiguration dataclass

Bases: _SerdeShape

The configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume.

Attributes

managed_ebs_volume class-attribute instance-attribute
managed_ebs_volume: ServiceManagedEBSVolumeConfiguration | None = ...

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service. The Amazon EBS volumes are visible in your account in the Amazon EC2 console once they are created.

name instance-attribute
name: str

The name of the volume. This value must match the volume name from the Volume object in the task definition.