CfnPreparedStatementProps

class aws_cdk.aws_athena.CfnPreparedStatementProps(*, query_statement, statement_name, work_group, description=None)

Bases: object

Properties for defining a CfnPreparedStatement.

Parameters:
  • query_statement (str) – The query string for the prepared statement.

  • statement_name (str) – The name of the prepared statement.

  • work_group (str) – The workgroup to which the prepared statement belongs.

  • description (Optional[str]) – The description of the prepared statement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.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_athena as athena

cfn_prepared_statement_props = athena.CfnPreparedStatementProps(
    query_statement="queryStatement",
    statement_name="statementName",
    work_group="workGroup",

    # the properties below are optional
    description="description"
)

Attributes

description

The description of the prepared statement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.html#cfn-athena-preparedstatement-description

query_statement

The query string for the prepared statement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.html#cfn-athena-preparedstatement-querystatement

statement_name

The name of the prepared statement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.html#cfn-athena-preparedstatement-statementname

work_group

The workgroup to which the prepared statement belongs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.html#cfn-athena-preparedstatement-workgroup