@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.259Z") @Stability(value=Stable) public interface CfnNetworkInsightsAccessScopeProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNetworkInsightsAccessScopeProps.Builder
A builder for
CfnNetworkInsightsAccessScopeProps |
static class |
CfnNetworkInsightsAccessScopeProps.Jsii$Proxy
An implementation for
CfnNetworkInsightsAccessScopeProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnNetworkInsightsAccessScopeProps.Builder |
builder() |
default Object |
getExcludePaths()
The paths to exclude.
|
default Object |
getMatchPaths()
The paths to match.
|
default List<CfnTag> |
getTags()
The tags.
|
@Stability(value=Stable) @Nullable default Object getExcludePaths()
@Stability(value=Stable) @Nullable default Object getMatchPaths()
@Stability(value=Stable) static CfnNetworkInsightsAccessScopeProps.Builder builder()
Copyright © 2022. All rights reserved.