AWS::Athena::NamedQueryThe `AWS::Athena::NamedQuery` resource specifies an Amazon Athena saved query, where `QueryString` contains the SQL query statements that make up the query.
import { CfnNamedQuery } from 'aws-cdk-lib/aws-athena';Or use the module namespace:
import * as athena from 'aws-cdk-lib/aws-athena';
// athena.CfnNamedQueryConfiguration passed to the constructor as CfnNamedQueryProps.
databaseRequiredstringThe database to which the query belongs.
queryStringRequiredstringThe SQL statements that make up the query.
descriptionOptionalstringThe query description.
nameOptionalstringThe query name.
workGroupOptionalstring | IWorkGroupRefThe name of the workgroup that contains the named query.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-athenaAWS::Athena::NamedQuery