AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Config::StoredQuery

CfnStoredQuery

Provides the details of a stored query.

Import

import { CfnStoredQuery } from 'aws-cdk-lib/aws-config';

Or use the module namespace:

import * as config from 'aws-cdk-lib/aws-config';
// config.CfnStoredQuery

Properties

Configuration passed to the constructor as CfnStoredQueryProps.

queryExpressionRequired
string

The expression of the query. For example, `SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.`

queryNameRequired
string

The name of the query.

queryDescriptionOptional
string

A unique description for the query.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter