Skip to main content

network_acl

Gets or updates an individual network_acl resource, use network_acls to retrieve a list of resources or to create or delete a resource.

Overview

Namenetwork_acl
TypeResource
DescriptionSpecifies a network ACL for your VPC.
Idaws.ec2.network_acl

Fields

NameDatatypeDescription
idstring
tagsarrayThe tags for the network ACL.
vpc_idstringThe ID of the VPC for the network ACL.
regionstringAWS region.

Methods

NameAccessible byRequired Params
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT Example

SELECT
region,
id,
tags,
vpc_id
FROM aws.ec2.network_acl
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

Permissions

To operate on the network_acl resource, the following permissions are required:

Read

ec2:DescribeNetworkAcls,
ec2:DescribeTags

Update

ec2:DescribeNetworkAcls,
ec2:DeleteTags,
ec2:CreateTags