interface CfnNetworkInterfacePermissionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnNetworkInterfacePermissionProps |
![]() | software.amazon.awscdk.services.ec2.CfnNetworkInterfacePermissionProps |
![]() | aws_cdk.aws_ec2.CfnNetworkInterfacePermissionProps |
![]() | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
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
.