import { Value } from '../../../cloudformation/Value';
/**
  Specifies options for Spot Instances.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-spotoptions.html">the AWS Docs</a>
*/
export interface SpotOptionsProps {
    /** <code>SpotInstanceType</code>  <a name="cfn-ec2-launchtemplate-spotoptions-spotinstancetype"></a>
  The Spot Instance request type.<br />
  If you are using Spot Instances with an Auto Scaling group, use <code>one-time</code> requests, as the Amazon EC2 Auto Scaling service handles requesting new Spot Instances whenever the group is below its desired capacity.<br />
  
  Required: No<br />
  
  Allowed values: <code>one-time | persistent</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    spotInstanceType?: Value<'one-time' | 'persistent'>;
    /** <code>InstanceInterruptionBehavior</code>  <a name="cfn-ec2-launchtemplate-spotoptions-instanceinterruptionbehavior"></a>
  The behavior when a Spot Instance is interrupted. The default is <code>terminate</code>.<br />
  
  Required: No<br />
  
  Allowed values: <code>hibernate | stop | terminate</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    instanceInterruptionBehavior?: Value<'hibernate' | 'stop' | 'terminate'>;
    /** <code>MaxPrice</code>  <a name="cfn-ec2-launchtemplate-spotoptions-maxprice"></a>
  The maximum hourly price you’re willing to pay for the Spot Instances. 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.<br />
  If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    maxPrice?: Value<string>;
    /** <code>BlockDurationMinutes</code>  <a name="cfn-ec2-launchtemplate-spotoptions-blockdurationminutes"></a>
  Deprecated.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    blockDurationMinutes?: Value<number>;
    /** <code>ValidUntil</code>  <a name="cfn-ec2-launchtemplate-spotoptions-validuntil"></a>
  The end date of the request, in UTC format (
  YYYY-MM-DD: <
  HH:MM:SS: . Supported only for persistent requests. */
    validUntil?: Value<string>;
}
