AWS

Download 287
Last updated Feb 21, 2024

aws-ec2-network-acls

Describes one or more of your AWS EC2 network ACLs.

aws-ec2-network-acls [profile=PROFILE] [region=REGION]
profile=PROFILE
The identifier of AWS connect profile
region=REGION
AWS region

AWS IAM Policy

To use this command, you must allow the below permissions in your AWS IAM policy:

  • ec2:DescribeNetworkAcls

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
network_acl_idStringNetwork ACL ID
defaultBoolDefault
owner_idStringOwner ID
vpc_idStringVPC ID
entriesListEntriesElements with rule_no, rule_action, protocol, egress, cidr_block, ipv6_cidr_block, port_from, port_to, icmp_code, and icmp_type properties.
associationsListAssociationsElements with acl_id, acl_assoc_id, and subnet_id properties.
tagsListTagsElements with key and value properties.