Interface CfnNetworkInsightsAccessScopeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInsightsAccessScopeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:17.881Z")
@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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnNetworkInsightsAccessScopeProps
static final class
An implementation forCfnNetworkInsightsAccessScopeProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExcludePaths
The paths to exclude.- See Also:
-
getMatchPaths
The paths to match.- See Also:
-
getTags
The tags.- See Also:
-
builder
-