Class AmiCopyEbsBlockDevice


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

      • deleteOnTermination

        public java.util.Optional<java.lang.Boolean> deleteOnTermination()
        Returns:
        Boolean controlling whether the EBS volumes created to support each created instance will be deleted once that instance is terminated.
      • deviceName

        public java.util.Optional<java.lang.String> deviceName()
        Returns:
        Path at which the device is exposed to created instances.
      • encrypted

        public java.util.Optional<java.lang.Boolean> encrypted()
        Returns:
        Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshot_id`.
      • iops

        public java.util.Optional<java.lang.Integer> iops()
        Returns:
        Number of I/O operations per second the created volumes will support.
      • outpostArn

        public java.util.Optional<java.lang.String> outpostArn()
        Returns:
        ARN of the Outpost on which the snapshot is stored. > **Note:** You can specify `encrypted` or `snapshot_id` but not both.
      • snapshotId

        public java.util.Optional<java.lang.String> snapshotId()
        Returns:
        ID of an EBS snapshot that will be used to initialize the created EBS volumes. If set, the `volume_size` attribute must be at least as large as the referenced snapshot.
      • throughput

        public java.util.Optional<java.lang.Integer> throughput()
        Returns:
        Throughput that the EBS volume supports, in MiB/s. Only valid for `volume_type` of `gp3`.
      • volumeSize

        public java.util.Optional<java.lang.Integer> volumeSize()
        Returns:
        Size of created volumes in GiB. If `snapshot_id` is set and `volume_size` is omitted then the volume will have the same size as the selected snapshot.
      • volumeType

        public java.util.Optional<java.lang.String> volumeType()
        Returns:
        Type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).