SpotInstanceRequest
public struct SpotInstanceRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
If you specified a duration and your Spot Instance request was fulfilled, this is the fixed hourly price in effect for the Spot Instance while it runs.
Declaration
Swift
public let actualBlockHourlyPrice: String?
-
The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.
Declaration
Swift
public let availabilityZoneGroup: String?
-
The duration for the Spot Instance, in minutes.
Declaration
Swift
public let blockDurationMinutes: Int?
-
The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
Declaration
Swift
public let createTime: TimeStamp?
-
The fault codes for the Spot Instance request, if any.
Declaration
Swift
public let fault: SpotInstanceStateFault?
-
The instance ID, if an instance has been launched to fulfill the Spot Instance request.
Declaration
Swift
public let instanceId: String?
-
The behavior when a Spot Instance is interrupted.
Declaration
Swift
public let instanceInterruptionBehavior: InstanceInterruptionBehavior?
-
The Availability Zone in which the request is launched.
Declaration
Swift
public let launchedAvailabilityZone: String?
-
The instance launch group. Launch groups are Spot Instances that launch together and terminate together.
Declaration
Swift
public let launchGroup: String?
-
Additional information for launching instances.
Declaration
Swift
public let launchSpecification: LaunchSpecification?
-
The product description associated with the Spot Instance.
Declaration
Swift
public let productDescription: RIProductDescription?
-
The ID of the Spot Instance request.
Declaration
Swift
public let spotInstanceRequestId: String?
-
The maximum price per hour that you are willing to pay for a Spot Instance.
Declaration
Swift
public let spotPrice: String?
-
The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status in the Amazon EC2 User Guide for Linux Instances.
Declaration
Swift
public let state: SpotInstanceState?
-
The status code and status message describing the Spot Instance request.
Declaration
Swift
public let status: SpotInstanceStatus?
-
Any tags assigned to the resource.
Declaration
Swift
public let tags: [Tag]?
-
The Spot Instance request type.
Declaration
Swift
public let type: SpotInstanceType?
-
The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.
Declaration
Swift
public let validFrom: TimeStamp?
-
The end date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). If this is a one-time request, it remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date is reached. The default end date is 7 days from the current date.
Declaration
Swift
public let validUntil: TimeStamp?
-
init(actualBlockHourlyPrice:availabilityZoneGroup:blockDurationMinutes:createTime:fault:instanceId:instanceInterruptionBehavior:launchedAvailabilityZone:launchGroup:launchSpecification:productDescription:spotInstanceRequestId:spotPrice:state:status:tags:type:validFrom:validUntil:)
Undocumented
Declaration
Swift
public init(actualBlockHourlyPrice: String? = nil, availabilityZoneGroup: String? = nil, blockDurationMinutes: Int? = nil, createTime: TimeStamp? = nil, fault: SpotInstanceStateFault? = nil, instanceId: String? = nil, instanceInterruptionBehavior: InstanceInterruptionBehavior? = nil, launchedAvailabilityZone: String? = nil, launchGroup: String? = nil, launchSpecification: LaunchSpecification? = nil, productDescription: RIProductDescription? = nil, spotInstanceRequestId: String? = nil, spotPrice: String? = nil, state: SpotInstanceState? = nil, status: SpotInstanceStatus? = nil, tags: [Tag]? = nil, type: SpotInstanceType? = nil, validFrom: TimeStamp? = nil, validUntil: TimeStamp? = nil)