stored_query
Gets an individual stored_query
resource
Overview
Name | stored_query |
Type | Resource |
Description | stored_query |
Id | awscc.config.stored_query |
Fields
Name | Datatype | Description |
---|---|---|
query_arn | string | |
query_id | string | |
query_name | string | |
query_description | string | |
query_expression | string | |
tags | array | The tags for the stored query. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
query_arn,
query_id,
query_name,
query_description,
query_expression,
tags
FROM awscc.config.stored_query
WHERE data__Identifier = '<QueryName>';
Permissions
To operate on the stored_query
resource, the following permissions are required:
Read
config:GetStoredQuery,
config:ListTagsForResource
Update
config:PutStoredQuery,
config:GetStoredQuery,
config:TagResource,
config:UntagResource,
config:ListTagsForResource
Delete
config:DeleteStoredQuery,
config:UntagResource