interface CfnNetworkInterfacePermissionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnNetworkInterfacePermissionProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkInterfacePermissionProps |
![]() | software.amazon.awscdk.services.ec2.CfnNetworkInterfacePermissionProps |
![]() | aws_cdk.aws_ec2.CfnNetworkInterfacePermissionProps |
![]() | aws-cdk-lib » aws_ec2 » CfnNetworkInterfacePermissionProps |
Properties for defining a CfnNetworkInterfacePermission
.
Example
// 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
Name | Type | Description |
---|---|---|
aws | string | The AWS account ID. |
network | string | The ID of the network interface. |
permission | string | The type of permission to grant: INSTANCE-ATTACH or EIP-ASSOCIATE . |
awsAccountId
Type:
string
The AWS account ID.
networkInterfaceId
Type:
string
The ID of the network interface.
permission
Type:
string
The type of permission to grant: INSTANCE-ATTACH
or EIP-ASSOCIATE
.