Interface CfnNetworkInsightsAccessScope.IAccessScopePathRequestProperty
Describes a path.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnNetworkInsightsAccessScope.IAccessScopePathRequestProperty
Syntax (vb)
Public Interface CfnNetworkInsightsAccessScope.IAccessScopePathRequestProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var accessScopePathRequestProperty = new AccessScopePathRequestProperty {
Destination = new PathStatementRequestProperty {
PacketHeaderStatement = new PacketHeaderStatementRequestProperty {
DestinationAddresses = new [] { "destinationAddresses" },
DestinationPorts = new [] { "destinationPorts" },
DestinationPrefixLists = new [] { "destinationPrefixLists" },
Protocols = new [] { "protocols" },
SourceAddresses = new [] { "sourceAddresses" },
SourcePorts = new [] { "sourcePorts" },
SourcePrefixLists = new [] { "sourcePrefixLists" }
},
ResourceStatement = new ResourceStatementRequestProperty {
Resources = new [] { "resources" },
ResourceTypes = new [] { "resourceTypes" }
}
},
Source = new PathStatementRequestProperty {
PacketHeaderStatement = new PacketHeaderStatementRequestProperty {
DestinationAddresses = new [] { "destinationAddresses" },
DestinationPorts = new [] { "destinationPorts" },
DestinationPrefixLists = new [] { "destinationPrefixLists" },
Protocols = new [] { "protocols" },
SourceAddresses = new [] { "sourceAddresses" },
SourcePorts = new [] { "sourcePorts" },
SourcePrefixLists = new [] { "sourcePrefixLists" }
},
ResourceStatement = new ResourceStatementRequestProperty {
Resources = new [] { "resources" },
ResourceTypes = new [] { "resourceTypes" }
}
},
ThroughResources = new [] { new ThroughResourcesStatementRequestProperty {
ResourceStatement = new ResourceStatementRequestProperty {
Resources = new [] { "resources" },
ResourceTypes = new [] { "resourceTypes" }
}
} }
};
Synopsis
Properties
| Destination | The destination. |
| Source | The source. |
| ThroughResources | The through resources. |
Properties
Destination
The destination.
object? Destination { get; }
Property Value
Remarks
Type union: either IResolvable or CfnNetworkInsightsAccessScope.IPathStatementRequestProperty
Source
The source.
object? Source { get; }
Property Value
Remarks
ThroughResources
The through resources.
object? ThroughResources { get; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnNetworkInsightsAccessScope.IThroughResourcesStatementRequestProperty)[]