Skip to main content

Questions tagged [aws-cdk]

The AWS CDK is an infrastructure modeling framework that allows you to define your cloud resources using an imperative programming interface.

0 votes
0 answers
10 views

How do I resolve a Hosted Zone from a CfnParameter value?

I am working on a CDK script that is executed as a part of a Copilot application as an addon. The overall application is configured with a root url that is setup as a Hosted Zone in the same aws ...
Deadron's user avatar
  • 5,249
0 votes
0 answers
27 views

Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap]

I am attempting to deploy an aws lambda function written in golang. However i get the following error: Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap] IntradaySchedulerLfn ...
Kay's user avatar
  • 19.2k
1 vote
0 answers
18 views

AWS SAM build command fails when used with AWS CDK stack (cross-compiled)

I have a simple Go AWS lambda function defined using the AWS CDK. I'm developing on an amd64 mac, but deploying an arm64 lambda. CDK commands all work as expected, and the stack correctly builds the ...
mkmiller6's user avatar
0 votes
0 answers
11 views

AWS CDK Setup cognito + lambda - Forbidden

I'm attempting to set a simple "Hello Word" example where a user can access a lambda endpoint only after authenticating with Cognito via social login. I have all the code which deploys ...
Chris's user avatar
  • 3,617
0 votes
0 answers
15 views

How can I use "SchemaName.TableName" partition key in AWS DMS to migrate data to an Amazon Kinesis data stream?

I'm trying to set up DMS to push data to kinesis stream, with partition keys based on the schema and table name. The intent is to get all cdc events for a given table hitting a single shard, to better ...
sprague44's user avatar
  • 151
0 votes
1 answer
43 views

Github Actions to only apply the review position for specific jobs in a workflow

I am new to GitHub actions. I use it to deploy to an AWS account, a lambda application committed to a GitHub repository. Currently, I am using this workflow below so that only a pull request that is ...
user20358's user avatar
  • 14.5k
0 votes
0 answers
9 views

Cognito details not being passed to Lambda through AppSync

I'm creating an app that utilises Lambda that is called with AppSync (both setup within aws_cdk). In the Lambda's I need to use the logged in user (done via cognito) details within it to retrieve data ...
Reuben's user avatar
  • 25
0 votes
1 answer
28 views

Difference between aws-cdk and aws-cdk-lib packages

In the package.json of my application I see two different packages named aws-cdk and aws-cdk-lib. What is the difference between both of them?
Rama Rahul's user avatar
-4 votes
0 answers
42 views

Disadvantages of Terraform CDK compared to AWS CDK [closed]

Are there any specific disadvantages with Terraform CDK compared to AWS CDK?
Rama Rahul's user avatar
1 vote
0 answers
19 views

Firehose data backup add newline after every record?

I have a kinesis streamer with EventBridge as the Producer and Firehose Data as the consumer. Firehose converts the event json in a parquet file, which can be queried in an athena table. This is done ...
Wolfeius's user avatar
  • 333
0 votes
1 answer
35 views

AWS CDK: How do I create an NsRecord only if it doesn't exist?

In my AWS CDK stack, I have the following, which creates a HostedZone and then associates that zone to an NsRecord as follows: const zone = new route53.PublicHostedZone(this, 'MyHostedZone', { ...
CB_at_Sw's user avatar
  • 337
0 votes
1 answer
20 views

I don't get a notification for compliance change status from aws config

I have tried to to code via cdk an email notification if compliance status of managed rule "maxAccessKeyAge" is non_compliant. I have followed this guide: https://repost.aws/knowledge-center/...
ve05ribu's user avatar
0 votes
1 answer
20 views

CDK ApiGateway JsonSchema from Java class

Has anyone figured out a way to generate the software.amazon.awscdk.services.apigateway.JsonSchema from a Java class for CDK? It would be so nice not to have to manually do it for all the classes. ...
Izak Joubert's user avatar
0 votes
1 answer
23 views

How can I pass AWS construct information to a container build with CDK?

I'm building the IaC for my containerised Vite/React project to deployed to AWS but the issue I've run into is that I can't pass info to my buildargs for the container, which I need to overwrite ...
parislyons's user avatar
0 votes
0 answers
30 views

"Unable to unmarshall input error" with AWS Lambda and form-data (using Postman)

The Problem I am using AWS cdk in Python and deploying a Docker Image on Lambda. I am new to both Docker and AWS so apologies for mistakes in advance. Upon running my Docker Image, and sending a POST ...
Atharva's user avatar

15 30 50 per page
1
2 3 4 5
255