CfnNetworkInsightsAccessScopeProps

class aws_cdk.aws_ec2.CfnNetworkInsightsAccessScopeProps(*, exclude_paths=None, match_paths=None, tags=None)

Bases: object

Properties for defining a CfnNetworkInsightsAccessScope.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscope.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscope.html#cfn-ec2-networkinsightsaccessscope-excludepaths

match_paths

The paths to match.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscope.html#cfn-ec2-networkinsightsaccessscope-matchpaths

tags

The tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscope.html#cfn-ec2-networkinsightsaccessscope-tags