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개 답변
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠