CfnStoredQueryProps

class aws_cdk.aws_config.CfnStoredQueryProps(*, query_description=None, query_expression, query_name, tags=None)

Bases: object

Properties for defining a AWS::Config::StoredQuery.

Parameters
  • query_description (Optional[str]) – AWS::Config::StoredQuery.QueryDescription.

  • query_expression (str) – AWS::Config::StoredQuery.QueryExpression.

  • query_name (str) – AWS::Config::StoredQuery.QueryName.

  • tags (Optional[Sequence[CfnTag]]) – AWS::Config::StoredQuery.Tags.

Link

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_cdk.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

AWS::Config::StoredQuery.QueryDescription.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html#cfn-config-storedquery-querydescription

Return type

Optional[str]

query_expression

AWS::Config::StoredQuery.QueryExpression.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html#cfn-config-storedquery-queryexpression

Return type

str

query_name

AWS::Config::StoredQuery.QueryName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html#cfn-config-storedquery-queryname

Return type

str

tags

AWS::Config::StoredQuery.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html#cfn-config-storedquery-tags

Return type

Optional[List[CfnTag]]