Skip to main content

stored_query

Gets an individual stored_query resource

Overview

Namestored_query
TypeResource
Descriptionstored_query
Idawscc.config.stored_query

Fields

NameDatatypeDescription
query_arnstring
query_idstring
query_namestring
query_descriptionstring
query_expressionstring
tagsarrayThe tags for the stored query.
regionstringAWS 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