CfnNetworkInsightsPathProps

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

Bases: object

Properties for defining a CfnNetworkInsightsPath.

Parameters
  • destination (str) – The AWS resource that is the destination of the path.

  • protocol (str) – The protocol.

  • source (str) – The AWS resource that is the source of the path.

  • destination_ip (Optional[str]) – The IP address of the AWS resource that is the destination of the path.

  • destination_port (Union[int, float, None]) – The destination port.

  • source_ip (Optional[str]) – The IP address of the AWS resource that is the source of the path.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags to add to the path.

Link

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

ExampleMetadata

fixture=_generated

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

The AWS resource that is the destination of the path.

Link

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

Return type

str

destination_ip

The IP address of the AWS resource that is the destination of the path.

Link

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

Return type

Optional[str]

destination_port

The destination port.

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

The protocol.

Link

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

Return type

str

source

The AWS resource that is the source of the path.

Link

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

Return type

str

source_ip

The IP address of the AWS resource that is the source of the path.

Link

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

Return type

Optional[str]

tags

The tags to add to the path.

Link

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

Return type

Optional[List[CfnTag]]