This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Config::StoredQuery
Provides the details of a stored query.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Config::StoredQuery", "Properties" : { "QueryDescription" :String, "QueryExpression" :String, "QueryName" :String, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::Config::StoredQuery Properties: QueryDescription:StringQueryExpression:StringQueryName:StringTags:- Tag
Properties
QueryDescription-
A unique description for the query.
Required: No
Type: String
Pattern:
[\s\S]*Minimum:
0Maximum:
256Update requires: No interruption
QueryExpression-
The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.Required: Yes
Type: String
Pattern:
[\s\S]*Minimum:
1Maximum:
4096Update requires: No interruption
QueryName-
The name of the query.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9-_]+$Minimum:
1Maximum:
64Update requires: Replacement
-
An array of key-value pairs to apply to this resource.
Required: No
Type: Array of Tag
Maximum:
50Update requires: No interruption
Return values
Ref
Fn::GetAtt
QueryArn-
Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
QueryId-
The ID of the query.