import { EbsBlockDeviceProps } from './EbsBlockDeviceProps';
import { Value } from '../../../cloudformation/Value';
/**
  Specifies a block device mapping.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-blockdevicemapping.html">the AWS Docs</a>
*/
export interface BlockDeviceMappingProps {
    /** <code>Ebs</code>  <a name="cfn-ec2-spotfleet-blockdevicemapping-ebs"></a>
  Parameters used to automatically set up EBS volumes when the instance is launched.<br />
  
  Required: Conditional<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    ebs?: EbsBlockDeviceProps;
    /** <code>NoDevice</code>  <a name="cfn-ec2-spotfleet-blockdevicemapping-nodevice"></a>
  To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    noDevice?: Value<string>;
    /** <code>VirtualName</code>  <a name="cfn-ec2-spotfleet-blockdevicemapping-virtualname"></a>
  The virtual device name (<code>ephemeral</code>N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for <code>ephemeral0</code> and <code>ephemeral1</code>. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.<br />
  NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.<br />
  Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.<br />
  
  Required: Conditional<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    virtualName?: Value<string>;
    /** <code>DeviceName</code>  <a name="cfn-ec2-spotfleet-blockdevicemapping-devicename"></a>
  The device name (for example, <code>/dev/sdh</code> or <code>xvdh</code>).<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    deviceName: Value<string>;
}
