Interface CfnNetworkInsightsAccessScopeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInsightsAccessScopeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.812Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNetworkInsightsAccessScopePropsstatic final classAn implementation forCfnNetworkInsightsAccessScopeProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExcludePaths
The paths to exclude. -
getMatchPaths
The paths to match. -
getTags
The tags. -
builder
-