CfnNetworkInterfacePermissionMixinProps
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnNetworkInterfacePermissionMixinProps(*, aws_account_id=None, network_interface_id=None, permission=None)
Bases:
objectProperties for CfnNetworkInterfacePermissionPropsMixin.
- Parameters:
aws_account_id (
Optional[str]) – The AWS account ID.network_interface_id (
Optional[str]) – The ID of the network interface.permission (
Optional[str]) – The type of permission to grant:INSTANCE-ATTACHorEIP-ASSOCIATE.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins cfn_network_interface_permission_mixin_props = ec2_mixins.CfnNetworkInterfacePermissionMixinProps( aws_account_id="awsAccountId", network_interface_id="networkInterfaceId", permission="permission" )
Attributes
- aws_account_id
The AWS account ID.
- network_interface_id
The ID of the network interface.
- permission
INSTANCE-ATTACHorEIP-ASSOCIATE.- See:
- Type:
The type of permission to grant