| « PreviousNext » | |
![]() ![]() ![]() | 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.
Update requires: no interruption
Required: No.
Type: List of EC2 Tags
The ID of the VPC where the network ACL will be created.
Required: Yes.
Type: String.
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" } ]
}
}
}
} CreateNetworkAcl in the Amazon Elastic Compute Cloud API Reference
Network ACLs in the Amazon Virtual Private Cloud User Guide.