Category "aws-cdk"

Trigger an aws-amplify build via aws-cdk

I am creating a aws-amplify app via aws-cdk and everything works fine except it doesn't start a build automatically. If I do a git commit (I have enabled contin

Lambda can't find modules from outer folders when deployed with CDK

I am deploying some apis to API Gateway using cdk. My problem is the file that contains the lambda(index.ts) can't import any files or npm modules outside that

How to install dependencies of lambda functions upon cdk build with AWS CDK

When using AWS SAM I used to run build command which would go through all of my Lambda function packages and install their dependencies (run npm install on them

How to retrieve SecretsManager secret in AWS CDK

I'm setting up a Fargate service in AWS using CDK const albFargateService = new ecs_patterns.ApplicationLoadBalancedFargateService( this, 'FargateServic

Setting API Gateway URL Path Parameter mapping with the CDK

I'm attempting to deploy a greedy path parameter for a proxy endpoint in API Gateway. However every time I deploy the next time I try to use the proxying path,

aws-cdk kms multi-region key. What constructors use to setup regions?

Using AWS CDK we could create multi-region KMS keys by Creating the principal key(pk) with the level 1 constructor CfnKey Creating the replica of the principal

How to create tables in Postgres RDS using CDK?

I created a Postgres RDS database using the CDK. I read the documentation but didn't find a way to create tables through it. The language I'm using is TypeScrip

AWS CDK - How to test a resource has one value within an array of values

I have a test suite for an EC2 Redis construct that tests if the resource has particular IAM policies attached. I can test if it has all of the values within on

How to add a security group to an existing RDS with CDK without cyclic-dependency

I have a multi-stack application where I want to deploy an RDS in one stack and then in a later stack deploy a Fargate cluster that connects to the RDS. Here is

Purpose and scope of AWS CDK bootstrap stack?

The docs on AWS CDK boostrapping state of the cdk bootstrap command: cdk bootstrap Deploys a CDKToolkit CloudFormation stack into the specified environment(s),

Is it possible to deploy a previously aws-cdk synthesized stack?

The aws-cdk allows you to synthesize a stack - which produces a number of files - including a .template.json file. Can this .template.json file be deployed wit

How to install external modules in a Python Lambda Function created by AWS CDK?

I'm using the Python AWS CDK in Cloud9 and I'm deploying a simple Lambda function that is supposed to send an API request to Atlassian's API when an Object is u

AWS CDK: fixed logical ids

Currently logical ID of a resource is formed by concatenating the names of all of the constructs in the resource’s path and appending an eight-character M