Amazon Athena Construct Library
This module is part of the AWS Cloud Development Kit project.
ts
import * as athena from 'aws-cdk-lib/aws-athena';
python
import aws_cdk.aws_athena as athena
java
import software.amazon.awscdk.services.athena.*;
csharp
using Amazon.CDK.AWS.Athena;
go
import athena "github.com/aws/aws-cdk-go/awscdk"
There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:
- Search Construct Hub for Athena construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::Athena resources directly.
There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.
For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::Athena.
(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)
Types
| Name | Kind | Summary |
|---|---|---|
CfnCapacityReservation | Construct (L1) | Specifies a capacity reservation with the provided name and number of requested data processing units. |
CfnDataCatalog | Construct (L1) | The AWS::Athena::DataCatalog resource specifies an Amazon Athena data catalog, which contains a name, description, type, parameters, and tags. |
CfnNamedQuery | Construct (L1) | The AWS::Athena::NamedQuery resource specifies an Amazon Athena saved query, where QueryString contains the SQL query statements that make up the query. |
CfnPreparedStatement | Construct (L1) | Specifies a prepared statement for use with SQL queries in Athena. |
CfnWorkGroup | Construct (L1) | The AWS::Athena::WorkGroup resource specifies an Amazon Athena workgroup, which contains a name, description, creation time, state, and other configuration, listed under WorkGroupConfiguration . |
CfnCapacityReservation.CapacityAssignmentConfigurationProperty | Struct | Assigns Athena workgroups (and hence their queries) to capacity reservations. |
CfnCapacityReservation.CapacityAssignmentProperty | Struct | A mapping between one or more workgroups and a capacity reservation. |
CfnCapacityReservationProps | Struct | Properties for defining a CfnCapacityReservation. |
CfnDataCatalogProps | Struct | Properties for defining a CfnDataCatalog. |
CfnNamedQueryProps | Struct | Properties for defining a CfnNamedQuery. |
CfnPreparedStatementProps | Struct | Properties for defining a CfnPreparedStatement. |
CfnWorkGroup.AclConfigurationProperty | Struct | Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results, including data files inserted by Athena as the result of statements like CTAS or INSERT INTO. |
CfnWorkGroup.ClassificationProperty | Struct | A classification refers to a set of specific configurations. |
CfnWorkGroup.CloudWatchLoggingConfigurationProperty | Struct | Configuration settings for delivering logs to Amazon CloudWatch log groups. |
CfnWorkGroup.CustomerContentEncryptionConfigurationProperty | Struct | Specifies the customer managed KMS key that is used to encrypt the user's data stores in Athena. |
CfnWorkGroup.EncryptionConfigurationProperty | Struct | If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE_KMS or CSE_KMS ) and key information. |
CfnWorkGroup.EngineConfigurationProperty | Struct | The engine configuration for the workgroup, which includes the minimum/maximum number of Data Processing Units (DPU) that queries should use when running in provisioned capacity. |
CfnWorkGroup.EngineVersionProperty | Struct | The Athena engine version for running queries, or the PySpark engine version for running sessions. |
CfnWorkGroup.ManagedLoggingConfigurationProperty | Struct | Configuration settings for delivering logs to Amazon S3 buckets. |
CfnWorkGroup.ManagedQueryResultsConfigurationProperty | Struct | The configuration for storing results in Athena owned storage, which includes whether this feature is enabled; |
CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty | Struct | Indicates the encryption configuration for Athena Managed Storage. |
CfnWorkGroup.MonitoringConfigurationProperty | Struct | Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc. |
CfnWorkGroup.ResultConfigurationProperty | Struct | The location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query and calculation results. |
CfnWorkGroup.ResultConfigurationUpdatesProperty | Struct | The information about the updates in the query results, such as output location and encryption configuration for the query results. |
CfnWorkGroup.S3LoggingConfigurationProperty | Struct | Configuration settings for delivering logs to Amazon S3 buckets. |
CfnWorkGroup.WorkGroupConfigurationProperty | Struct | The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified. |
CfnWorkGroup.WorkGroupConfigurationUpdatesProperty | Struct | The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified. |
CfnWorkGroupProps | Struct | Properties for defining a CfnWorkGroup. |