import { Value } from '../../cloudformation/Value';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Attaches an Amazon EBS volume to a running instance and exposes it to the instance with the specified device name.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volumeattachment.html">the AWS Docs</a>
*/
export type VolumeAttachment = AwsResource<'AWS::EC2::VolumeAttachment', VolumeAttachmentProperties>;
export declare function volumeAttachment(volumeAttachmentProps: VolumeAttachmentProperties): VolumeAttachment;
/**
  Attaches an Amazon EBS volume to a running instance and exposes it to the instance with the specified device name.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volumeattachment.html">the AWS Docs</a>
*/
export interface VolumeAttachmentProperties {
    /** <code>VolumeId</code>  <a name="cfn-ec2-volumeattachment-volumeid"></a>
  The ID of the Amazon EBS volume. The volume and instance must be within the same Availability Zone. This value can be a reference to an <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html">https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html</a> resource, or it can be the volume ID of an existing Amazon EBS volume.<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> */
    volumeId: Value<string>;
    /** <code>InstanceId</code>  <a name="cfn-ec2-volumeattachment-instanceid"></a>
  The ID of the instance to which the volume attaches. This value can be a reference to an <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html">https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html</a> resource, or it can be the physical ID of an existing EC2 instance.<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> */
    instanceId: Value<string>;
    /** <code>Device</code>  <a name="cfn-ec2-volumeattachment-device"></a>
  The device name (for example, <code>/dev/sdh</code> or <code>xvdh</code>).<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> */
    device?: Value<string>;
}
