@Stability(value=Stable)
public static interface CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty
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.*;
AccessScopePathRequestProperty accessScopePathRequestProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder
|
static class |
CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Jsii$Proxy
An implementation for
CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder |
builder() |
default Object |
getDestination()
The destination.
|
default Object |
getSource()
The source.
|
default Object |
getThroughResources()
The through resources.
|
@Stability(value=Stable) @Nullable default Object getDestination()
@Stability(value=Stable) @Nullable default Object getSource()
@Stability(value=Stable) @Nullable default Object getThroughResources()
@Stability(value=Stable) static CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder builder()
Copyright © 2022. All rights reserved.