EbsBlockDevice

public struct EbsBlockDevice : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Whether the volume is deleted on instance termination.

    Declaration

    Swift

    public let deleteOnTermination: Bool?
  • The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.

    Declaration

    Swift

    public let iops: Int?
  • The snapshot ID.

    Declaration

    Swift

    public let snapshotId: String?
  • The volume size, in GiB. For more information, see EbsBlockDevice.

    Declaration

    Swift

    public let volumeSize: Int?
  • The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes. If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).

    Declaration

    Swift

    public let volumeType: VolumeType?
  • Undocumented

    Declaration

    Swift

    public init(deleteOnTermination: Bool? = nil, iops: Int? = nil, snapshotId: String? = nil, volumeSize: Int? = nil, volumeType: VolumeType? = nil)