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
Name | network_acl |
Type | Resource |
Description | Specifies a network ACL for your VPC. |
Id | aws.ec2.network_acl |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
tags | array | The tags for the network ACL. |
vpc_id | string | The ID of the VPC for the network ACL. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
get_resource | SELECT | data__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