AWSEC2Volume

Objective-C

@interface AWSEC2Volume

Swift

class AWSEC2Volume

Describes a volume.

  • This parameter is not returned by CreateVolume.

    Information about the volume attachments.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2VolumeAttachment *> *_Nullable attachments;

    Swift

    var attachments: [AWSEC2VolumeAttachment]? { get set }
  • The Availability Zone for the volume.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable availabilityZone;

    Swift

    var availabilityZone: String? { get set }
  • The time stamp when volume creation was initiated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable createTime;

    Swift

    var createTime: Date? { get set }
  • Indicates whether the volume is encrypted.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable encrypted;

    Swift

    var encrypted: NSNumber? { get set }
  • This parameter is not returned by CreateVolume.

    Indicates whether the volume was created using fast snapshot restore.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable fastRestored;

    Swift

    var fastRestored: NSNumber? { get set }
  • The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable iops;

    Swift

    var iops: NSNumber? { get set }
  • The Amazon Resource Name (ARN) of the KMS key that was used to protect the volume encryption key for the volume.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable kmsKeyId;

    Swift

    var kmsKeyId: String? { get set }
  • Indicates whether Amazon EBS Multi-Attach is enabled.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable multiAttachEnabled;

    Swift

    var multiAttachEnabled: NSNumber? { get set }
  • The Amazon Resource Name (ARN) of the Outpost.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable outpostArn;

    Swift

    var outpostArn: String? { get set }
  • The size of the volume, in GiBs.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable size;

    Swift

    var size: NSNumber? { get set }
  • The snapshot from which the volume was created, if applicable.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable snapshotId;

    Swift

    var snapshotId: String? { get set }
  • This parameter is not returned by CreateVolume.

    Reserved for future use.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2SSEType sseType;

    Swift

    var sseType: AWSEC2SSEType { get set }
  • The volume state.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2VolumeState state;

    Swift

    var state: AWSEC2VolumeState { get set }
  • Any tags assigned to the volume.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Tag *> *_Nullable tags;

    Swift

    var tags: [AWSEC2Tag]? { get set }
  • The throughput that the volume supports, in MiB/s.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable throughput;

    Swift

    var throughput: NSNumber? { get set }
  • The ID of the volume.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable volumeId;

    Swift

    var volumeId: String? { get set }
  • The volume type.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2VolumeType volumeType;

    Swift

    var volumeType: AWSEC2VolumeType { get set }