import { SubnetNetworkAclAssociation } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.SubnetNetworkAclAssociationConfiguration passed to the constructor as SubnetNetworkAclAssociationProps.
networkAclRequiredINetworkAclRefThe Network ACL this association is defined for.
subnetRequiredISubnetID of the Subnet.
subnetNetworkAclAssociationNameOptionalstringThe name of the SubnetNetworkAclAssociation. It is not recommended to use an explicit name.
Default: If you don't specify a SubnetNetworkAclAssociationName, AWS CloudFormation generates a
unique physical ID and uses that ID for the group name.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2