Questions tagged with AWS Cloud Development Kit (CDK)
Content language: English
Select up to 5 tags to filter
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
Currently, I have my code pipeline set up, and it just deploy the stack and the lambda function to the region(ap-north-east) in which I have set up in the aws config in AWS CLI. How can I create...
1
answers
0
votes
284
views
asked 7 months agolg...
I am using aws cdk with typescript to develop, and I want to use axios in my lambda function
I encoutered error
**{
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find...
1
answers
0
votes
526
views
asked 7 months agolg...
Hi!
I'm working on an app which uses a passwordless auth solution (via emails).
I configured my serverless infrastructure, everything works fine except one thing :(
My Cognito UserPool is ok but I...
3
answers
0
votes
410
views
asked 7 months agolg...
I'm trying to add a Global Secondary Index to an existing DynamoDB table that is defined thusly in the CDK:
```
const itemsTable = new Table(this, config.DYNAMODB_ID, {
tableName:...
1
answers
0
votes
482
views
asked 7 months agolg...
I am trying to create CloudWatch alarms for specific API Gateway methods. I am using the Javascript CDK.
I can create alarms at the "API" level and get the expected alarms using the following code....
1
answers
0
votes
204
views
asked 7 months agolg...
Hi,
I have a DynamoDB in account B that has a stream enabled. On account B, I have an IAM role with permissions that allow a lambda to be triggered on a stream event:
```
{
"Version":...
2
answers
-1
votes
370
views
asked 7 months agolg...
Let's assume two StackSets, "BucketStack" and "LambdaStack".
* BucketStack get's deployed to account A, region us-west-1, we have now instance Bucket1 with output bucketArn
* LambdaStack get's...
1
answers
0
votes
240
views
asked 7 months agolg...
Good morning team,
The security team mandates scanning our CDK code for security measures to avoid deploying potentially harmful code.
Do you have recommendations or best practices for tools that...
2
answers
0
votes
257
views
asked 7 months agolg...
Hi,
We are launching stacks using service catalog (via the Java client, as it happens). We'd like to enable termination protection for each stack that gets launched.
I'm struggling to find out...
1
answers
0
votes
243
views
asked 7 months agolg...
Hi,
I created a bunch of LakeFormation tags and trying to associate them with Tables. TableResourceProperty class has a **name** parameter or **table_wildcard** .
With name, tag will only be...
1
answers
0
votes
302
views
asked 7 months agolg...
I created an Athena table using Glue
```
import * as glue from '@aws-cdk/aws-glue-alpha'
const dataWarehouse = new glue.Table(this, `data_warehouse`, {
database: db,
tableName:...
0
answers
0
votes
83
views
asked 7 months agolg...
I've been trying to set up a render farm with aws rfdk but even the basic code copied directly from the official "Getting started" guide doesn't work.
I get the following error
```
7:15:02 AM |...
3
answers
0
votes
250
views
asked 7 months agolg...