Interface CfnService.ServiceManagedEBSVolumeConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnService.ServiceManagedEBSVolumeConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnService

@Stability(Stable) public static interface CfnService.ServiceManagedEBSVolumeConfigurationProperty extends software.amazon.jsii.JsiiSerializable
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.

Many of these parameters map 1:1 with the Amazon EBS CreateVolume API request parameters.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ecs.*;
 ServiceManagedEBSVolumeConfigurationProperty serviceManagedEBSVolumeConfigurationProperty = ServiceManagedEBSVolumeConfigurationProperty.builder()
         .roleArn("roleArn")
         // the properties below are optional
         .encrypted(false)
         .filesystemType("filesystemType")
         .iops(123)
         .kmsKeyId("kmsKeyId")
         .sizeInGiB(123)
         .snapshotId("snapshotId")
         .tagSpecifications(List.of(EBSTagSpecificationProperty.builder()
                 .resourceType("resourceType")
                 // the properties below are optional
                 .propagateTags("propagateTags")
                 .tags(List.of(CfnTag.builder()
                         .key("key")
                         .value("value")
                         .build()))
                 .build()))
         .throughput(123)
         .volumeType("volumeType")
         .build();
 

See Also: