CfnNetworkInsightsPathProps

class aws_cdk.aws_ec2.CfnNetworkInsightsPathProps(*, destination, destination_ip=None, destination_port=None, protocol, source, source_ip=None, tags=None)

Bases: object

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

Parameters
  • destination (str) – AWS::EC2::NetworkInsightsPath.Destination.

  • destination_ip (Optional[str]) – AWS::EC2::NetworkInsightsPath.DestinationIp.

  • destination_port (Union[int, float, None]) – AWS::EC2::NetworkInsightsPath.DestinationPort.

  • protocol (str) – AWS::EC2::NetworkInsightsPath.Protocol.

  • source (str) – AWS::EC2::NetworkInsightsPath.Source.

  • source_ip (Optional[str]) – AWS::EC2::NetworkInsightsPath.SourceIp.

  • tags (Optional[Sequence[CfnTag]]) – AWS::EC2::NetworkInsightsPath.Tags.

Link

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

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

cfn_network_insights_path_props = ec2.CfnNetworkInsightsPathProps(
    destination="destination",
    protocol="protocol",
    source="source",

    # the properties below are optional
    destination_ip="destinationIp",
    destination_port=123,
    source_ip="sourceIp",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

destination

AWS::EC2::NetworkInsightsPath.Destination.

Link

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

Return type

str

destination_ip

AWS::EC2::NetworkInsightsPath.DestinationIp.

Link

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

Return type

Optional[str]

destination_port

AWS::EC2::NetworkInsightsPath.DestinationPort.

Link

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

Return type

Union[int, float, None]

protocol

AWS::EC2::NetworkInsightsPath.Protocol.

Link

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

Return type

str

source

AWS::EC2::NetworkInsightsPath.Source.

Link

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

Return type

str

source_ip

AWS::EC2::NetworkInsightsPath.SourceIp.

Link

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

Return type

Optional[str]

tags

AWS::EC2::NetworkInsightsPath.Tags.

Link

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

Return type

Optional[List[CfnTag]]