Skip to content
v2.275.0

CfnPreparedStatementProps Struct ​

Properties for defining a CfnPreparedStatement.

Example ​

ts
// 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 ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the prepared statement.
queryStatementstringquery_statementstrqueryStatementStringQueryStatementstringQueryStatement*stringrequired#
The query string for the prepared statement.
statementNamestringstatement_namestrstatementNameStringStatementNamestringStatementName*stringrequired#
The name of the prepared statement.
workGroupstring | IWorkGroupRefwork_grouptyping.Union[str, IWorkGroupRef]workGroupStringWorkGroupstringWorkGroupinterface{}required#
The workgroup to which the prepared statement belongs.