prefix_lists
Retrieves a list of prefix_lists
in a region
Overview
Name | prefix_lists |
Type | Resource |
Description | Resource schema of AWS::EC2::PrefixList Type |
Id | aws.ec2.prefix_lists |
Fields
Name | Datatype | Description |
---|---|---|
prefix_list_id | string | Id of Prefix List. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | data__DesiredState, region |
list_resource | SELECT | region |
SELECT
Example
SELECT
region,
prefix_list_id
FROM aws.ec2.prefix_lists
WHERE region = 'us-east-1'
Permissions
To operate on the prefix_lists
resource, the following permissions are required:
Create
EC2:CreateManagedPrefixList,
EC2:DescribeManagedPrefixLists,
EC2:CreateTags
List
EC2:DescribeManagedPrefixLists,
EC2:GetManagedPrefixListEntries