Interface CfnNetworkInsightsAccessScopeProps

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

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:00.623Z") @Stability(Stable) public interface CfnNetworkInsightsAccessScopeProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnNetworkInsightsAccessScope.

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.*;
 CfnNetworkInsightsAccessScopeProps cfnNetworkInsightsAccessScopeProps = CfnNetworkInsightsAccessScopeProps.builder()
         .excludePaths(List.of(AccessScopePathRequestProperty.builder()
                 .destination(PathStatementRequestProperty.builder()
                         .packetHeaderStatement(PacketHeaderStatementRequestProperty.builder()
                                 .destinationAddresses(List.of("destinationAddresses"))
                                 .destinationPorts(List.of("destinationPorts"))
                                 .destinationPrefixLists(List.of("destinationPrefixLists"))
                                 .protocols(List.of("protocols"))
                                 .sourceAddresses(List.of("sourceAddresses"))
                                 .sourcePorts(List.of("sourcePorts"))
                                 .sourcePrefixLists(List.of("sourcePrefixLists"))
                                 .build())
                         .resourceStatement(ResourceStatementRequestProperty.builder()
                                 .resources(List.of("resources"))
                                 .resourceTypes(List.of("resourceTypes"))
                                 .build())
                         .build())
                 .source(PathStatementRequestProperty.builder()
                         .packetHeaderStatement(PacketHeaderStatementRequestProperty.builder()
                                 .destinationAddresses(List.of("destinationAddresses"))
                                 .destinationPorts(List.of("destinationPorts"))
                                 .destinationPrefixLists(List.of("destinationPrefixLists"))
                                 .protocols(List.of("protocols"))
                                 .sourceAddresses(List.of("sourceAddresses"))
                                 .sourcePorts(List.of("sourcePorts"))
                                 .sourcePrefixLists(List.of("sourcePrefixLists"))
                                 .build())
                         .resourceStatement(ResourceStatementRequestProperty.builder()
                                 .resources(List.of("resources"))
                                 .resourceTypes(List.of("resourceTypes"))
                                 .build())
                         .build())
                 .throughResources(List.of(ThroughResourcesStatementRequestProperty.builder()
                         .resourceStatement(ResourceStatementRequestProperty.builder()
                                 .resources(List.of("resources"))
                                 .resourceTypes(List.of("resourceTypes"))
                                 .build())
                         .build()))
                 .build()))
         .matchPaths(List.of(AccessScopePathRequestProperty.builder()
                 .destination(PathStatementRequestProperty.builder()
                         .packetHeaderStatement(PacketHeaderStatementRequestProperty.builder()
                                 .destinationAddresses(List.of("destinationAddresses"))
                                 .destinationPorts(List.of("destinationPorts"))
                                 .destinationPrefixLists(List.of("destinationPrefixLists"))
                                 .protocols(List.of("protocols"))
                                 .sourceAddresses(List.of("sourceAddresses"))
                                 .sourcePorts(List.of("sourcePorts"))
                                 .sourcePrefixLists(List.of("sourcePrefixLists"))
                                 .build())
                         .resourceStatement(ResourceStatementRequestProperty.builder()
                                 .resources(List.of("resources"))
                                 .resourceTypes(List.of("resourceTypes"))
                                 .build())
                         .build())
                 .source(PathStatementRequestProperty.builder()
                         .packetHeaderStatement(PacketHeaderStatementRequestProperty.builder()
                                 .destinationAddresses(List.of("destinationAddresses"))
                                 .destinationPorts(List.of("destinationPorts"))
                                 .destinationPrefixLists(List.of("destinationPrefixLists"))
                                 .protocols(List.of("protocols"))
                                 .sourceAddresses(List.of("sourceAddresses"))
                                 .sourcePorts(List.of("sourcePorts"))
                                 .sourcePrefixLists(List.of("sourcePrefixLists"))
                                 .build())
                         .resourceStatement(ResourceStatementRequestProperty.builder()
                                 .resources(List.of("resources"))
                                 .resourceTypes(List.of("resourceTypes"))
                                 .build())
                         .build())
                 .throughResources(List.of(ThroughResourcesStatementRequestProperty.builder()
                         .resourceStatement(ResourceStatementRequestProperty.builder()
                                 .resources(List.of("resources"))
                                 .resourceTypes(List.of("resourceTypes"))
                                 .build())
                         .build()))
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: