AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::NetworkInsightsAccessScope

CfnNetworkInsightsAccessScope

Describes a Network Access Scope. A Network Access Scope defines outbound (egress) and inbound (ingress) traffic patterns, including sources, destinations, paths, and traffic types. Network Access Analyzer identifies unintended network access to your resources on AWS . When you start an analysis on a Network Access Scope, Network Access Analyzer produces findings. For more information, see the [Network Access Analyzer User Guide](https://docs.aws.amazon.com/vpc/latest/network-access-analyzer/) .

Import

import { CfnNetworkInsightsAccessScope } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnNetworkInsightsAccessScope

Properties

Configuration passed to the constructor as CfnNetworkInsightsAccessScopeProps.

excludePathsOptional
IResolvable | IResolvable | AccessScopePathRequestProperty[]

The paths to exclude.

matchPathsOptional
IResolvable | IResolvable | AccessScopePathRequestProperty[]

The paths to match.

tagsOptional
CfnTag[]

The tags.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic