import { Value } from '../../cloudformation/Value';
import { PrivateIpAddressSpecificationProps } from './networkinterface/PrivateIpAddressSpecificationProps';
import { Ipv4PrefixSpecificationProps } from './networkinterface/Ipv4PrefixSpecificationProps';
import { InstanceIpv6AddressProps } from './networkinterface/InstanceIpv6AddressProps';
import { Ipv6PrefixSpecificationProps } from './networkinterface/Ipv6PrefixSpecificationProps';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type NetworkInterfaceAttributes = {
    SecondaryPrivateIpAddresses: Attribute<string[]>;
    PrimaryPrivateIpAddress: Attribute<string>;
    Id: Attribute<string>;
};
export type NetworkInterface = AwsResource<'AWS::EC2::NetworkInterface', NetworkInterfaceProperties, NetworkInterfaceAttributes>;
/**
  Describes a network interface in an Amazon EC2 instance for AWS CloudFormation.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html">the AWS Docs</a>
*/
export declare function networkInterface(networkInterfaceProps: NetworkInterfaceProperties): NetworkInterface;
/**
  Describes a network interface in an Amazon EC2 instance for AWS CloudFormation.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html">the AWS Docs</a>
*/
export interface NetworkInterfaceProperties {
    /** <code>Description</code>  <a name="cfn-ec2-networkinterface-description"></a>
  A description for the network interface.<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> */
    description?: Value<string>;
    /** <code>PrivateIpAddress</code>  <a name="cfn-ec2-networkinterface-privateipaddress"></a>
  Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the <code>PrivateIpAddresses</code> property.<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>PrivateIpAddresses</code>  <a name="cfn-ec2-networkinterface-privateipaddresses"></a>
  Assigns private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the <code>Primary</code> property to <code>true</code> in the <code>PrivateIpAddressSpecification</code> property. If you want EC2 to automatically assign private IP addresses, use the <code>SecondaryPrivateIpAddressCount</code> property and do not specify this property.<br />
  When creating a network interface, you can’t specify private IPv4 addresses if you’ve specified one of the following: a count of private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    privateIpAddresses?: PrivateIpAddressSpecificationProps[];
    /** <code>SecondaryPrivateIpAddressCount</code>  <a name="cfn-ec2-networkinterface-secondaryprivateipaddresscount"></a>
  The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet’s IPv4 CIDR range. You can’t specify this option and specify more than one private IP address using <code>privateIpAddresses</code>.<br />
  When creating a Network Interface, you can’t specify a count of private IPv4 addresses if you’ve specified one of the following: specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.<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> */
    secondaryPrivateIpAddressCount?: Value<number>;
    /** <code>Ipv6PrefixCount</code>  <a name="cfn-ec2-networkinterface-ipv6prefixcount"></a>
  The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the <code>Ipv6Prefix</code> option.<br />
  When creating a network interface, you can’t specify a count of IPv6 prefixes if you’ve specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.<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> */
    ipv6PrefixCount?: Value<number>;
    /** <code>Ipv4Prefixes</code>  <a name="cfn-ec2-networkinterface-ipv4prefixes"></a>
  The IPv4 delegated prefixes that are assigned to the network interface.<br />
  When creating a network interface, you can’t specify IPv4 prefixes if you’ve specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.<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> */
    ipv4Prefixes?: Ipv4PrefixSpecificationProps[];
    /** <code>Ipv4PrefixCount</code>  <a name="cfn-ec2-networkinterface-ipv4prefixcount"></a>
  The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the <code>Ipv4Prefix</code> option.<br />
  When creating a network interface, you can’t specify a count of IPv4 prefixes if you’ve specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.<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> */
    ipv4PrefixCount?: Value<number>;
    /** <code>GroupSet</code>  <a name="cfn-ec2-networkinterface-groupset"></a>
  The security group IDs associated with this network interface.<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> */
    groupSet?: Value<Value<string>[]>;
    /** <code>Ipv6Addresses</code>  <a name="cfn-ec2-networkinterface-ipv6addresses"></a>
  One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface. If you’re specifying a number of IPv6 addresses, use the <code>Ipv6AddressCount</code> property and don’t specify this property.<br />
  When creating a network interface, you can’t specify IPv6 addresses if you’ve specified one of the following: a count of IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.<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> */
    ipv6Addresses?: InstanceIpv6AddressProps[];
    /** <code>Ipv6Prefixes</code>  <a name="cfn-ec2-networkinterface-ipv6prefixes"></a>
  The IPv6 delegated prefixes that are assigned to the network interface.<br />
  When creating a network interface, you can’t specify IPv6 prefixes if you’ve specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.<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> */
    ipv6Prefixes?: Ipv6PrefixSpecificationProps[];
    /** <code>SubnetId</code>  <a name="cfn-ec2-networkinterface-subnetid"></a>
  The ID of the subnet to associate with the network interface.<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> */
    subnetId: Value<string>;
    /** <code>SourceDestCheck</code>  <a name="cfn-ec2-networkinterface-sourcedestcheck"></a>
  Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is <code>true</code>, source/destination checks are enabled; otherwise, they are disabled. The default value is <code>true</code>. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.<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> */
    sourceDestCheck?: Value<boolean>;
    /** <code>InterfaceType</code>  <a name="cfn-ec2-networkinterface-interfacetype"></a>
  The type of network interface. The default is <code>interface</code>. The supported values are <code>efa</code> and <code>trunk</code>.<br />
  
  Required: No<br />
  
  Allowed values: <code>branch | efa | trunk</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    interfaceType?: Value<'branch' | 'efa' | 'trunk'>;
    /** <code>Ipv6AddressCount</code>  <a name="cfn-ec2-networkinterface-ipv6addresscount"></a>
  The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the <code>Ipv6Addresses</code> property and don’t specify this property.<br />
  When creating a network interface, you can’t specify a count of IPv6 addresses if you’ve specified one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.<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> */
    ipv6AddressCount?: Value<number>;
    /** <code>Tags</code>  <a name="cfn-ec2-networkinterface-tags"></a>
  An arbitrary set of tags (key-value pairs) for this network interface.<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> */
    tags?: Tag[];
}
