import { Value } from '../../cloudformation/Value';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Specifies a permission for an Amazon EC2 network interface. For example, you can grant an AWS authorized partner account permission to attach the specified network interface to an instance in their account.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html">the AWS Docs</a>
*/
export type NetworkInterfacePermission = AwsResource<'AWS::EC2::NetworkInterfacePermission', NetworkInterfacePermissionProperties>;
export declare function networkInterfacePermission(networkInterfacePermissionProps: NetworkInterfacePermissionProperties): NetworkInterfacePermission;
/**
  Specifies a permission for an Amazon EC2 network interface. For example, you can grant an AWS authorized partner account permission to attach the specified network interface to an instance in their account.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html">the AWS Docs</a>
*/
export interface NetworkInterfacePermissionProperties {
    /** <code>AwsAccountId</code>  <a name="cfn-ec2-networkinterfacepermission-awsaccountid"></a>
  The AWS account ID.<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> */
    awsAccountId: Value<string>;
    /** <code>NetworkInterfaceId</code>  <a name="cfn-ec2-networkinterfacepermission-networkinterfaceid"></a>
  The ID of 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> */
    networkInterfaceId: Value<string>;
    /** <code>Permission</code>  <a name="cfn-ec2-networkinterfacepermission-permission"></a>
  The type of permission to grant: <code>INSTANCE-ATTACH</code> or <code>EIP-ASSOCIATE</code>.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>EIP-ASSOCIATE | INSTANCE-ATTACH</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> */
    permission: Value<'EIP-ASSOCIATE' | 'INSTANCE-ATTACH'>;
}
