AWSEC2LaunchTemplateEbsBlockDeviceRequest

Objective-C

@interface AWSEC2LaunchTemplateEbsBlockDeviceRequest

Swift

class AWSEC2LaunchTemplateEbsBlockDeviceRequest

The parameters for a block device for an EBS volume.

  • Indicates whether the EBS volume is deleted on instance termination.

    Declaration

    Objective-C

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

    Swift

    var deleteOnTermination: NSNumber? { get set }
  • Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can’t specify an encryption value.

    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 ARN of the symmetric AWS Key Management Service (AWS KMS) CMK used for encryption.

    Declaration

    Objective-C

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

    Swift

    var kmsKeyId: String? { 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2VolumeType volumeType;

    Swift

    var volumeType: AWSEC2VolumeType { get set }