import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type NetworkInterfaceAttachmentAttributes = {
    AttachmentId: Attribute<string>;
};
export type NetworkInterfaceAttachment = AwsResource<'AWS::EC2::NetworkInterfaceAttachment', NetworkInterfaceAttachmentProperties, NetworkInterfaceAttachmentAttributes>;
/**
  Attaches an elastic network interface (ENI) to an Amazon EC2 instance. You can use this resource type to attach additional network interfaces to an instance without interruption.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html">the AWS Docs</a>
*/
export declare function networkInterfaceAttachment(networkInterfaceAttachmentProps: NetworkInterfaceAttachmentProperties): NetworkInterfaceAttachment;
/**
  Attaches an elastic network interface (ENI) to an Amazon EC2 instance. You can use this resource type to attach additional network interfaces to an instance without interruption.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html">the AWS Docs</a>
*/
export interface NetworkInterfaceAttachmentProperties {
    /** <code>InstanceId</code>  <a name="cfn-ec2-networkinterfaceattachment-instanceid"></a>
  The ID of the instance to which you will attach the ENI.<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>DeviceIndex</code>  <a name="cfn-ec2-networkinterfaceattachment-deviceindex"></a>
  The network interface’s position in the attachment order. For example, the first attached network interface has a <code>DeviceIndex</code> of 0.<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> */
    deviceIndex: Value<string>;
    /** <code>NetworkInterfaceId</code>  <a name="cfn-ec2-networkinterfaceattachment-networkinterfaceid"></a>
  The ID of the ENI that you want to attach.<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> */
    networkInterfaceId: Value<string>;
    /** <code>DeleteOnTermination</code>  <a name="cfn-ec2-networkinterfaceattachment-deleteontermination"></a>
  Whether to delete the network interface when the instance terminates. By default, this value is set to <code>true</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-no-interrupt">No interruption</a> */
    deleteOnTermination?: Value<boolean>;
}
