interface CfnNamedQueryProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Athena.CfnNamedQueryProps |
![]() | software.amazon.awscdk.services.athena.CfnNamedQueryProps |
![]() | aws_cdk.aws_athena.CfnNamedQueryProps |
![]() | @aws-cdk/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 * as athena from '@aws-cdk/aws-athena';
const cfnNamedQueryProps: athena.CfnNamedQueryProps = {
database: 'database',
queryString: 'queryString',
// the properties below are optional
description: 'description',
name: 'name',
workGroup: 'workGroup',
};
Properties
Name | Type | Description |
---|---|---|
database | string | The database to which the query belongs. |
query | string | The SQL statements that make up the query. |
description? | string | The query description. |
name? | string | The query name. |
work | string | The 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.