aws-cdk-lib.aws_athena.CfnPreparedStatementProps

interface CfnPreparedStatementProps

LanguageType name
.NETAmazon.CDK.AWS.Athena.CfnPreparedStatementProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsathena#CfnPreparedStatementProps
Javasoftware.amazon.awscdk.services.athena.CfnPreparedStatementProps
Pythonaws_cdk.aws_athena.CfnPreparedStatementProps
TypeScript aws-cdk-lib » aws_athena » CfnPreparedStatementProps

Properties for defining a CfnPreparedStatement.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_athena as athena } from 'aws-cdk-lib';
const cfnPreparedStatementProps: athena.CfnPreparedStatementProps = {
  queryStatement: 'queryStatement',
  statementName: 'statementName',
  workGroup: 'workGroup',

  // the properties below are optional
  description: 'description',
};

Properties

NameTypeDescription
queryStatementstringThe query string for the prepared statement.
statementNamestringThe name of the prepared statement.
workGroupstringThe workgroup to which the prepared statement belongs.
description?stringThe description of the prepared statement.

queryStatement

Type: string

The query string for the prepared statement.


statementName

Type: string

The name of the prepared statement.


workGroup

Type: string

The workgroup to which the prepared statement belongs.


description?

Type: string (optional)

The description of the prepared statement.