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
- 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.
- destination_ip
The IP address of the AWS resource that is the destination of the path.
- destination_port
The destination port.
- protocol
The protocol.
- source
The AWS resource that is the source of the path.
- source_ip
The IP address of the AWS resource that is the source of the path.
- tags
The tags to add to the path.