AWSEC2Volume

@interface AWSEC2Volume

Describes a volume.

  • Information about the volume attachments.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var encrypted: NSNumber? { get set }
  • Indicates whether the volume was created using fast snapshot restore.

    Declaration

    Objective-C

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

    Swift

    var fastRestored: NSNumber? { get set }
  • The number of I/O operations per second (IOPS) that the volume supports. For Provisioned IOPS SSD volumes, this represents the number of IOPS that are provisioned for the volume. For General Purpose SSD volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide.

    Constraints: Range is 100-16,000 IOPS for gp2 volumes and 100 to 64,000IOPS for io1 volumes, in most Regions. The maximum IOPS for io1 of 64,000 is guaranteed only on Nitro-based instances. Other instance families guarantee performance up to 32,000 IOPS.

    Condition: This parameter is required for requests to create io1 volumes; it is not used in requests to create gp2, st1, sc1, or standard volumes.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var snapshotId: String? { get set }
  • The volume state.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2VolumeState state;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var tags: [AWSEC2Tag]? { get set }
  • The ID of the volume.

    Declaration

    Objective-C

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

    Swift

    var volumeId: String? { get set }
  • The volume type. This can be gp2 for General Purpose SSD, io1 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for Magnetic volumes.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2VolumeType volumeType;

    Swift

    var volumeType: AWSEC2VolumeType { get set }