Is AthenaDynamoDBConnector available for CDK

0

Can the SAM Lambda AthenaDynamoDBConnector (Athena DynamoDB connector) be available for CDK? Currently it can only be deployed manually, is there a way to use CDK to deploy it?

已提问 2 年前1434 查看次数
2 回答
1

You can use CfnApplication in the CDK to provision it.

Example code (in typescript):

    import {CfnApplication} from "aws-cdk-lib/aws-sam";

    const spillBucket = new Bucket(this, "SpillBucket")

    new CfnApplication(this, "AthenaToDynamoConnector", {
      location: {
        applicationId: "arn:aws:serverlessrepo:us-east-1:292517598671:applications/AthenaDynamoDBConnector",
        semanticVersion: "2022.34.1"
      },
      parameters: {
        AthenaCatalogName: "somecatalogname",
        SpillBucket: spillBucket.bucketName
      }
    })
AWS
Cody
已回答 2 年前
0

AthenaDynamoDBConnector is available in the Serverless Application Repository. Please refer to Deploying a serverless application using AWS CDK to learn more about deploying it through CDK.

AWS
支持工程师
Manu_G
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则