public static interface CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty
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 java.lang.Object |
getDestination()
The destination.
|
default java.lang.Object |
getSource()
The source.
|
default java.lang.Object |
getThroughResources()
The through resources.
|