CfnStoredQueryProps
- class aws_cdk.aws_config.CfnStoredQueryProps(*, query_expression, query_name, query_description=None, tags=None)
- Bases: - object- Properties for defining a - CfnStoredQuery.- Parameters:
- query_expression ( - str) – The expression of the query. For example,- SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
- query_name ( - str) – The name of the query.
- query_description ( - Optional[- str]) – A unique description for the query.
- tags ( - Optional[- Sequence[- Union[- CfnTag,- Dict[- str,- Any]]]]) – An array of key-value pairs to apply to this resource.
 
- See:
- http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html 
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_config as config cfn_stored_query_props = config.CfnStoredQueryProps( query_expression="queryExpression", query_name="queryName", # the properties below are optional query_description="queryDescription", tags=[CfnTag( key="key", value="value" )] ) - Attributes - query_description
- A unique description for the query. 
 - query_expression
- The expression of the query. - For example, - SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
 - query_name
- The name of the query. 
 - tags
- An array of key-value pairs to apply to this resource.