CfnNetworkInsightsAccessScopeProps
- class aws_cdk.aws_ec2.CfnNetworkInsightsAccessScopeProps(*, exclude_paths=None, match_paths=None, tags=None)
Bases:
object
Properties for defining a
CfnNetworkInsightsAccessScope
.- Parameters:
exclude_paths (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,AccessScopePathRequestProperty
,Dict
[str
,Any
]]],None
]) – The paths to exclude.match_paths (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,AccessScopePathRequestProperty
,Dict
[str
,Any
]]],None
]) – The paths to match.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 cfn_network_insights_access_scope_props = ec2.CfnNetworkInsightsAccessScopeProps( exclude_paths=[ec2.CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty( destination=ec2.CfnNetworkInsightsAccessScope.PathStatementRequestProperty( packet_header_statement=ec2.CfnNetworkInsightsAccessScope.PacketHeaderStatementRequestProperty( destination_addresses=["destinationAddresses"], destination_ports=["destinationPorts"], destination_prefix_lists=["destinationPrefixLists"], protocols=["protocols"], source_addresses=["sourceAddresses"], source_ports=["sourcePorts"], source_prefix_lists=["sourcePrefixLists"] ), resource_statement=ec2.CfnNetworkInsightsAccessScope.ResourceStatementRequestProperty( resources=["resources"], resource_types=["resourceTypes"] ) ), source=ec2.CfnNetworkInsightsAccessScope.PathStatementRequestProperty( packet_header_statement=ec2.CfnNetworkInsightsAccessScope.PacketHeaderStatementRequestProperty( destination_addresses=["destinationAddresses"], destination_ports=["destinationPorts"], destination_prefix_lists=["destinationPrefixLists"], protocols=["protocols"], source_addresses=["sourceAddresses"], source_ports=["sourcePorts"], source_prefix_lists=["sourcePrefixLists"] ), resource_statement=ec2.CfnNetworkInsightsAccessScope.ResourceStatementRequestProperty( resources=["resources"], resource_types=["resourceTypes"] ) ), through_resources=[ec2.CfnNetworkInsightsAccessScope.ThroughResourcesStatementRequestProperty( resource_statement=ec2.CfnNetworkInsightsAccessScope.ResourceStatementRequestProperty( resources=["resources"], resource_types=["resourceTypes"] ) )] )], match_paths=[ec2.CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty( destination=ec2.CfnNetworkInsightsAccessScope.PathStatementRequestProperty( packet_header_statement=ec2.CfnNetworkInsightsAccessScope.PacketHeaderStatementRequestProperty( destination_addresses=["destinationAddresses"], destination_ports=["destinationPorts"], destination_prefix_lists=["destinationPrefixLists"], protocols=["protocols"], source_addresses=["sourceAddresses"], source_ports=["sourcePorts"], source_prefix_lists=["sourcePrefixLists"] ), resource_statement=ec2.CfnNetworkInsightsAccessScope.ResourceStatementRequestProperty( resources=["resources"], resource_types=["resourceTypes"] ) ), source=ec2.CfnNetworkInsightsAccessScope.PathStatementRequestProperty( packet_header_statement=ec2.CfnNetworkInsightsAccessScope.PacketHeaderStatementRequestProperty( destination_addresses=["destinationAddresses"], destination_ports=["destinationPorts"], destination_prefix_lists=["destinationPrefixLists"], protocols=["protocols"], source_addresses=["sourceAddresses"], source_ports=["sourcePorts"], source_prefix_lists=["sourcePrefixLists"] ), resource_statement=ec2.CfnNetworkInsightsAccessScope.ResourceStatementRequestProperty( resources=["resources"], resource_types=["resourceTypes"] ) ), through_resources=[ec2.CfnNetworkInsightsAccessScope.ThroughResourcesStatementRequestProperty( resource_statement=ec2.CfnNetworkInsightsAccessScope.ResourceStatementRequestProperty( resources=["resources"], resource_types=["resourceTypes"] ) )] )], tags=[CfnTag( key="key", value="value" )] )
Attributes
- exclude_paths
The paths to exclude.
- match_paths
The paths to match.