interface CfnNetworkInterfacePermissionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnNetworkInterfacePermissionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnNetworkInterfacePermissionMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInterfacePermissionMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnNetworkInterfacePermissionMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnNetworkInterfacePermissionMixinProps |
Properties for CfnNetworkInterfacePermissionPropsMixin.
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/cfn-property-mixins';
const cfnNetworkInterfacePermissionMixinProps: ec2.CfnNetworkInterfacePermissionMixinProps = {
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
(optional)
The AWS account ID.
networkInterfaceId?
Type:
string
(optional)
The ID of the network interface.
permission?
Type:
string
(optional)
The type of permission to grant: INSTANCE-ATTACH or EIP-ASSOCIATE .

.NET
Go
Java
Python
TypeScript