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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ