Skip to content
v2.273.0

CfnNetworkInterfacePermissionProps Struct ​

Properties for defining a CfnNetworkInterfacePermission.

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 ​

awsAccountIdstringaws_account_idstrawsAccountIdStringAwsAccountIdstringAwsAccountId*stringrequired#
The AWS account ID.
networkInterfaceIdstringnetwork_interface_idstrnetworkInterfaceIdStringNetworkInterfaceIdstringNetworkInterfaceId*stringrequired#
The ID of the network interface.
permissionstringpermissionstrpermissionStringPermissionstringPermission*stringrequired#
The type of permission to grant: `INSTANCE-ATTACH` or `EIP-ASSOCIATE` .

Used as props by ​