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 }
  • One or more 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: 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.

    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 }
  • 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 (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 }
  • 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 (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 for the instance.

    Declaration

    Objective-C

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

    Swift

    var userData: String? { get set }