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.
I have a CDK script where I want to have one click set up and destruction of the following:
- Create an EFS
- Create access points on that EFS
- Create a file system policy that assigns rules about...
1
answers
0
votes
295
views
asked 9 months agolg...
Hello. I am attempting to write CDK code to populate a DynamoDB table. The table has several attributes, including a binary attribute:
new AwsCustomResource(this, id, {
onCreate: {
...
2
answers
0
votes
345
views
asked 9 months agolg...
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
487
views
asked 9 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
1018
views
asked 9 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
2114
views
asked 9 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
433
views
asked 9 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
750
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...
1
answers
3
votes
177
views
asked 10 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
408
views
asked 10 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
112
views
asked 10 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
2011
views
asked 10 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
774
views
asked 10 months agolg...