CfnNetworkInterfacePermissionMixinProps

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnNetworkInterfacePermissionMixinProps(*, aws_account_id=None, network_interface_id=None, permission=None)

Bases: object

Properties 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-ATTACH or EIP-ASSOCIATE .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html#cfn-ec2-networkinterfacepermission-awsaccountid

network_interface_id

The ID of the network interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html#cfn-ec2-networkinterfacepermission-networkinterfaceid

permission

INSTANCE-ATTACH or EIP-ASSOCIATE .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html#cfn-ec2-networkinterfacepermission-permission

Type:

The type of permission to grant