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?

feita há 2 anos1434 visualizações
2 Respostas
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
respondido há 2 anos
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
ENGENHEIRO DE SUPORTE
Manu_G
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas