AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Athena::PreparedStatement

CfnPreparedStatement

Specifies a prepared statement for use with SQL queries in Athena.

Import

import { CfnPreparedStatement } from 'aws-cdk-lib/aws-athena';

Or use the module namespace:

import * as athena from 'aws-cdk-lib/aws-athena';
// athena.CfnPreparedStatement

Properties

Configuration passed to the constructor as CfnPreparedStatementProps.

queryStatementRequired
string

The query string for the prepared statement.

statementNameRequired
string

The name of the prepared statement.

workGroupRequired
string | IWorkGroupRef

The workgroup to which the prepared statement belongs.

descriptionOptional
string

The description of the prepared statement.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter