Skip to content

ServiceVolumeConfiguration

Source code in docs_src/capo_ecs/types/service_volume_configuration.py
class ServiceVolumeConfiguration(TypedDict, closed=True):
    name: "capo_ecs.types.ecs_volume_name.ECSVolumeName"
    """<p>The name of the volume. This value must match the volume name from the <code>Volume</code> object in the task definition.</p>"""
    managed_ebs_volume: NotRequired[
        "capo_ecs.types.service_managed_ebs_volume_configuration.ServiceManagedEBSVolumeConfiguration"
    ]
    """<p>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.</p>"""

managed_ebs_volume instance-attribute

managed_ebs_volume: NotRequired[ServiceManagedEBSVolumeConfiguration]

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

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