# CfnNetworkInterfacePermissionProps

Properties for defining a `CfnNetworkInterfacePermission`.

Extends: CfnNetworkInterfacePermissionProps
Used as props by: CfnNetworkInterfacePermission

- Source: Generated code

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnNetworkInterfacePermissionProps: ec2.CfnNetworkInterfacePermissionProps = {
  awsAccountId: 'awsAccountId',
  networkInterfaceId: 'networkInterfaceId',
  permission: 'permission',
};
```

## Properties

- `awsAccountId`: string (required) — The AWS account ID.

- `networkInterfaceId`: string (required) — The ID of the network interface.

- `permission`: string (required) — The type of permission to grant: `INSTANCE-ATTACH` or `EIP-ASSOCIATE` .
