aws-cdk-lib.aws_athena.CfnNamedQueryProps

interface CfnNamedQueryProps

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

Properties for defining a CfnNamedQuery.

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 cfnNamedQueryProps: athena.CfnNamedQueryProps = {
  database: 'database',
  queryString: 'queryString',

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

Properties

NameTypeDescription
databasestringThe database to which the query belongs.
queryStringstringThe SQL statements that make up the query.
description?stringThe query description.
name?stringThe query name.
workGroup?stringThe name of the workgroup that contains the named query.

database

Type: string

The database to which the query belongs.


queryString

Type: string

The SQL statements that make up the query.


description?

Type: string (optional)

The query description.


name?

Type: string (optional)

The query name.


workGroup?

Type: string (optional)

The name of the workgroup that contains the named query.