Interface CfnNetworkInsightsPathProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnNetworkInsightsPathProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.869Z") @Stability(Stable) public interface CfnNetworkInsightsPathProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnNetworkInsightsPath.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 CfnNetworkInsightsPathProps cfnNetworkInsightsPathProps = CfnNetworkInsightsPathProps.builder()
         .protocol("protocol")
         .source("source")
         // the properties below are optional
         .destination("destination")
         .destinationIp("destinationIp")
         .destinationPort(123)
         .filterAtDestination(PathFilterProperty.builder()
                 .destinationAddress("destinationAddress")
                 .destinationPortRange(FilterPortRangeProperty.builder()
                         .fromPort(123)
                         .toPort(123)
                         .build())
                 .sourceAddress("sourceAddress")
                 .sourcePortRange(FilterPortRangeProperty.builder()
                         .fromPort(123)
                         .toPort(123)
                         .build())
                 .build())
         .filterAtSource(PathFilterProperty.builder()
                 .destinationAddress("destinationAddress")
                 .destinationPortRange(FilterPortRangeProperty.builder()
                         .fromPort(123)
                         .toPort(123)
                         .build())
                 .sourceAddress("sourceAddress")
                 .sourcePortRange(FilterPortRangeProperty.builder()
                         .fromPort(123)
                         .toPort(123)
                         .build())
                 .build())
         .sourceIp("sourceIp")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getProtocol

      @Stability(Stable) @NotNull String getProtocol()
      The protocol.
    • getSource

      @Stability(Stable) @NotNull String getSource()
      The ID or ARN of the source.

      If the resource is in another account, you must specify an ARN.

    • getDestination

      @Stability(Stable) @Nullable default String getDestination()
      The ID or ARN of the destination.

      If the resource is in another account, you must specify an ARN.

    • getDestinationIp

      @Stability(Stable) @Nullable default String getDestinationIp()
      The IP address of the destination.
    • getDestinationPort

      @Stability(Stable) @Nullable default Number getDestinationPort()
      The destination port.
    • getFilterAtDestination

      @Stability(Stable) @Nullable default Object getFilterAtDestination()
      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.

    • getFilterAtSource

      @Stability(Stable) @Nullable default Object getFilterAtSource()
      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.

    • getSourceIp

      @Stability(Stable) @Nullable default String getSourceIp()
      The IP address of the source.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags to add to the path.
    • builder

      @Stability(Stable) static CfnNetworkInsightsPathProps.Builder builder()
      Returns:
      a CfnNetworkInsightsPathProps.Builder of CfnNetworkInsightsPathProps