Is there any way to create DataBase and Table in Amazon Athena using CloudFormation. I referred to AWS documentation and there seems to be only one resource which can be created using CloudFormation.
Ref :
现在可以通过 Glue 数据目录在 CloudFormation 中创建 Athena 表: https : //docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
I think its possible with ( https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Athena.html ) AWS::Athena::WorkGroup & AWS::Athena::NamedQuery
**NamesQuery - where you will provide your SQL/DDL to create the table.
Example from AWS
https://athena-in-action.workshop.aws/20-howtostart/201-self-paced/2013-cloudformation.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.