CfnNetworkInsightsPathMixinProps
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnNetworkInsightsPathMixinProps(*, destination=None, destination_ip=None, destination_port=None, filter_at_destination=None, filter_at_source=None, protocol=None, source=None, source_ip=None, tags=None)
Bases:
objectProperties for CfnNetworkInsightsPathPropsMixin.
- Parameters:
destination (
Optional[str]) – The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.destination_ip (
Optional[str]) – The IP address of the destination.destination_port (
Union[int,float,None]) – The destination port.filter_at_destination (
Union[IResolvable,PathFilterProperty,Dict[str,Any],None]) – Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can’t specify the parameter for the destination IP address.filter_at_source (
Union[IResolvable,PathFilterProperty,Dict[str,Any],None]) – Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can’t specify the parameters for the source IP address or the destination port.protocol (
Optional[str]) – The protocol.source (
Optional[str]) – The ID or ARN of the source. If the resource is in another account, you must specify an ARN.source_ip (
Optional[str]) – The IP address of the source.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags to add to the path.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins cfn_network_insights_path_mixin_props = ec2_mixins.CfnNetworkInsightsPathMixinProps( destination="destination", destination_ip="destinationIp", destination_port=123, filter_at_destination=ec2_mixins.CfnNetworkInsightsPathPropsMixin.PathFilterProperty( destination_address="destinationAddress", destination_port_range=ec2_mixins.CfnNetworkInsightsPathPropsMixin.FilterPortRangeProperty( from_port=123, to_port=123 ), source_address="sourceAddress", source_port_range=ec2_mixins.CfnNetworkInsightsPathPropsMixin.FilterPortRangeProperty( from_port=123, to_port=123 ) ), filter_at_source=ec2_mixins.CfnNetworkInsightsPathPropsMixin.PathFilterProperty( destination_address="destinationAddress", destination_port_range=ec2_mixins.CfnNetworkInsightsPathPropsMixin.FilterPortRangeProperty( from_port=123, to_port=123 ), source_address="sourceAddress", source_port_range=ec2_mixins.CfnNetworkInsightsPathPropsMixin.FilterPortRangeProperty( from_port=123, to_port=123 ) ), protocol="protocol", source="source", source_ip="sourceIp", tags=[CfnTag( key="key", value="value" )] )
Attributes
- destination
The ID or ARN of the destination.
If the resource is in another account, you must specify an ARN.
- destination_ip
The IP address of the destination.
- destination_port
The destination port.
- filter_at_destination
Scopes the analysis to network paths that match specific filters at the destination.
If you specify this parameter, you can’t specify the parameter for the destination IP address.
- filter_at_source
Scopes the analysis to network paths that match specific filters at the source.
If you specify this parameter, you can’t specify the parameters for the source IP address or the destination port.
- protocol
The protocol.
- source
The ID or ARN of the source.
If the resource is in another account, you must specify an ARN.
- source_ip
The IP address of the source.
- tags
The tags to add to the path.