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

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, List[Union[IResolvable, InstanceIpv6AddressProperty]], None]) – AWS::EC2::NetworkInterface.Ipv6Addresses.

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

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

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

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

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

See

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

Attributes

description

AWS::EC2::NetworkInterface.Description.

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

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

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

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

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

Return type

Union[IResolvable, List[Union[IResolvable, InstanceIpv6AddressProperty]], None]

private_ip_address

AWS::EC2::NetworkInterface.PrivateIpAddress.

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

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

Return type

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

secondary_private_ip_address_count

AWS::EC2::NetworkInterface.SecondaryPrivateIpAddressCount.

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

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

Return type

Union[bool, IResolvable, None]

subnet_id

AWS::EC2::NetworkInterface.SubnetId.

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

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

Return type

Optional[List[CfnTag]]