AWSEC2RequestSpotLaunchSpecification
Objective-C
@interface AWSEC2RequestSpotLaunchSpecification
Swift
class AWSEC2RequestSpotLaunchSpecification
Describes the launch specification for an instance.
-
Deprecated.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable addressingType;
Swift
var addressingType: String? { get set }
-
The 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 (nonatomic, strong) 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 (nonatomic, strong) NSNumber *_Nullable ebsOptimized;
Swift
var ebsOptimized: NSNumber? { get set }
-
The IAM instance profile.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2IamInstanceProfileSpecification *_Nullable iamInstanceProfile;
Swift
var iamInstanceProfile: AWSEC2IamInstanceProfileSpecification? { get set }
-
The ID of the AMI.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable imageId;
Swift
var imageId: String? { get set }
-
The instance type. Only one instance type can be specified.
Declaration
Objective-C
@property (nonatomic) AWSEC2InstanceType instanceType;
Swift
var instanceType: AWSEC2InstanceType { 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 }
-
Indicates whether basic or detailed monitoring is enabled for the instance.
Default: Disabled
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2RunInstancesMonitoringEnabled *_Nullable monitoring;
Swift
var monitoring: AWSEC2RunInstancesMonitoringEnabled? { get set }
-
The 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 (nonatomic, strong) NSArray<AWSEC2InstanceNetworkInterfaceSpecification *> *_Nullable networkInterfaces;
Swift
var networkInterfaces: [AWSEC2InstanceNetworkInterfaceSpecification]? { get set }
-
The placement information for the instance.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2SpotPlacement *_Nullable placement;
Swift
var placement: AWSEC2SpotPlacement? { 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 }
-
Not supported.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable securityGroups;
Swift
var securityGroups: [String]? { get set }
-
The ID of the subnet in which to launch the instance.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable subnetId;
Swift
var subnetId: String? { get set }
-
The base64-encoded user data that instances use when starting up. User data is limited to 16 KB.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable userData;
Swift
var userData: String? { get set }