interface CfnStoredQueryProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Config.CfnStoredQueryProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsconfig#CfnStoredQueryProps |
![]() | software.amazon.awscdk.services.config.CfnStoredQueryProps |
![]() | aws_cdk.aws_config.CfnStoredQueryProps |
![]() | aws-cdk-lib » aws_config » CfnStoredQueryProps |
Properties for defining a CfnStoredQuery
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as config } from 'aws-cdk-lib';
const cfnStoredQueryProps: config.CfnStoredQueryProps = {
queryExpression: 'queryExpression',
queryName: 'queryName',
// the properties below are optional
queryDescription: 'queryDescription',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
query | string | The expression of the query. |
query | string | The name of the query. |
query | string | A unique description for the query. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
queryExpression
Type:
string
The expression of the query.
For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
queryName
Type:
string
The name of the query.
queryDescription?
Type:
string
(optional)
A unique description for the query.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.