Interface VolumeAttributes

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.550Z") @Stability(Stable) public interface VolumeAttributes extends
Attributes required to import an existing EBS Volume into the Stack.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Key key;
 VolumeAttributes volumeAttributes = VolumeAttributes.builder()
         // the properties below are optional
  • Method Details

    • getAvailabilityZone

      @Stability(Stable) @NotNull String getAvailabilityZone()
      The availability zone that the EBS Volume is contained within (ex: us-west-2a).
    • getVolumeId

      @Stability(Stable) @NotNull String getVolumeId()
      The EBS Volume's ID.
    • getEncryptionKey

      @Stability(Stable) @Nullable default IKey getEncryptionKey()
      The customer-managed encryption key that is used to encrypt the Volume.

      Default: None -- The EBS Volume is not using a customer-managed KMS key for encryption.

    • builder

      @Stability(Stable) static VolumeAttributes.Builder builder()
      a VolumeAttributes.Builder of VolumeAttributes