Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 673

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**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
      }  
  }