1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. ec2
  6. NetworkInsightsAccessScope
Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi

    Provides a Network Insights Access Scope resource. Part of the “Network Access Analyzer” service in the AWS VPC console.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.ec2.NetworkInsightsAccessScope("example", {matchPaths: [{
        source: {
            resourceStatement: {
                resourceTypes: ["AWS::EC2::NetworkInterface"],
            },
        },
        destination: {
            resourceStatement: {
                resourceTypes: ["AWS::EC2::InternetGateway"],
            },
        },
    }]});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ec2.NetworkInsightsAccessScope("example", match_paths=[{
        "source": {
            "resource_statement": {
                "resource_types": ["AWS::EC2::NetworkInterface"],
            },
        },
        "destination": {
            "resource_statement": {
                "resource_types": ["AWS::EC2::InternetGateway"],
            },
        },
    }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ec2.NewNetworkInsightsAccessScope(ctx, "example", &ec2.NetworkInsightsAccessScopeArgs{
    			MatchPaths: ec2.NetworkInsightsAccessScopeMatchPathArray{
    				&ec2.NetworkInsightsAccessScopeMatchPathArgs{
    					Source: &ec2.NetworkInsightsAccessScopeMatchPathSourceArgs{
    						ResourceStatement: &ec2.NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs{
    							ResourceTypes: pulumi.StringArray{
    								pulumi.String("AWS::EC2::NetworkInterface"),
    							},
    						},
    					},
    					Destination: &ec2.NetworkInsightsAccessScopeMatchPathDestinationArgs{
    						ResourceStatement: &ec2.NetworkInsightsAccessScopeMatchPathDestinationResourceStatementArgs{
    							ResourceTypes: pulumi.StringArray{
    								pulumi.String("AWS::EC2::InternetGateway"),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Ec2.NetworkInsightsAccessScope("example", new()
        {
            MatchPaths = new[]
            {
                new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathArgs
                {
                    Source = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathSourceArgs
                    {
                        ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs
                        {
                            ResourceTypes = new[]
                            {
                                "AWS::EC2::NetworkInterface",
                            },
                        },
                    },
                    Destination = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathDestinationArgs
                    {
                        ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathDestinationResourceStatementArgs
                        {
                            ResourceTypes = new[]
                            {
                                "AWS::EC2::InternetGateway",
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ec2.NetworkInsightsAccessScope;
    import com.pulumi.aws.ec2.NetworkInsightsAccessScopeArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeMatchPathArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeMatchPathSourceArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeMatchPathDestinationArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeMatchPathDestinationResourceStatementArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new NetworkInsightsAccessScope("example", NetworkInsightsAccessScopeArgs.builder()
                .matchPaths(NetworkInsightsAccessScopeMatchPathArgs.builder()
                    .source(NetworkInsightsAccessScopeMatchPathSourceArgs.builder()
                        .resourceStatement(NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs.builder()
                            .resourceTypes("AWS::EC2::NetworkInterface")
                            .build())
                        .build())
                    .destination(NetworkInsightsAccessScopeMatchPathDestinationArgs.builder()
                        .resourceStatement(NetworkInsightsAccessScopeMatchPathDestinationResourceStatementArgs.builder()
                            .resourceTypes("AWS::EC2::InternetGateway")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:ec2:NetworkInsightsAccessScope
        properties:
          matchPaths:
            - source:
                resourceStatement:
                  resourceTypes:
                    - AWS::EC2::NetworkInterface
              destination:
                resourceStatement:
                  resourceTypes:
                    - AWS::EC2::InternetGateway
    

    With Exclude Paths

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.ec2.NetworkInsightsAccessScope("example", {
        matchPaths: [{
            source: {
                resourceStatement: {
                    resourceTypes: ["AWS::EC2::NetworkInterface"],
                },
            },
        }],
        excludePaths: [{
            source: {
                resourceStatement: {
                    resourceTypes: ["AWS::EC2::InternetGateway"],
                },
            },
            throughResources: [{
                resourceStatement: {
                    resourceTypes: ["AWS::EC2::NatGateway"],
                },
            }],
        }],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ec2.NetworkInsightsAccessScope("example",
        match_paths=[{
            "source": {
                "resource_statement": {
                    "resource_types": ["AWS::EC2::NetworkInterface"],
                },
            },
        }],
        exclude_paths=[{
            "source": {
                "resource_statement": {
                    "resource_types": ["AWS::EC2::InternetGateway"],
                },
            },
            "through_resources": [{
                "resource_statement": {
                    "resource_types": ["AWS::EC2::NatGateway"],
                },
            }],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ec2.NewNetworkInsightsAccessScope(ctx, "example", &ec2.NetworkInsightsAccessScopeArgs{
    			MatchPaths: ec2.NetworkInsightsAccessScopeMatchPathArray{
    				&ec2.NetworkInsightsAccessScopeMatchPathArgs{
    					Source: &ec2.NetworkInsightsAccessScopeMatchPathSourceArgs{
    						ResourceStatement: &ec2.NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs{
    							ResourceTypes: pulumi.StringArray{
    								pulumi.String("AWS::EC2::NetworkInterface"),
    							},
    						},
    					},
    				},
    			},
    			ExcludePaths: ec2.NetworkInsightsAccessScopeExcludePathArray{
    				&ec2.NetworkInsightsAccessScopeExcludePathArgs{
    					Source: &ec2.NetworkInsightsAccessScopeExcludePathSourceArgs{
    						ResourceStatement: &ec2.NetworkInsightsAccessScopeExcludePathSourceResourceStatementArgs{
    							ResourceTypes: pulumi.StringArray{
    								pulumi.String("AWS::EC2::InternetGateway"),
    							},
    						},
    					},
    					ThroughResources: ec2.NetworkInsightsAccessScopeExcludePathThroughResourceArray{
    						&ec2.NetworkInsightsAccessScopeExcludePathThroughResourceArgs{
    							ResourceStatement: &ec2.NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatementArgs{
    								ResourceTypes: pulumi.StringArray{
    									pulumi.String("AWS::EC2::NatGateway"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Ec2.NetworkInsightsAccessScope("example", new()
        {
            MatchPaths = new[]
            {
                new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathArgs
                {
                    Source = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathSourceArgs
                    {
                        ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs
                        {
                            ResourceTypes = new[]
                            {
                                "AWS::EC2::NetworkInterface",
                            },
                        },
                    },
                },
            },
            ExcludePaths = new[]
            {
                new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathArgs
                {
                    Source = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathSourceArgs
                    {
                        ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathSourceResourceStatementArgs
                        {
                            ResourceTypes = new[]
                            {
                                "AWS::EC2::InternetGateway",
                            },
                        },
                    },
                    ThroughResources = new[]
                    {
                        new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathThroughResourceArgs
                        {
                            ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatementArgs
                            {
                                ResourceTypes = new[]
                                {
                                    "AWS::EC2::NatGateway",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ec2.NetworkInsightsAccessScope;
    import com.pulumi.aws.ec2.NetworkInsightsAccessScopeArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeMatchPathArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeMatchPathSourceArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeExcludePathArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeExcludePathSourceArgs;
    import com.pulumi.aws.ec2.inputs.NetworkInsightsAccessScopeExcludePathSourceResourceStatementArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new NetworkInsightsAccessScope("example", NetworkInsightsAccessScopeArgs.builder()
                .matchPaths(NetworkInsightsAccessScopeMatchPathArgs.builder()
                    .source(NetworkInsightsAccessScopeMatchPathSourceArgs.builder()
                        .resourceStatement(NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs.builder()
                            .resourceTypes("AWS::EC2::NetworkInterface")
                            .build())
                        .build())
                    .build())
                .excludePaths(NetworkInsightsAccessScopeExcludePathArgs.builder()
                    .source(NetworkInsightsAccessScopeExcludePathSourceArgs.builder()
                        .resourceStatement(NetworkInsightsAccessScopeExcludePathSourceResourceStatementArgs.builder()
                            .resourceTypes("AWS::EC2::InternetGateway")
                            .build())
                        .build())
                    .throughResources(NetworkInsightsAccessScopeExcludePathThroughResourceArgs.builder()
                        .resourceStatement(NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatementArgs.builder()
                            .resourceTypes("AWS::EC2::NatGateway")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:ec2:NetworkInsightsAccessScope
        properties:
          matchPaths:
            - source:
                resourceStatement:
                  resourceTypes:
                    - AWS::EC2::NetworkInterface
          excludePaths:
            - source:
                resourceStatement:
                  resourceTypes:
                    - AWS::EC2::InternetGateway
              throughResources:
                - resourceStatement:
                    resourceTypes:
                      - AWS::EC2::NatGateway
    

    Create NetworkInsightsAccessScope Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NetworkInsightsAccessScope(name: string, args?: NetworkInsightsAccessScopeArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkInsightsAccessScope(resource_name: str,
                                   args: Optional[NetworkInsightsAccessScopeArgs] = None,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkInsightsAccessScope(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   exclude_paths: Optional[Sequence[NetworkInsightsAccessScopeExcludePathArgs]] = None,
                                   match_paths: Optional[Sequence[NetworkInsightsAccessScopeMatchPathArgs]] = None,
                                   region: Optional[str] = None,
                                   tags: Optional[Mapping[str, str]] = None)
    func NewNetworkInsightsAccessScope(ctx *Context, name string, args *NetworkInsightsAccessScopeArgs, opts ...ResourceOption) (*NetworkInsightsAccessScope, error)
    public NetworkInsightsAccessScope(string name, NetworkInsightsAccessScopeArgs? args = null, CustomResourceOptions? opts = null)
    public NetworkInsightsAccessScope(String name, NetworkInsightsAccessScopeArgs args)
    public NetworkInsightsAccessScope(String name, NetworkInsightsAccessScopeArgs args, CustomResourceOptions options)
    
    type: aws:ec2:NetworkInsightsAccessScope
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NetworkInsightsAccessScopeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NetworkInsightsAccessScopeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NetworkInsightsAccessScopeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkInsightsAccessScopeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkInsightsAccessScopeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var networkInsightsAccessScopeResource = new Aws.Ec2.NetworkInsightsAccessScope("networkInsightsAccessScopeResource", new()
    {
        ExcludePaths = new[]
        {
            new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathArgs
            {
                Destination = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathDestinationArgs
                {
                    PacketHeaderStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathDestinationPacketHeaderStatementArgs
                    {
                        DestinationAddresses = new[]
                        {
                            "string",
                        },
                        DestinationPorts = new[]
                        {
                            "string",
                        },
                        DestinationPrefixLists = new[]
                        {
                            "string",
                        },
                        Protocols = new[]
                        {
                            "string",
                        },
                        SourceAddresses = new[]
                        {
                            "string",
                        },
                        SourcePorts = new[]
                        {
                            "string",
                        },
                        SourcePrefixLists = new[]
                        {
                            "string",
                        },
                    },
                    ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathDestinationResourceStatementArgs
                    {
                        ResourceTypes = new[]
                        {
                            "string",
                        },
                        Resources = new[]
                        {
                            "string",
                        },
                    },
                },
                Source = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathSourceArgs
                {
                    PacketHeaderStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatementArgs
                    {
                        DestinationAddresses = new[]
                        {
                            "string",
                        },
                        DestinationPorts = new[]
                        {
                            "string",
                        },
                        DestinationPrefixLists = new[]
                        {
                            "string",
                        },
                        Protocols = new[]
                        {
                            "string",
                        },
                        SourceAddresses = new[]
                        {
                            "string",
                        },
                        SourcePorts = new[]
                        {
                            "string",
                        },
                        SourcePrefixLists = new[]
                        {
                            "string",
                        },
                    },
                    ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathSourceResourceStatementArgs
                    {
                        ResourceTypes = new[]
                        {
                            "string",
                        },
                        Resources = new[]
                        {
                            "string",
                        },
                    },
                },
                ThroughResources = new[]
                {
                    new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathThroughResourceArgs
                    {
                        ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatementArgs
                        {
                            ResourceTypes = new[]
                            {
                                "string",
                            },
                            Resources = new[]
                            {
                                "string",
                            },
                        },
                    },
                },
            },
        },
        MatchPaths = new[]
        {
            new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathArgs
            {
                Destination = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathDestinationArgs
                {
                    PacketHeaderStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathDestinationPacketHeaderStatementArgs
                    {
                        DestinationAddresses = new[]
                        {
                            "string",
                        },
                        DestinationPorts = new[]
                        {
                            "string",
                        },
                        DestinationPrefixLists = new[]
                        {
                            "string",
                        },
                        Protocols = new[]
                        {
                            "string",
                        },
                        SourceAddresses = new[]
                        {
                            "string",
                        },
                        SourcePorts = new[]
                        {
                            "string",
                        },
                        SourcePrefixLists = new[]
                        {
                            "string",
                        },
                    },
                    ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathDestinationResourceStatementArgs
                    {
                        ResourceTypes = new[]
                        {
                            "string",
                        },
                        Resources = new[]
                        {
                            "string",
                        },
                    },
                },
                Source = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathSourceArgs
                {
                    PacketHeaderStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatementArgs
                    {
                        DestinationAddresses = new[]
                        {
                            "string",
                        },
                        DestinationPorts = new[]
                        {
                            "string",
                        },
                        DestinationPrefixLists = new[]
                        {
                            "string",
                        },
                        Protocols = new[]
                        {
                            "string",
                        },
                        SourceAddresses = new[]
                        {
                            "string",
                        },
                        SourcePorts = new[]
                        {
                            "string",
                        },
                        SourcePrefixLists = new[]
                        {
                            "string",
                        },
                    },
                    ResourceStatement = new Aws.Ec2.Inputs.NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs
                    {
                        ResourceTypes = new[]
                        {
                            "string",
                        },
                        Resources = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        Region = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := ec2.NewNetworkInsightsAccessScope(ctx, "networkInsightsAccessScopeResource", &ec2.NetworkInsightsAccessScopeArgs{
    	ExcludePaths: ec2.NetworkInsightsAccessScopeExcludePathArray{
    		&ec2.NetworkInsightsAccessScopeExcludePathArgs{
    			Destination: &ec2.NetworkInsightsAccessScopeExcludePathDestinationArgs{
    				PacketHeaderStatement: &ec2.NetworkInsightsAccessScopeExcludePathDestinationPacketHeaderStatementArgs{
    					DestinationAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					DestinationPorts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					DestinationPrefixLists: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Protocols: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourceAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourcePorts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourcePrefixLists: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				ResourceStatement: &ec2.NetworkInsightsAccessScopeExcludePathDestinationResourceStatementArgs{
    					ResourceTypes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Resources: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			Source: &ec2.NetworkInsightsAccessScopeExcludePathSourceArgs{
    				PacketHeaderStatement: &ec2.NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatementArgs{
    					DestinationAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					DestinationPorts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					DestinationPrefixLists: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Protocols: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourceAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourcePorts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourcePrefixLists: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				ResourceStatement: &ec2.NetworkInsightsAccessScopeExcludePathSourceResourceStatementArgs{
    					ResourceTypes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Resources: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			ThroughResources: ec2.NetworkInsightsAccessScopeExcludePathThroughResourceArray{
    				&ec2.NetworkInsightsAccessScopeExcludePathThroughResourceArgs{
    					ResourceStatement: &ec2.NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatementArgs{
    						ResourceTypes: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Resources: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    	},
    	MatchPaths: ec2.NetworkInsightsAccessScopeMatchPathArray{
    		&ec2.NetworkInsightsAccessScopeMatchPathArgs{
    			Destination: &ec2.NetworkInsightsAccessScopeMatchPathDestinationArgs{
    				PacketHeaderStatement: &ec2.NetworkInsightsAccessScopeMatchPathDestinationPacketHeaderStatementArgs{
    					DestinationAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					DestinationPorts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					DestinationPrefixLists: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Protocols: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourceAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourcePorts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourcePrefixLists: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				ResourceStatement: &ec2.NetworkInsightsAccessScopeMatchPathDestinationResourceStatementArgs{
    					ResourceTypes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Resources: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			Source: &ec2.NetworkInsightsAccessScopeMatchPathSourceArgs{
    				PacketHeaderStatement: &ec2.NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatementArgs{
    					DestinationAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					DestinationPorts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					DestinationPrefixLists: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Protocols: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourceAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourcePorts: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SourcePrefixLists: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				ResourceStatement: &ec2.NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs{
    					ResourceTypes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Resources: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    	},
    	Region: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var networkInsightsAccessScopeResource = new NetworkInsightsAccessScope("networkInsightsAccessScopeResource", NetworkInsightsAccessScopeArgs.builder()
        .excludePaths(NetworkInsightsAccessScopeExcludePathArgs.builder()
            .destination(NetworkInsightsAccessScopeExcludePathDestinationArgs.builder()
                .packetHeaderStatement(NetworkInsightsAccessScopeExcludePathDestinationPacketHeaderStatementArgs.builder()
                    .destinationAddresses("string")
                    .destinationPorts("string")
                    .destinationPrefixLists("string")
                    .protocols("string")
                    .sourceAddresses("string")
                    .sourcePorts("string")
                    .sourcePrefixLists("string")
                    .build())
                .resourceStatement(NetworkInsightsAccessScopeExcludePathDestinationResourceStatementArgs.builder()
                    .resourceTypes("string")
                    .resources("string")
                    .build())
                .build())
            .source(NetworkInsightsAccessScopeExcludePathSourceArgs.builder()
                .packetHeaderStatement(NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatementArgs.builder()
                    .destinationAddresses("string")
                    .destinationPorts("string")
                    .destinationPrefixLists("string")
                    .protocols("string")
                    .sourceAddresses("string")
                    .sourcePorts("string")
                    .sourcePrefixLists("string")
                    .build())
                .resourceStatement(NetworkInsightsAccessScopeExcludePathSourceResourceStatementArgs.builder()
                    .resourceTypes("string")
                    .resources("string")
                    .build())
                .build())
            .throughResources(NetworkInsightsAccessScopeExcludePathThroughResourceArgs.builder()
                .resourceStatement(NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatementArgs.builder()
                    .resourceTypes("string")
                    .resources("string")
                    .build())
                .build())
            .build())
        .matchPaths(NetworkInsightsAccessScopeMatchPathArgs.builder()
            .destination(NetworkInsightsAccessScopeMatchPathDestinationArgs.builder()
                .packetHeaderStatement(NetworkInsightsAccessScopeMatchPathDestinationPacketHeaderStatementArgs.builder()
                    .destinationAddresses("string")
                    .destinationPorts("string")
                    .destinationPrefixLists("string")
                    .protocols("string")
                    .sourceAddresses("string")
                    .sourcePorts("string")
                    .sourcePrefixLists("string")
                    .build())
                .resourceStatement(NetworkInsightsAccessScopeMatchPathDestinationResourceStatementArgs.builder()
                    .resourceTypes("string")
                    .resources("string")
                    .build())
                .build())
            .source(NetworkInsightsAccessScopeMatchPathSourceArgs.builder()
                .packetHeaderStatement(NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatementArgs.builder()
                    .destinationAddresses("string")
                    .destinationPorts("string")
                    .destinationPrefixLists("string")
                    .protocols("string")
                    .sourceAddresses("string")
                    .sourcePorts("string")
                    .sourcePrefixLists("string")
                    .build())
                .resourceStatement(NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs.builder()
                    .resourceTypes("string")
                    .resources("string")
                    .build())
                .build())
            .build())
        .region("string")
        .tags(Map.of("string", "string"))
        .build());
    
    network_insights_access_scope_resource = aws.ec2.NetworkInsightsAccessScope("networkInsightsAccessScopeResource",
        exclude_paths=[{
            "destination": {
                "packet_header_statement": {
                    "destination_addresses": ["string"],
                    "destination_ports": ["string"],
                    "destination_prefix_lists": ["string"],
                    "protocols": ["string"],
                    "source_addresses": ["string"],
                    "source_ports": ["string"],
                    "source_prefix_lists": ["string"],
                },
                "resource_statement": {
                    "resource_types": ["string"],
                    "resources": ["string"],
                },
            },
            "source": {
                "packet_header_statement": {
                    "destination_addresses": ["string"],
                    "destination_ports": ["string"],
                    "destination_prefix_lists": ["string"],
                    "protocols": ["string"],
                    "source_addresses": ["string"],
                    "source_ports": ["string"],
                    "source_prefix_lists": ["string"],
                },
                "resource_statement": {
                    "resource_types": ["string"],
                    "resources": ["string"],
                },
            },
            "through_resources": [{
                "resource_statement": {
                    "resource_types": ["string"],
                    "resources": ["string"],
                },
            }],
        }],
        match_paths=[{
            "destination": {
                "packet_header_statement": {
                    "destination_addresses": ["string"],
                    "destination_ports": ["string"],
                    "destination_prefix_lists": ["string"],
                    "protocols": ["string"],
                    "source_addresses": ["string"],
                    "source_ports": ["string"],
                    "source_prefix_lists": ["string"],
                },
                "resource_statement": {
                    "resource_types": ["string"],
                    "resources": ["string"],
                },
            },
            "source": {
                "packet_header_statement": {
                    "destination_addresses": ["string"],
                    "destination_ports": ["string"],
                    "destination_prefix_lists": ["string"],
                    "protocols": ["string"],
                    "source_addresses": ["string"],
                    "source_ports": ["string"],
                    "source_prefix_lists": ["string"],
                },
                "resource_statement": {
                    "resource_types": ["string"],
                    "resources": ["string"],
                },
            },
        }],
        region="string",
        tags={
            "string": "string",
        })
    
    const networkInsightsAccessScopeResource = new aws.ec2.NetworkInsightsAccessScope("networkInsightsAccessScopeResource", {
        excludePaths: [{
            destination: {
                packetHeaderStatement: {
                    destinationAddresses: ["string"],
                    destinationPorts: ["string"],
                    destinationPrefixLists: ["string"],
                    protocols: ["string"],
                    sourceAddresses: ["string"],
                    sourcePorts: ["string"],
                    sourcePrefixLists: ["string"],
                },
                resourceStatement: {
                    resourceTypes: ["string"],
                    resources: ["string"],
                },
            },
            source: {
                packetHeaderStatement: {
                    destinationAddresses: ["string"],
                    destinationPorts: ["string"],
                    destinationPrefixLists: ["string"],
                    protocols: ["string"],
                    sourceAddresses: ["string"],
                    sourcePorts: ["string"],
                    sourcePrefixLists: ["string"],
                },
                resourceStatement: {
                    resourceTypes: ["string"],
                    resources: ["string"],
                },
            },
            throughResources: [{
                resourceStatement: {
                    resourceTypes: ["string"],
                    resources: ["string"],
                },
            }],
        }],
        matchPaths: [{
            destination: {
                packetHeaderStatement: {
                    destinationAddresses: ["string"],
                    destinationPorts: ["string"],
                    destinationPrefixLists: ["string"],
                    protocols: ["string"],
                    sourceAddresses: ["string"],
                    sourcePorts: ["string"],
                    sourcePrefixLists: ["string"],
                },
                resourceStatement: {
                    resourceTypes: ["string"],
                    resources: ["string"],
                },
            },
            source: {
                packetHeaderStatement: {
                    destinationAddresses: ["string"],
                    destinationPorts: ["string"],
                    destinationPrefixLists: ["string"],
                    protocols: ["string"],
                    sourceAddresses: ["string"],
                    sourcePorts: ["string"],
                    sourcePrefixLists: ["string"],
                },
                resourceStatement: {
                    resourceTypes: ["string"],
                    resources: ["string"],
                },
            },
        }],
        region: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:ec2:NetworkInsightsAccessScope
    properties:
        excludePaths:
            - destination:
                packetHeaderStatement:
                    destinationAddresses:
                        - string
                    destinationPorts:
                        - string
                    destinationPrefixLists:
                        - string
                    protocols:
                        - string
                    sourceAddresses:
                        - string
                    sourcePorts:
                        - string
                    sourcePrefixLists:
                        - string
                resourceStatement:
                    resourceTypes:
                        - string
                    resources:
                        - string
              source:
                packetHeaderStatement:
                    destinationAddresses:
                        - string
                    destinationPorts:
                        - string
                    destinationPrefixLists:
                        - string
                    protocols:
                        - string
                    sourceAddresses:
                        - string
                    sourcePorts:
                        - string
                    sourcePrefixLists:
                        - string
                resourceStatement:
                    resourceTypes:
                        - string
                    resources:
                        - string
              throughResources:
                - resourceStatement:
                    resourceTypes:
                        - string
                    resources:
                        - string
        matchPaths:
            - destination:
                packetHeaderStatement:
                    destinationAddresses:
                        - string
                    destinationPorts:
                        - string
                    destinationPrefixLists:
                        - string
                    protocols:
                        - string
                    sourceAddresses:
                        - string
                    sourcePorts:
                        - string
                    sourcePrefixLists:
                        - string
                resourceStatement:
                    resourceTypes:
                        - string
                    resources:
                        - string
              source:
                packetHeaderStatement:
                    destinationAddresses:
                        - string
                    destinationPorts:
                        - string
                    destinationPrefixLists:
                        - string
                    protocols:
                        - string
                    sourceAddresses:
                        - string
                    sourcePorts:
                        - string
                    sourcePrefixLists:
                        - string
                resourceStatement:
                    resourceTypes:
                        - string
                    resources:
                        - string
        region: string
        tags:
            string: string
    

    NetworkInsightsAccessScope Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NetworkInsightsAccessScope resource accepts the following input properties:

    ExcludePaths List<NetworkInsightsAccessScopeExcludePath>
    Set of access scope path statements to exclude. See excludePaths below for details.
    MatchPaths List<NetworkInsightsAccessScopeMatchPath>

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    ExcludePaths []NetworkInsightsAccessScopeExcludePathArgs
    Set of access scope path statements to exclude. See excludePaths below for details.
    MatchPaths []NetworkInsightsAccessScopeMatchPathArgs

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    excludePaths List<NetworkInsightsAccessScopeExcludePath>
    Set of access scope path statements to exclude. See excludePaths below for details.
    matchPaths List<NetworkInsightsAccessScopeMatchPath>

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    excludePaths NetworkInsightsAccessScopeExcludePath[]
    Set of access scope path statements to exclude. See excludePaths below for details.
    matchPaths NetworkInsightsAccessScopeMatchPath[]

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    exclude_paths Sequence[NetworkInsightsAccessScopeExcludePathArgs]
    Set of access scope path statements to exclude. See excludePaths below for details.
    match_paths Sequence[NetworkInsightsAccessScopeMatchPathArgs]

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    excludePaths List<Property Map>
    Set of access scope path statements to exclude. See excludePaths below for details.
    matchPaths List<Property Map>

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NetworkInsightsAccessScope resource produces the following output properties:

    Arn string
    ARN of the Network Insights Access Scope.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the Network Insights Access Scope.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Network Insights Access Scope.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the Network Insights Access Scope.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the Network Insights Access Scope.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Network Insights Access Scope.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing NetworkInsightsAccessScope Resource

    Get an existing NetworkInsightsAccessScope resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NetworkInsightsAccessScopeState, opts?: CustomResourceOptions): NetworkInsightsAccessScope
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            exclude_paths: Optional[Sequence[NetworkInsightsAccessScopeExcludePathArgs]] = None,
            match_paths: Optional[Sequence[NetworkInsightsAccessScopeMatchPathArgs]] = None,
            region: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> NetworkInsightsAccessScope
    func GetNetworkInsightsAccessScope(ctx *Context, name string, id IDInput, state *NetworkInsightsAccessScopeState, opts ...ResourceOption) (*NetworkInsightsAccessScope, error)
    public static NetworkInsightsAccessScope Get(string name, Input<string> id, NetworkInsightsAccessScopeState? state, CustomResourceOptions? opts = null)
    public static NetworkInsightsAccessScope get(String name, Output<String> id, NetworkInsightsAccessScopeState state, CustomResourceOptions options)
    resources:  _:    type: aws:ec2:NetworkInsightsAccessScope    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the Network Insights Access Scope.
    ExcludePaths List<NetworkInsightsAccessScopeExcludePath>
    Set of access scope path statements to exclude. See excludePaths below for details.
    MatchPaths List<NetworkInsightsAccessScopeMatchPath>

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the Network Insights Access Scope.
    ExcludePaths []NetworkInsightsAccessScopeExcludePathArgs
    Set of access scope path statements to exclude. See excludePaths below for details.
    MatchPaths []NetworkInsightsAccessScopeMatchPathArgs

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Network Insights Access Scope.
    excludePaths List<NetworkInsightsAccessScopeExcludePath>
    Set of access scope path statements to exclude. See excludePaths below for details.
    matchPaths List<NetworkInsightsAccessScopeMatchPath>

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the Network Insights Access Scope.
    excludePaths NetworkInsightsAccessScopeExcludePath[]
    Set of access scope path statements to exclude. See excludePaths below for details.
    matchPaths NetworkInsightsAccessScopeMatchPath[]

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the Network Insights Access Scope.
    exclude_paths Sequence[NetworkInsightsAccessScopeExcludePathArgs]
    Set of access scope path statements to exclude. See excludePaths below for details.
    match_paths Sequence[NetworkInsightsAccessScopeMatchPathArgs]

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Network Insights Access Scope.
    excludePaths List<Property Map>
    Set of access scope path statements to exclude. See excludePaths below for details.
    matchPaths List<Property Map>

    Set of access scope path statements to match. At least one must be specified. See matchPaths below for details.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Supporting Types

    NetworkInsightsAccessScopeExcludePath, NetworkInsightsAccessScopeExcludePathArgs

    Destination NetworkInsightsAccessScopeExcludePathDestination
    Path statement for the destination. See source and destination below for details.
    Source NetworkInsightsAccessScopeExcludePathSource
    Path statement for the source. See source and destination below for details.
    ThroughResources List<NetworkInsightsAccessScopeExcludePathThroughResource>
    Path statement for through resources. See throughResources below for details.
    Destination NetworkInsightsAccessScopeExcludePathDestination
    Path statement for the destination. See source and destination below for details.
    Source NetworkInsightsAccessScopeExcludePathSource
    Path statement for the source. See source and destination below for details.
    ThroughResources []NetworkInsightsAccessScopeExcludePathThroughResource
    Path statement for through resources. See throughResources below for details.
    destination NetworkInsightsAccessScopeExcludePathDestination
    Path statement for the destination. See source and destination below for details.
    source NetworkInsightsAccessScopeExcludePathSource
    Path statement for the source. See source and destination below for details.
    throughResources List<NetworkInsightsAccessScopeExcludePathThroughResource>
    Path statement for through resources. See throughResources below for details.
    destination NetworkInsightsAccessScopeExcludePathDestination
    Path statement for the destination. See source and destination below for details.
    source NetworkInsightsAccessScopeExcludePathSource
    Path statement for the source. See source and destination below for details.
    throughResources NetworkInsightsAccessScopeExcludePathThroughResource[]
    Path statement for through resources. See throughResources below for details.
    destination NetworkInsightsAccessScopeExcludePathDestination
    Path statement for the destination. See source and destination below for details.
    source NetworkInsightsAccessScopeExcludePathSource
    Path statement for the source. See source and destination below for details.
    through_resources Sequence[NetworkInsightsAccessScopeExcludePathThroughResource]
    Path statement for through resources. See throughResources below for details.
    destination Property Map
    Path statement for the destination. See source and destination below for details.
    source Property Map
    Path statement for the source. See source and destination below for details.
    throughResources List<Property Map>
    Path statement for through resources. See throughResources below for details.

    NetworkInsightsAccessScopeExcludePathDestination, NetworkInsightsAccessScopeExcludePathDestinationArgs

    packetHeaderStatement Property Map
    Packet header statement. See packetHeaderStatement below for details.
    resourceStatement Property Map

    NetworkInsightsAccessScopeExcludePathDestinationPacketHeaderStatement, NetworkInsightsAccessScopeExcludePathDestinationPacketHeaderStatementArgs

    DestinationAddresses List<string>
    Set of destination addresses.
    DestinationPorts List<string>
    Set of destination ports.
    DestinationPrefixLists List<string>
    Set of destination prefix lists.
    Protocols List<string>
    Set of protocols. Valid values are tcp and udp.
    SourceAddresses List<string>
    Set of source addresses.
    SourcePorts List<string>
    Set of source ports.
    SourcePrefixLists List<string>
    Set of source prefix lists.
    DestinationAddresses []string
    Set of destination addresses.
    DestinationPorts []string
    Set of destination ports.
    DestinationPrefixLists []string
    Set of destination prefix lists.
    Protocols []string
    Set of protocols. Valid values are tcp and udp.
    SourceAddresses []string
    Set of source addresses.
    SourcePorts []string
    Set of source ports.
    SourcePrefixLists []string
    Set of source prefix lists.
    destinationAddresses List<String>
    Set of destination addresses.
    destinationPorts List<String>
    Set of destination ports.
    destinationPrefixLists List<String>
    Set of destination prefix lists.
    protocols List<String>
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses List<String>
    Set of source addresses.
    sourcePorts List<String>
    Set of source ports.
    sourcePrefixLists List<String>
    Set of source prefix lists.
    destinationAddresses string[]
    Set of destination addresses.
    destinationPorts string[]
    Set of destination ports.
    destinationPrefixLists string[]
    Set of destination prefix lists.
    protocols string[]
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses string[]
    Set of source addresses.
    sourcePorts string[]
    Set of source ports.
    sourcePrefixLists string[]
    Set of source prefix lists.
    destination_addresses Sequence[str]
    Set of destination addresses.
    destination_ports Sequence[str]
    Set of destination ports.
    destination_prefix_lists Sequence[str]
    Set of destination prefix lists.
    protocols Sequence[str]
    Set of protocols. Valid values are tcp and udp.
    source_addresses Sequence[str]
    Set of source addresses.
    source_ports Sequence[str]
    Set of source ports.
    source_prefix_lists Sequence[str]
    Set of source prefix lists.
    destinationAddresses List<String>
    Set of destination addresses.
    destinationPorts List<String>
    Set of destination ports.
    destinationPrefixLists List<String>
    Set of destination prefix lists.
    protocols List<String>
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses List<String>
    Set of source addresses.
    sourcePorts List<String>
    Set of source ports.
    sourcePrefixLists List<String>
    Set of source prefix lists.

    NetworkInsightsAccessScopeExcludePathDestinationResourceStatement, NetworkInsightsAccessScopeExcludePathDestinationResourceStatementArgs

    ResourceTypes List<string>
    List of resource types. Cannot be specified together with resources.
    Resources List<string>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    ResourceTypes []string
    List of resource types. Cannot be specified together with resources.
    Resources []string
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes string[]
    List of resource types. Cannot be specified together with resources.
    resources string[]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resource_types Sequence[str]
    List of resource types. Cannot be specified together with resources.
    resources Sequence[str]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.

    NetworkInsightsAccessScopeExcludePathSource, NetworkInsightsAccessScopeExcludePathSourceArgs

    PacketHeaderStatement NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    ResourceStatement NetworkInsightsAccessScopeExcludePathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    PacketHeaderStatement NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    ResourceStatement NetworkInsightsAccessScopeExcludePathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    packetHeaderStatement NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    resourceStatement NetworkInsightsAccessScopeExcludePathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    packetHeaderStatement NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    resourceStatement NetworkInsightsAccessScopeExcludePathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    packet_header_statement NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    resource_statement NetworkInsightsAccessScopeExcludePathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    packetHeaderStatement Property Map
    Packet header statement. See packetHeaderStatement below for details.
    resourceStatement Property Map
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.

    NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatement, NetworkInsightsAccessScopeExcludePathSourcePacketHeaderStatementArgs

    DestinationAddresses List<string>
    Set of destination addresses.
    DestinationPorts List<string>
    Set of destination ports.
    DestinationPrefixLists List<string>
    Set of destination prefix lists.
    Protocols List<string>
    Set of protocols. Valid values are tcp and udp.
    SourceAddresses List<string>
    Set of source addresses.
    SourcePorts List<string>
    Set of source ports.
    SourcePrefixLists List<string>
    Set of source prefix lists.
    DestinationAddresses []string
    Set of destination addresses.
    DestinationPorts []string
    Set of destination ports.
    DestinationPrefixLists []string
    Set of destination prefix lists.
    Protocols []string
    Set of protocols. Valid values are tcp and udp.
    SourceAddresses []string
    Set of source addresses.
    SourcePorts []string
    Set of source ports.
    SourcePrefixLists []string
    Set of source prefix lists.
    destinationAddresses List<String>
    Set of destination addresses.
    destinationPorts List<String>
    Set of destination ports.
    destinationPrefixLists List<String>
    Set of destination prefix lists.
    protocols List<String>
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses List<String>
    Set of source addresses.
    sourcePorts List<String>
    Set of source ports.
    sourcePrefixLists List<String>
    Set of source prefix lists.
    destinationAddresses string[]
    Set of destination addresses.
    destinationPorts string[]
    Set of destination ports.
    destinationPrefixLists string[]
    Set of destination prefix lists.
    protocols string[]
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses string[]
    Set of source addresses.
    sourcePorts string[]
    Set of source ports.
    sourcePrefixLists string[]
    Set of source prefix lists.
    destination_addresses Sequence[str]
    Set of destination addresses.
    destination_ports Sequence[str]
    Set of destination ports.
    destination_prefix_lists Sequence[str]
    Set of destination prefix lists.
    protocols Sequence[str]
    Set of protocols. Valid values are tcp and udp.
    source_addresses Sequence[str]
    Set of source addresses.
    source_ports Sequence[str]
    Set of source ports.
    source_prefix_lists Sequence[str]
    Set of source prefix lists.
    destinationAddresses List<String>
    Set of destination addresses.
    destinationPorts List<String>
    Set of destination ports.
    destinationPrefixLists List<String>
    Set of destination prefix lists.
    protocols List<String>
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses List<String>
    Set of source addresses.
    sourcePorts List<String>
    Set of source ports.
    sourcePrefixLists List<String>
    Set of source prefix lists.

    NetworkInsightsAccessScopeExcludePathSourceResourceStatement, NetworkInsightsAccessScopeExcludePathSourceResourceStatementArgs

    ResourceTypes List<string>
    List of resource types. Cannot be specified together with resources.
    Resources List<string>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    ResourceTypes []string
    List of resource types. Cannot be specified together with resources.
    Resources []string
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes string[]
    List of resource types. Cannot be specified together with resources.
    resources string[]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resource_types Sequence[str]
    List of resource types. Cannot be specified together with resources.
    resources Sequence[str]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.

    NetworkInsightsAccessScopeExcludePathThroughResource, NetworkInsightsAccessScopeExcludePathThroughResourceArgs

    ResourceStatement NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    ResourceStatement NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    resourceStatement NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    resourceStatement NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    resource_statement NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    resourceStatement Property Map
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.

    NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatement, NetworkInsightsAccessScopeExcludePathThroughResourceResourceStatementArgs

    ResourceTypes List<string>
    List of resource types. Cannot be specified together with resources.
    Resources List<string>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    ResourceTypes []string
    List of resource types. Cannot be specified together with resources.
    Resources []string
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes string[]
    List of resource types. Cannot be specified together with resources.
    resources string[]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resource_types Sequence[str]
    List of resource types. Cannot be specified together with resources.
    resources Sequence[str]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.

    NetworkInsightsAccessScopeMatchPath, NetworkInsightsAccessScopeMatchPathArgs

    Destination NetworkInsightsAccessScopeMatchPathDestination
    Path statement for the destination. See source and destination below for details.
    Source NetworkInsightsAccessScopeMatchPathSource
    Path statement for the source. See source and destination below for details.
    Destination NetworkInsightsAccessScopeMatchPathDestination
    Path statement for the destination. See source and destination below for details.
    Source NetworkInsightsAccessScopeMatchPathSource
    Path statement for the source. See source and destination below for details.
    destination NetworkInsightsAccessScopeMatchPathDestination
    Path statement for the destination. See source and destination below for details.
    source NetworkInsightsAccessScopeMatchPathSource
    Path statement for the source. See source and destination below for details.
    destination NetworkInsightsAccessScopeMatchPathDestination
    Path statement for the destination. See source and destination below for details.
    source NetworkInsightsAccessScopeMatchPathSource
    Path statement for the source. See source and destination below for details.
    destination NetworkInsightsAccessScopeMatchPathDestination
    Path statement for the destination. See source and destination below for details.
    source NetworkInsightsAccessScopeMatchPathSource
    Path statement for the source. See source and destination below for details.
    destination Property Map
    Path statement for the destination. See source and destination below for details.
    source Property Map
    Path statement for the source. See source and destination below for details.

    NetworkInsightsAccessScopeMatchPathDestination, NetworkInsightsAccessScopeMatchPathDestinationArgs

    packetHeaderStatement Property Map
    Packet header statement. See packetHeaderStatement below for details.
    resourceStatement Property Map

    NetworkInsightsAccessScopeMatchPathDestinationPacketHeaderStatement, NetworkInsightsAccessScopeMatchPathDestinationPacketHeaderStatementArgs

    DestinationAddresses List<string>
    Set of destination addresses.
    DestinationPorts List<string>
    Set of destination ports.
    DestinationPrefixLists List<string>
    Set of destination prefix lists.
    Protocols List<string>
    Set of protocols. Valid values are tcp and udp.
    SourceAddresses List<string>
    Set of source addresses.
    SourcePorts List<string>
    Set of source ports.
    SourcePrefixLists List<string>
    Set of source prefix lists.
    DestinationAddresses []string
    Set of destination addresses.
    DestinationPorts []string
    Set of destination ports.
    DestinationPrefixLists []string
    Set of destination prefix lists.
    Protocols []string
    Set of protocols. Valid values are tcp and udp.
    SourceAddresses []string
    Set of source addresses.
    SourcePorts []string
    Set of source ports.
    SourcePrefixLists []string
    Set of source prefix lists.
    destinationAddresses List<String>
    Set of destination addresses.
    destinationPorts List<String>
    Set of destination ports.
    destinationPrefixLists List<String>
    Set of destination prefix lists.
    protocols List<String>
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses List<String>
    Set of source addresses.
    sourcePorts List<String>
    Set of source ports.
    sourcePrefixLists List<String>
    Set of source prefix lists.
    destinationAddresses string[]
    Set of destination addresses.
    destinationPorts string[]
    Set of destination ports.
    destinationPrefixLists string[]
    Set of destination prefix lists.
    protocols string[]
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses string[]
    Set of source addresses.
    sourcePorts string[]
    Set of source ports.
    sourcePrefixLists string[]
    Set of source prefix lists.
    destination_addresses Sequence[str]
    Set of destination addresses.
    destination_ports Sequence[str]
    Set of destination ports.
    destination_prefix_lists Sequence[str]
    Set of destination prefix lists.
    protocols Sequence[str]
    Set of protocols. Valid values are tcp and udp.
    source_addresses Sequence[str]
    Set of source addresses.
    source_ports Sequence[str]
    Set of source ports.
    source_prefix_lists Sequence[str]
    Set of source prefix lists.
    destinationAddresses List<String>
    Set of destination addresses.
    destinationPorts List<String>
    Set of destination ports.
    destinationPrefixLists List<String>
    Set of destination prefix lists.
    protocols List<String>
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses List<String>
    Set of source addresses.
    sourcePorts List<String>
    Set of source ports.
    sourcePrefixLists List<String>
    Set of source prefix lists.

    NetworkInsightsAccessScopeMatchPathDestinationResourceStatement, NetworkInsightsAccessScopeMatchPathDestinationResourceStatementArgs

    ResourceTypes List<string>
    List of resource types. Cannot be specified together with resources.
    Resources List<string>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    ResourceTypes []string
    List of resource types. Cannot be specified together with resources.
    Resources []string
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes string[]
    List of resource types. Cannot be specified together with resources.
    resources string[]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resource_types Sequence[str]
    List of resource types. Cannot be specified together with resources.
    resources Sequence[str]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.

    NetworkInsightsAccessScopeMatchPathSource, NetworkInsightsAccessScopeMatchPathSourceArgs

    PacketHeaderStatement NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    ResourceStatement NetworkInsightsAccessScopeMatchPathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    PacketHeaderStatement NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    ResourceStatement NetworkInsightsAccessScopeMatchPathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    packetHeaderStatement NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    resourceStatement NetworkInsightsAccessScopeMatchPathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    packetHeaderStatement NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    resourceStatement NetworkInsightsAccessScopeMatchPathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    packet_header_statement NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatement
    Packet header statement. See packetHeaderStatement below for details.
    resource_statement NetworkInsightsAccessScopeMatchPathSourceResourceStatement
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.
    packetHeaderStatement Property Map
    Packet header statement. See packetHeaderStatement below for details.
    resourceStatement Property Map
    Resource statement. Exactly one of resources or resourceTypes must be specified. See resourceStatement below for details.

    NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatement, NetworkInsightsAccessScopeMatchPathSourcePacketHeaderStatementArgs

    DestinationAddresses List<string>
    Set of destination addresses.
    DestinationPorts List<string>
    Set of destination ports.
    DestinationPrefixLists List<string>
    Set of destination prefix lists.
    Protocols List<string>
    Set of protocols. Valid values are tcp and udp.
    SourceAddresses List<string>
    Set of source addresses.
    SourcePorts List<string>
    Set of source ports.
    SourcePrefixLists List<string>
    Set of source prefix lists.
    DestinationAddresses []string
    Set of destination addresses.
    DestinationPorts []string
    Set of destination ports.
    DestinationPrefixLists []string
    Set of destination prefix lists.
    Protocols []string
    Set of protocols. Valid values are tcp and udp.
    SourceAddresses []string
    Set of source addresses.
    SourcePorts []string
    Set of source ports.
    SourcePrefixLists []string
    Set of source prefix lists.
    destinationAddresses List<String>
    Set of destination addresses.
    destinationPorts List<String>
    Set of destination ports.
    destinationPrefixLists List<String>
    Set of destination prefix lists.
    protocols List<String>
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses List<String>
    Set of source addresses.
    sourcePorts List<String>
    Set of source ports.
    sourcePrefixLists List<String>
    Set of source prefix lists.
    destinationAddresses string[]
    Set of destination addresses.
    destinationPorts string[]
    Set of destination ports.
    destinationPrefixLists string[]
    Set of destination prefix lists.
    protocols string[]
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses string[]
    Set of source addresses.
    sourcePorts string[]
    Set of source ports.
    sourcePrefixLists string[]
    Set of source prefix lists.
    destination_addresses Sequence[str]
    Set of destination addresses.
    destination_ports Sequence[str]
    Set of destination ports.
    destination_prefix_lists Sequence[str]
    Set of destination prefix lists.
    protocols Sequence[str]
    Set of protocols. Valid values are tcp and udp.
    source_addresses Sequence[str]
    Set of source addresses.
    source_ports Sequence[str]
    Set of source ports.
    source_prefix_lists Sequence[str]
    Set of source prefix lists.
    destinationAddresses List<String>
    Set of destination addresses.
    destinationPorts List<String>
    Set of destination ports.
    destinationPrefixLists List<String>
    Set of destination prefix lists.
    protocols List<String>
    Set of protocols. Valid values are tcp and udp.
    sourceAddresses List<String>
    Set of source addresses.
    sourcePorts List<String>
    Set of source ports.
    sourcePrefixLists List<String>
    Set of source prefix lists.

    NetworkInsightsAccessScopeMatchPathSourceResourceStatement, NetworkInsightsAccessScopeMatchPathSourceResourceStatementArgs

    ResourceTypes List<string>
    List of resource types. Cannot be specified together with resources.
    Resources List<string>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    ResourceTypes []string
    List of resource types. Cannot be specified together with resources.
    Resources []string
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes string[]
    List of resource types. Cannot be specified together with resources.
    resources string[]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resource_types Sequence[str]
    List of resource types. Cannot be specified together with resources.
    resources Sequence[str]
    List of resource ARNs. Cannot be specified together with resourceTypes.
    resourceTypes List<String>
    List of resource types. Cannot be specified together with resources.
    resources List<String>
    List of resource ARNs. Cannot be specified together with resourceTypes.

    Import

    Identity Schema

    Required

    • id - (String) ID of the Network Insights Access Scope.

    Optional

    • accountId (String) AWS Account where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import Network Insights Access Scopes using the id. For example:

    $ pulumi import aws:ec2/networkInsightsAccessScope:NetworkInsightsAccessScope example nis-0a1b2c3d4e5f6g7h8
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    Viewing docs for AWS v7.28.0
    published on Thursday, Apr 30, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.