HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/ec2/create-network-acl.rst
**To create a network ACL**

This example creates a network ACL for the specified VPC.

Command::

  aws ec2 create-network-acl --vpc-id vpc-a01106c2

Output::

  {
      "NetworkAcl": {
          "Associations": [],
          "NetworkAclId": "acl-5fb85d36",
          "VpcId": "vpc-a01106c2",
          "Tags": [],
          "Entries": [
              {
                  "CidrBlock": "0.0.0.0/0",
                  "RuleNumber": 32767,
                  "Protocol": "-1",
                  "Egress": true,
                  "RuleAction": "deny"
              },
              {
                  "CidrBlock": "0.0.0.0/0",
                  "RuleNumber": 32767,
                  "Protocol": "-1",
                  "Egress": false,
                  "RuleAction": "deny"
              }
          ],
          "IsDefault": false
      }  
  }