AWSEC2SpotPrice

Objective-C

@interface AWSEC2SpotPrice

Swift

class AWSEC2SpotPrice

The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

  • The Availability Zone.

    Declaration

    Objective-C

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

    Swift

    var availabilityZone: String? { get set }
  • The instance type.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2InstanceType instanceType;

    Swift

    var instanceType: AWSEC2InstanceType { get set }
  • A general description of the AMI.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2RIProductDescription productDescription;

    Swift

    var productDescription: AWSEC2RIProductDescription { get set }
  • The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    Declaration

    Objective-C

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

    Swift

    var spotPrice: String? { get set }
  • The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable timestamp;

    Swift

    var timestamp: Date? { get set }