interface CfnNetworkInterfacePermissionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnNetworkInterfacePermissionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnNetworkInterfacePermissionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnNetworkInterfacePermissionMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnNetworkInterfacePermissionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnNetworkInterfacePermissionMixinProps: ec2_mixins.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