prefix_list
Gets an individual prefix_list
resource
Overview
Name | prefix_list |
Type | Resource |
Description | prefix_list |
Id | awscc.ec2.prefix_list |
Fields
Name | Datatype | Description |
---|---|---|
prefix_list_name | string | Name of Prefix List. |
prefix_list_id | string | Id of Prefix List. |
owner_id | string | Owner Id of Prefix List. |
address_family | string | Ip Version of Prefix List. |
max_entries | integer | Max Entries of Prefix List. |
version | integer | Version of Prefix List. |
tags | array | Tags for Prefix List |
entries | array | Entries of Prefix List. |
arn | string | The Amazon Resource Name (ARN) of the Prefix List. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
prefix_list_name,
prefix_list_id,
owner_id,
address_family,
max_entries,
version,
tags,
entries,
arn
FROM awscc.ec2.prefix_list
WHERE data__Identifier = '<PrefixListId>';
Permissions
To operate on the prefix_list
resource, the following permissions are required:
Read
EC2:GetManagedPrefixListEntries,
EC2:DescribeManagedPrefixLists
Update
EC2:DescribeManagedPrefixLists,
EC2:GetManagedPrefixListEntries,
EC2:ModifyManagedPrefixList,
EC2:CreateTags,
EC2:DeleteTags
Delete
EC2:DeleteManagedPrefixList,
EC2:DescribeManagedPrefixLists