AWSEC2ScheduledInstancesLaunchSpecification

Objective-C

@interface AWSEC2ScheduledInstancesLaunchSpecification

Swift

class AWSEC2ScheduledInstancesLaunchSpecification

Describes the launch specification for a Scheduled Instance.

If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet. You can specify the subnet using either SubnetId or NetworkInterface.

Required parameters: [ImageId]

  • The block device mapping entries.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2ScheduledInstancesBlockDeviceMapping *> *_Nullable blockDeviceMappings;

    Swift

    var blockDeviceMappings: [AWSEC2ScheduledInstancesBlockDeviceMapping]? { get set }
  • Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn’t available with all instance types. Additional usage charges apply when using an EBS-optimized instance.

    Default: false

    Declaration

    Objective-C

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

    Swift

    var ebsOptimized: NSNumber? { get set }
  • The IAM instance profile.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2ScheduledInstancesIamInstanceProfile *_Nullable iamInstanceProfile;

    Swift

    var iamInstanceProfile: AWSEC2ScheduledInstancesIamInstanceProfile? { get set }
  • The ID of the Amazon Machine Image (AMI).

    Declaration

    Objective-C

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

    Swift

    var imageId: String? { get set }
  • The instance type.

    Declaration

    Objective-C

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

    Swift

    var instanceType: String? { get set }
  • The ID of the kernel.

    Declaration

    Objective-C

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

    Swift

    var kernelId: String? { get set }
  • The name of the key pair.

    Declaration

    Objective-C

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

    Swift

    var keyName: String? { get set }
  • Enable or disable monitoring for the instances.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2ScheduledInstancesMonitoring *_Nullable monitoring;

    Swift

    var monitoring: AWSEC2ScheduledInstancesMonitoring? { get set }
  • The network interfaces.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2ScheduledInstancesNetworkInterface *> *_Nullable networkInterfaces;

    Swift

    var networkInterfaces: [AWSEC2ScheduledInstancesNetworkInterface]? { get set }
  • The placement information.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2ScheduledInstancesPlacement *_Nullable placement;

    Swift

    var placement: AWSEC2ScheduledInstancesPlacement? { get set }
  • The ID of the RAM disk.

    Declaration

    Objective-C

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

    Swift

    var ramdiskId: String? { get set }
  • The IDs of the security groups.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable securityGroupIds;

    Swift

    var securityGroupIds: [String]? { get set }
  • The ID of the subnet in which to launch the instances.

    Declaration

    Objective-C

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

    Swift

    var subnetId: String? { get set }
  • The base64-encoded MIME user data.

    Declaration

    Objective-C

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

    Swift

    var userData: String? { get set }