AWSEC2LaunchSpecification
Objective-C
@interface AWSEC2LaunchSpecification
Swift
class AWSEC2LaunchSpecification
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.
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:
falseDeclaration
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 } -
Describes the monitoring of an instance.
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<AWSEC2GroupIdentifier *> *_Nullable securityGroups;Swift
var securityGroups: [AWSEC2GroupIdentifier]? { 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 }
View on GitHub
Install in Dash
AWSEC2LaunchSpecification Class Reference