Class LaunchConfigurationEbsBlockDevice


  • public final class LaunchConfigurationEbsBlockDevice
    extends java.lang.Object
    • Method Detail

      • deleteOnTermination

        public java.util.Optional<java.lang.Boolean> deleteOnTermination()
        Returns:
        Whether the volume should be destroyed on instance termination (Default: `true`).
      • deviceName

        public java.lang.String deviceName()
        Returns:
        The name of the device to mount.
      • encrypted

        public java.util.Optional<java.lang.Boolean> encrypted()
        Returns:
        Whether the volume should be encrypted or not. Defaults to `false`.
      • iops

        public java.util.Optional<java.lang.Integer> iops()
        Returns:
        The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.
      • noDevice

        public java.util.Optional<java.lang.Boolean> noDevice()
        Returns:
        Whether the device in the block device mapping of the AMI is suppressed.
      • snapshotId

        public java.util.Optional<java.lang.String> snapshotId()
        Returns:
        The Snapshot ID to mount.
      • throughput

        public java.util.Optional<java.lang.Integer> throughput()
        Returns:
        The throughput (MiBps) to provision for a `gp3` volume.
      • volumeSize

        public java.util.Optional<java.lang.Integer> volumeSize()
        Returns:
        The size of the volume in gigabytes.
      • volumeType

        public java.util.Optional<java.lang.String> volumeType()
        Returns:
        The type of volume. Can be `standard`, `gp2`, `gp3`, `st1`, `sc1` or `io1`.