HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/ec2/describe-network-acls.rst
**To describe your network ACLs**

The following ``describe-network-acls`` example retrieves details about your network ACLs. ::

    aws ec2 describe-network-acls

Output::

    {
        "NetworkAcls": [
            {
                "Associations": [
                    {
                        "NetworkAclAssociationId": "aclassoc-0c1679dc41EXAMPLE",
                        "NetworkAclId": "acl-0ea1f54ca7EXAMPLE",
                        "SubnetId": "subnet-0931fc2fa5EXAMPLE"
                    }
                ],
                "Entries": [
                    {
                        "CidrBlock": "0.0.0.0/0",
                        "Egress": true,
                        "Protocol": "-1",
                        "RuleAction": "allow",
                        "RuleNumber": 100
                    },
                    {
                        "CidrBlock": "0.0.0.0/0",
                        "Egress": true,
                        "Protocol": "-1",
                        "RuleAction": "deny",
                        "RuleNumber": 32767
                    },
                    {
                        "CidrBlock": "0.0.0.0/0",
                        "Egress": false,
                        "Protocol": "-1",
                        "RuleAction": "allow",
                        "RuleNumber": 100
                    },
                    {
                        "CidrBlock": "0.0.0.0/0",
                        "Egress": false,
                        "Protocol": "-1",
                        "RuleAction": "deny",
                        "RuleNumber": 32767
                    }
                ],
                "IsDefault": true,
                "NetworkAclId": "acl-0ea1f54ca7EXAMPLE",
                "Tags": [],
                "VpcId": "vpc-06e4ab6c6cEXAMPLE",
                "OwnerId": "111122223333"
            },
            {
                "Associations": [],
                "Entries": [
                    {
                        "CidrBlock": "0.0.0.0/0",
                        "Egress": true,
                        "Protocol": "-1",
                        "RuleAction": "allow",
                        "RuleNumber": 100
                    },
                    {
                        "Egress": true,
                        "Ipv6CidrBlock": "::/0",
                        "Protocol": "-1",
                        "RuleAction": "allow",
                        "RuleNumber": 101
                    },
                    {
                        "CidrBlock": "0.0.0.0/0",
                        "Egress": true,
                        "Protocol": "-1",
                        "RuleAction": "deny",
                        "RuleNumber": 32767
                    },
                    {
                        "Egress": true,
                        "Ipv6CidrBlock": "::/0",
                        "Protocol": "-1",
                        "RuleAction": "deny",
                        "RuleNumber": 32768
                    },
                    {
                        "CidrBlock": "0.0.0.0/0",
                        "Egress": false,
                        "Protocol": "-1",
                        "RuleAction": "allow",
                        "RuleNumber": 100
                    },
                    {
                        "Egress": false,
                        "Ipv6CidrBlock": "::/0",
                        "Protocol": "-1",
                        "RuleAction": "allow",
                        "RuleNumber": 101
                    },
                    {
                        "CidrBlock": "0.0.0.0/0",
                        "Egress": false,
                        "Protocol": "-1",
                        "RuleAction": "deny",
                        "RuleNumber": 32767
                    },
                    {
                        "Egress": false,
                        "Ipv6CidrBlock": "::/0",
                        "Protocol": "-1",
                        "RuleAction": "deny",
                        "RuleNumber": 32768
                    }
                ],
                "IsDefault": true,
                "NetworkAclId": "acl-0e2a78e4e2EXAMPLE",
                "Tags": [],
                "VpcId": "vpc-03914afb3eEXAMPLE",
                "OwnerId": "111122223333"
            }
        ]
    }
                  

For more information, see `Network ACLs <https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html>`__ in the *AWS VPC User Guide*.