Volume
public struct Volume : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
The volume Availability Zone. For more information, see Regions and Endpoints.
Declaration
Swift
public let availabilityZone: String? -
The device name.
Declaration
Swift
public let device: String? -
The Amazon EC2 volume ID.
Declaration
Swift
public let ec2VolumeId: String? -
Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
Declaration
Swift
public let encrypted: Bool? -
The instance ID.
Declaration
Swift
public let instanceId: String? -
For PIOPS volumes, the IOPS per disk.
Declaration
Swift
public let iops: Int? -
The volume mount point. For example, “/mnt/disk1”.
Declaration
Swift
public let mountPoint: String? -
The volume name.
Declaration
Swift
public let name: String? -
The RAID array ID.
Declaration
Swift
public let raidArrayId: String? -
The AWS region. For more information about AWS regions, see Regions and Endpoints.
Declaration
Swift
public let region: String? -
The volume size.
Declaration
Swift
public let size: Int? -
The value returned by DescribeVolumes.
Declaration
Swift
public let status: String? -
The volume ID.
Declaration
Swift
public let volumeId: String? -
The volume type. For more information, see Amazon EBS Volume Types. standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB. io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB. gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB. st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB. sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.
Declaration
Swift
public let volumeType: String? -
init(availabilityZone:device:ec2VolumeId:encrypted:instanceId:iops:mountPoint:name:raidArrayId:region:size:status:volumeId:volumeType:)Undocumented
Declaration
Swift
public init(availabilityZone: String? = nil, device: String? = nil, ec2VolumeId: String? = nil, encrypted: Bool? = nil, instanceId: String? = nil, iops: Int? = nil, mountPoint: String? = nil, name: String? = nil, raidArrayId: String? = nil, region: String? = nil, size: Int? = nil, status: String? = nil, volumeId: String? = nil, volumeType: String? = nil)
View on GitHub
Volume Structure Reference