CfnNetworkInterfaceProps

class aws_cdk.aws_ec2.CfnNetworkInterfaceProps(*, subnet_id, description=None, group_set=None, interface_type=None, ipv6_address_count=None, ipv6_addresses=None, private_ip_address=None, private_ip_addresses=None, secondary_private_ip_address_count=None, source_dest_check=None, tags=None)

Bases: object

__init__(*, subnet_id, description=None, group_set=None, interface_type=None, ipv6_address_count=None, ipv6_addresses=None, private_ip_address=None, private_ip_addresses=None, secondary_private_ip_address_count=None, source_dest_check=None, tags=None)

Properties for defining a AWS::EC2::NetworkInterface.

Parameters
  • subnet_id (str) – AWS::EC2::NetworkInterface.SubnetId.

  • description (Optional[str]) – AWS::EC2::NetworkInterface.Description.

  • group_set (Optional[List[str]]) – AWS::EC2::NetworkInterface.GroupSet.

  • interface_type (Optional[str]) – AWS::EC2::NetworkInterface.InterfaceType.

  • ipv6_address_count (Union[int, float, None]) – AWS::EC2::NetworkInterface.Ipv6AddressCount.

  • ipv6_addresses (Union[IResolvable, None, InstanceIpv6AddressProperty]) – AWS::EC2::NetworkInterface.Ipv6Addresses.

  • private_ip_address (Optional[str]) – AWS::EC2::NetworkInterface.PrivateIpAddress.

  • private_ip_addresses (Union[IResolvable, None, List[Union[IResolvable, PrivateIpAddressSpecificationProperty]]]) – AWS::EC2::NetworkInterface.PrivateIpAddresses.

  • secondary_private_ip_address_count (Union[int, float, None]) – AWS::EC2::NetworkInterface.SecondaryPrivateIpAddressCount.

  • source_dest_check (Union[bool, None, IResolvable]) – AWS::EC2::NetworkInterface.SourceDestCheck.

  • tags (Optional[List[CfnTag]]) – AWS::EC2::NetworkInterface.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html

Attributes

description

AWS::EC2::NetworkInterface.Description.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-awsec2networkinterface-description

Return type

Optional[str]

group_set

AWS::EC2::NetworkInterface.GroupSet.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-awsec2networkinterface-groupset

Return type

Optional[List[str]]

interface_type

AWS::EC2::NetworkInterface.InterfaceType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-ec2-networkinterface-interfacetype

Return type

Optional[str]

ipv6_address_count

AWS::EC2::NetworkInterface.Ipv6AddressCount.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-ec2-networkinterface-ipv6addresscount

Return type

Union[int, float, None]

ipv6_addresses

AWS::EC2::NetworkInterface.Ipv6Addresses.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-ec2-networkinterface-ipv6addresses

Return type

Union[IResolvable, None, InstanceIpv6AddressProperty]

private_ip_address

AWS::EC2::NetworkInterface.PrivateIpAddress.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-awsec2networkinterface-privateipaddress

Return type

Optional[str]

private_ip_addresses

AWS::EC2::NetworkInterface.PrivateIpAddresses.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-awsec2networkinterface-privateipaddresses

Return type

Union[IResolvable, None, List[Union[IResolvable, PrivateIpAddressSpecificationProperty]]]

secondary_private_ip_address_count

AWS::EC2::NetworkInterface.SecondaryPrivateIpAddressCount.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-awsec2networkinterface-secondaryprivateipcount

Return type

Union[int, float, None]

source_dest_check

AWS::EC2::NetworkInterface.SourceDestCheck.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-awsec2networkinterface-sourcedestcheck

Return type

Union[bool, None, IResolvable]

subnet_id

AWS::EC2::NetworkInterface.SubnetId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-awsec2networkinterface-subnetid

Return type

str

tags

AWS::EC2::NetworkInterface.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html#cfn-awsec2networkinterface-tags

Return type

Optional[List[CfnTag]]