aws-cdk-lib.aws_ec2.CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty

interface AccessScopePathRequestProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkInsightsAccessScope_AccessScopePathRequestProperty
Javasoftware.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty
Pythonaws_cdk.aws_ec2.CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnNetworkInsightsAccessScope » AccessScopePathRequestProperty

Describes a path.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const accessScopePathRequestProperty: ec2.CfnNetworkInsightsAccessScope.AccessScopePathRequestProperty = {
  destination: {
    packetHeaderStatement: {
      destinationAddresses: ['destinationAddresses'],
      destinationPorts: ['destinationPorts'],
      destinationPrefixLists: ['destinationPrefixLists'],
      protocols: ['protocols'],
      sourceAddresses: ['sourceAddresses'],
      sourcePorts: ['sourcePorts'],
      sourcePrefixLists: ['sourcePrefixLists'],
    },
    resourceStatement: {
      resources: ['resources'],
      resourceTypes: ['resourceTypes'],
    },
  },
  source: {
    packetHeaderStatement: {
      destinationAddresses: ['destinationAddresses'],
      destinationPorts: ['destinationPorts'],
      destinationPrefixLists: ['destinationPrefixLists'],
      protocols: ['protocols'],
      sourceAddresses: ['sourceAddresses'],
      sourcePorts: ['sourcePorts'],
      sourcePrefixLists: ['sourcePrefixLists'],
    },
    resourceStatement: {
      resources: ['resources'],
      resourceTypes: ['resourceTypes'],
    },
  },
  throughResources: [{
    resourceStatement: {
      resources: ['resources'],
      resourceTypes: ['resourceTypes'],
    },
  }],
};

Properties

NameTypeDescription
destination?IResolvable | PathStatementRequestPropertyThe destination.
source?IResolvable | PathStatementRequestPropertyThe source.
throughResources?IResolvable | IResolvable | ThroughResourcesStatementRequestProperty[]The through resources.

destination?

Type: IResolvable | PathStatementRequestProperty (optional)

The destination.


source?

Type: IResolvable | PathStatementRequestProperty (optional)

The source.


throughResources?

Type: IResolvable | IResolvable | ThroughResourcesStatementRequestProperty[] (optional)

The through resources.