AWS::EC2::NetworkAclSpecifies a network ACL for your VPC. To add a network ACL entry, see [AWS::EC2::NetworkAclEntry](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkaclentry.html).
2 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
VpcId | string | RequiredCreate-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::NetworkAcl
Resources:
MyResource:
Type: AWS::EC2::NetworkAcl
Properties:
VpcId: "my-vpcid"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:DescribeNetworkAclsec2:DescribeTagsec2:CreateNetworkAclec2:DescribeNetworkAclsec2:CreateTagsec2:DescribeNetworkAclsec2:DeleteTagsec2:CreateTagsec2:DescribeNetworkAclsec2:DeleteTagsec2:DeleteNetworkAclec2:DescribeNetworkAclsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
VpcId