LaunchSpecification
public struct LaunchSpecification : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Deprecated.
Declaration
Swift
public let addressingType: String?
-
One or more block device mapping entries.
Declaration
Swift
public let blockDeviceMappings: [BlockDeviceMapping]?
-
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
Swift
public let ebsOptimized: Bool?
-
The IAM instance profile.
Declaration
Swift
public let iamInstanceProfile: IamInstanceProfileSpecification?
-
The ID of the AMI.
Declaration
Swift
public let imageId: String?
-
The instance type.
Declaration
Swift
public let instanceType: InstanceType?
-
The ID of the kernel.
Declaration
Swift
public let kernelId: String?
-
The name of the key pair.
Declaration
Swift
public let keyName: String?
-
Undocumented
Declaration
Swift
public let monitoring: RunInstancesMonitoringEnabled?
-
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
Swift
public let networkInterfaces: [InstanceNetworkInterfaceSpecification]?
-
The placement information for the instance.
Declaration
Swift
public let placement: SpotPlacement?
-
The ID of the RAM disk.
Declaration
Swift
public let ramdiskId: String?
-
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
Swift
public let securityGroups: [GroupIdentifier]?
-
The ID of the subnet in which to launch the instance.
Declaration
Swift
public let subnetId: String?
-
The Base64-encoded user data for the instance.
Declaration
Swift
public let userData: String?
-
init(addressingType:blockDeviceMappings:ebsOptimized:iamInstanceProfile:imageId:instanceType:kernelId:keyName:monitoring:networkInterfaces:placement:ramdiskId:securityGroups:subnetId:userData:)
Undocumented
Declaration
Swift
public init(addressingType: String? = nil, blockDeviceMappings: [BlockDeviceMapping]? = nil, ebsOptimized: Bool? = nil, iamInstanceProfile: IamInstanceProfileSpecification? = nil, imageId: String? = nil, instanceType: InstanceType? = nil, kernelId: String? = nil, keyName: String? = nil, monitoring: RunInstancesMonitoringEnabled? = nil, networkInterfaces: [InstanceNetworkInterfaceSpecification]? = nil, placement: SpotPlacement? = nil, ramdiskId: String? = nil, securityGroups: [GroupIdentifier]? = nil, subnetId: String? = nil, userData: String? = nil)