RequestSpotLaunchSpecification

public struct RequestSpotLaunchSpecification : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Deprecated.

    Declaration

    Swift

    public let addressingType: String?
  • 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

    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?
  • Indicates whether basic or detailed monitoring is enabled for the instance. Default: Disabled

    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 group IDs.

    Declaration

    Swift

    public let securityGroupIds: [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: [String]?
  • 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

    Swift

    public let subnetId: String?
  • The Base64-encoded user data for the instance. User data is limited to 16 KB.

    Declaration

    Swift

    public let userData: String?
  • 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, securityGroupIds: [String]? = nil, securityGroups: [String]? = nil, subnetId: String? = nil, userData: String? = nil)