aws-cdk-lib.aws_ec2.CfnNetworkAclProps

interface CfnNetworkAclProps

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

Properties for defining a CfnNetworkAcl.

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 cfnNetworkAclProps: ec2.CfnNetworkAclProps = {
  vpcId: 'vpcId',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
vpcIdstringThe ID of the VPC for the network ACL.
tags?CfnTag[]The tags for the network ACL.

vpcId

Type: string

The ID of the VPC for the network ACL.


tags?

Type: CfnTag[] (optional)

The tags for the network ACL.