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.
Hello there, I am writing a AWS CDK app with typescript.
When DynamoDB insert data trigger to create a new EC2 instance, with running some script saved on S3 bucket, and then terminate the...
1
answers
0
votes
449
views
asked 8 months agolg...
Does CDK let you add multiple service principals to a role?
```
const fnRole = new iam.Role(this, "some-role-id", {
roleName: "redirect-function-role",
assumedBy: new...
Accepted AnswerAWS Cloud Development Kit (CDK)
1
answers
0
votes
907
views
asked 8 months agolg...
I am trying to figure out how to write a cloudfront edge function in typescript using cdk 2.94.0. The way you specify these functions is weirder than a regular lambda you'd use with some other...
2
answers
0
votes
1880
views
asked 8 months agolg...
I want to create following trust relationship of IAM role using CDK
```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
...
1
answers
0
votes
375
views
asked 8 months agolg...
I have created an API using CDK and enabled execution log. I am not able to get a solution to add log retention for execution log. Yes, we can use access log with log retention, but I just wanted to...
1
answers
0
votes
684
views
asked 9 months agolg...
Amazon Linux on Cloud9 is woefully out of date. When will we see new versions supported? Is there a work around to get a newer release? The main issue is node.js 16 is deprecated and 18 is not...
0
answers
2
votes
161
views
asked 9 months agolg...
Hello,
I'm working on adaptation of [this](https://aws.amazon.com/blogs/infrastructure-and-automation/run-code-before-terminating-an-ec2-auto-scaling-instance/) article with help of Python CDK. I'm...
2
answers
0
votes
393
views
asked 9 months agolg...
[CDK] Create a Glue Trigger that triggers Glue Crawler after Glue Job is finished successfully.lg...
I want to build a Glue Trigger that triggers Glue Crawler after Glue Job is finished successfully.
I looked over the cfnTrigger and wrote a code for it.
After CDK DEPLOY and finishing Glue Job...
0
answers
0
votes
96
views
asked 9 months agolg...
Hi,
I am building CDK http API. I need to enable cloud watch log though CDK. Please help me with your valuable suggestions. thank you.
1
answers
0
votes
1808
views
asked 9 months agolg...
I am developing a web application within my AWS organization. I have one account to manage domains with Route 53, one for development, and a third for production. I use CDK to deploy my app's AWS...
1
answers
0
votes
689
views
asked 9 months agolg...
Hi,
My CDK deployment failed with `Internal Failure`
as the reason, and on the CloudFormation console, the events only shows
```
The following resource(s) failed to create:...
1
answers
0
votes
326
views
asked 9 months agolg...
Working with the CDK (python), what I have is two containers (EC2 Services) on an EC2 Instance in NetworkMode AWS_VPC. One is supposed to be a REST backend, being reachable from the Internet, one is...
1
answers
0
votes
319
views
asked 9 months agolg...