import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type EIPAssociationAttributes = {
    Id: Attribute<string>;
};
export type EIPAssociation = AwsResource<'AWS::EC2::EIPAssociation', EIPAssociationProperties, EIPAssociationAttributes>;
/**
  Associates an Elastic IP address with an instance or a network interface. Before you can use an Elastic IP address, you must allocate it to your account. For more information about working with Elastic IP addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#vpc-eip-overview"> Elastic IP address concepts and rules</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eipassociation.html">the AWS Docs</a>
*/
export declare function eIPAssociation(eIPAssociationProps?: EIPAssociationProperties): EIPAssociation;
/**
  Associates an Elastic IP address with an instance or a network interface. Before you can use an Elastic IP address, you must allocate it to your account. For more information about working with Elastic IP addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#vpc-eip-overview"> Elastic IP address concepts and rules</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eipassociation.html">the AWS Docs</a>
*/
export interface EIPAssociationProperties {
    /** <code>PrivateIpAddress</code>  <a name="cfn-ec2-eipassociation-privateipaddress"></a>
  The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.<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> */
    privateIpAddress?: Value<string>;
    /** <code>InstanceId</code>  <a name="cfn-ec2-eipassociation-instanceid"></a>
  The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.<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> */
    instanceId?: Value<string>;
    /** <code>AllocationId</code>  <a name="cfn-ec2-eipassociation-allocationid"></a>
  The allocation ID. This is required.<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> */
    allocationId?: Value<string>;
    /** <code>NetworkInterfaceId</code>  <a name="cfn-ec2-eipassociation-networkinterfaceid"></a>
  The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.<br />
  You can specify either the instance ID or the network interface ID, but not both.<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> */
    networkInterfaceId?: Value<string>;
}
