CfnStoredQueryMixinProps
- class aws_cdk.mixins_preview.aws_config.mixins.CfnStoredQueryMixinProps(*, query_description=None, query_expression=None, query_name=None, tags=None)
Bases:
objectProperties for CfnStoredQueryPropsMixin.
- Parameters:
query_description (
Optional[str]) – A unique description for the query.query_expression (
Optional[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 (
Optional[str]) – The name of 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.mixins_preview.aws_config import mixins as config_mixins cfn_stored_query_mixin_props = config_mixins.CfnStoredQueryMixinProps( query_description="queryDescription", query_expression="queryExpression", query_name="queryName", 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.