AWS CloudFormation
User Guide (API Version 2010-05-15)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...


Creates a new network ACL in a VPC.


   "Type" : "AWS::EC2::NetworkAcl",
   "Properties" : {
      "Tags" : [ EC2 Tags ],
      "VpcId" : String



The tags you want to attach to this resource.

For more information about tags, go to Using Tags in the Amazon Elastic Compute Cloud User Guide.

Required: No

Type: List of EC2 Tags

Update requires: No interruption


The ID of the VPC where the network ACL will be created.

Required: Yes

Type: String

Update requires: Replacement

Return Values


When the logical ID of this resource is provided to the Ref intrinsic function, it returns the resource name.

For more information about using the Ref function, see Ref.


   "AWSTemplateFormatVersion" : "2010-09-09",
   "Resources" : {
      "myNetworkAcl" : {
         "Type" : "AWS::EC2::NetworkAcl",
         "Properties" : {
            "VpcId" : { "Ref" : "myVPC" },
            "Tags" : [ { "Key" : "foo", "Value" : "bar" } ]

See Also