AWSEC2RequestSpotLaunchSpecification

@interface AWSEC2RequestSpotLaunchSpecification

Describes the launch specification for an instance.

  • Deprecated.

    Declaration

    Objective-C

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

    Swift

    var addressingType: String? { get set }
  • One or more block device mapping entries. You can’t specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

    Declaration

    Objective-C

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

    Swift

    var blockDeviceMappings: [AWSEC2BlockDeviceMapping]? { get set }
  • Indicates whether the instance is 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 (readwrite, strong, nonatomic) NSNumber *_Nullable ebsOptimized;

    Swift

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSEC2IamInstanceProfileSpecification *_Nullable iamInstanceProfile;

    Swift

    var iamInstanceProfile: AWSEC2IamInstanceProfileSpecification? { get set }
  • The ID of the AMI.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2InstanceType instanceType;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var keyName: String? { get set }
  • Indicates whether basic or detailed monitoring is enabled for the instance.

    Default: Disabled

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSEC2RunInstancesMonitoringEnabled *_Nullable monitoring;

    Swift

    var monitoring: AWSEC2RunInstancesMonitoringEnabled? { get set }
  • One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

    Declaration

    Objective-C

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

    Swift

    var networkInterfaces: [AWSEC2InstanceNetworkInterfaceSpecification]? { get set }
  • The placement information for the instance.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSEC2SpotPlacement *_Nullable placement;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var ramdiskId: String? { get set }
  • One or more security group IDs.

    Declaration

    Objective-C

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

    Swift

    var securityGroupIds: [String]? { get set }
  • One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

    Declaration

    Objective-C

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

    Swift

    var securityGroups: [String]? { get set }
  • The IDs of the subnets in which to launch the instance. To specify multiple subnets, separate them using commas; for example, “subnet-1234abcdeexample1, subnet-0987cdef6example2”.

    Declaration

    Objective-C

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

    Swift

    var subnetId: String? { get set }
  • The Base64-encoded user data for the instance. User data is limited to 16 KB.

    Declaration

    Objective-C

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

    Swift

    var userData: String? { get set }