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
The AWS account ID.
networkInterfaceIdstringnetwork_interface_idstrnetworkInterfaceIdStringNetworkInterfaceIdstringNetworkInterfaceId*stringrequired#The ID of the network interface.
The type of permission to grant: `INSTANCE-ATTACH` or `EIP-ASSOCIATE` .