AWS::Config::StoredQuery - AWS CloudFormation

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: String QueryExpression: String QueryName: String Tags: - Tag

Properties

QueryDescription

A unique description for the query.

Required: No

Type: String

Update 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

Update requires: No interruption

QueryName

The name of the query.

Required: Yes

Type: String

Minimum: 1

Maximum: 64

Pattern: ^[a-zA-Z0-9-_]+$

Update requires: Replacement

Tags

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

Required: No

Type: List of Tag

Update requires: No interruption

Return values

Ref

Fn::GetAtt

QueryArn

Not currently supported by AWS CloudFormation.

QueryId

Not currently supported by AWS CloudFormation.