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...

AWS::EC2::NetworkAcl

Creates a new network ACL in a VPC.

Syntax

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

Properties

Tags

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.

Update requires: no interruption

Required: No

Type: List of EC2 Tags

VpcId

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

Required: Yes

Type: String

Return Values

Ref

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.

Example

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

See Also