Interface CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Jsii$Proxy
- Enclosing class:
CfnNetworkInsightsAccessScope
@Stability(Stable)
public static interface CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty
extends software.amazon.jsii.JsiiSerializable
Describes a path.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnNetworkInsightsAccessScope.AccessScopePathRequestProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestination
The destination.Returns union: either
IResolvableorCfnNetworkInsightsAccessScope.PathStatementRequestProperty- See Also:
-
getSource
The source.Returns union: either
IResolvableorCfnNetworkInsightsAccessScope.PathStatementRequestProperty- See Also:
-
getThroughResources
The through resources.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnNetworkInsightsAccessScope.ThroughResourcesStatementRequestProperty>- See Also:
-
builder
@Stability(Stable) static CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty.Builder builder()
-