AWS::Config::StoredQueryProvides the details of a stored query.
import { CfnStoredQuery } from 'aws-cdk-lib/aws-config';Or use the module namespace:
import * as config from 'aws-cdk-lib/aws-config';
// config.CfnStoredQueryConfiguration passed to the constructor as CfnStoredQueryProps.
queryExpressionRequiredstringThe expression of the query. For example, `SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.`
queryNameRequiredstringThe name of the query.
queryDescriptionOptionalstringA unique description for the query.
tagsOptionalCfnTag[]An array of key-value pairs to apply to this resource.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-configAWS::Config::StoredQuery