Interface ICfnNetworkInsightsAccessScopeProps
Properties for defining a CfnNetworkInsightsAccessScope
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnNetworkInsightsAccessScopeProps
Syntax (vb)
Public Interface ICfnNetworkInsightsAccessScopeProps
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 cfnNetworkInsightsAccessScopeProps = new CfnNetworkInsightsAccessScopeProps {
ExcludePaths = new [] { 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" }
}
} }
} },
MatchPaths = new [] { 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" }
}
} }
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
ExcludePaths | The paths to exclude. |
MatchPaths | The paths to match. |
Tags | The tags. |
Properties
ExcludePaths
The paths to exclude.
virtual object ExcludePaths { get; }
Property Value
System.Object
Remarks
MatchPaths
The paths to match.
virtual object MatchPaths { get; }
Property Value
System.Object