AWSEC2ScheduledInstancesEbs

Objective-C

@interface AWSEC2ScheduledInstancesEbs

Swift

class AWSEC2ScheduledInstancesEbs

Describes an EBS volume for a Scheduled Instance.

  • Indicates whether the volume is deleted on instance termination.

    Declaration

    Objective-C

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

    Swift

    var deleteOnTermination: NSNumber? { get set }
  • Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

    Declaration

    Objective-C

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

    Swift

    var encrypted: NSNumber? { get set }
  • The number of I/O operations per second (IOPS) to provision for an io1 or io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on Nitro-based instances. Other instance families guarantee performance up to 32,000 IOPS. For more information, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide.

    This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.

    Declaration

    Objective-C

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

    Swift

    var iops: NSNumber? { get set }
  • The ID of the snapshot.

    Declaration

    Objective-C

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

    Swift

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

    Default: If you’re creating the volume from a snapshot and don’t specify a volume size, the default is the snapshot size.

    Declaration

    Objective-C

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

    Swift

    var volumeSize: NSNumber? { get set }
  • The volume type. gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, Throughput Optimized HDD for st1, Cold HDD for sc1, or standard for Magnetic.

    Default: gp2

    Declaration

    Objective-C

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

    Swift

    var volumeType: String? { get set }