Questions in 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 am trying to establish a connection from my lambda function to RDS instance (Aurora MySQL) using [TypeORM ](https://typeorm.io/)
Scenario 1:
When trying to connect to RDS instance using...
1
answers
0
votes
219
views
asked 2 months agolg...
Why doesn't this work? It gets stuck in AWS::ECS::Service CREATE_IN_PROGRESS:
```
import * as cdk from 'aws-cdk-lib';
import { StackProps } from 'aws-cdk-lib';
import * as cloudfront from...
1
answers
0
votes
574
views
asked 2 months agolg...
I'm trying to create a simple ECS service exposed to CloudFront via Cloud Map (I don't want an ALB).
Why doesn't this work?
```
import * as cdk from 'aws-cdk-lib';
import { StackProps } from...
1
answers
0
votes
225
views
asked 3 months agolg...
I have created an infrastructure containing a VPC and Subnet and Security group and auto scaling group. Then, I created a Key Pair in the aws management console. then I referenced this Key-Pair in my...
2
answers
0
votes
200
views
asked 3 months agolg...
Hi everyone,
I am working on a small cloud project, the goal of it is to invoke a Lambda function throughout Amazon API Gateway.
Business logic is not implemented yet but Lambda function is going...
1
answers
0
votes
314
views
asked 3 months agolg...
A few weeks ago, I updated my CDK stack to access Cognito via a custom URL (details in https://repost.aws/questions/QUe6Vdvu1HRtWhPgGwOx69SQ).
Last week, after a deployment, the alias...
1
answers
0
votes
381
views
asked 3 months agolg...
![Enter image description here](/media/postImages/original/IMR3FU2MBESHqEfbhUN7B3pA)
![Enter image description here](/media/postImages/original/IMOk8zd8xzTOWnfM0wts-dgg)
I need a little help.
Above...
2
answers
0
votes
474
views
asked 3 months agolg...
Hello everyone!
I'm currently exploring the AWS CDK, and I'm intrigued by the concept of level 2 constructs. Can anyone shed some light on how level 2 constructs are created in the CDK? What are the...
Accepted AnswerAWS Cloud Development Kit (CDK)
1
answers
0
votes
148
views
asked 3 months agolg...
I am using AWS CDK to provision an S3 bucket and host an static website. Code below was already deployed successfully by running `cdk deploy` command.
```
const myBucket = new s3.Bucket(this,...
1
answers
0
votes
211
views
asked 3 months agolg...
Hi,
Can you use CDK to configure AWS openSearch serverless as a data source for AWS managed Grafana?
If so can you provide some sample code or point me in the right direction where it may...
1
answers
0
votes
633
views
asked 3 months agolg...
Hello, I am looking for guidance on how to achieve the following disaster recovery (DR) action using CDK:
Take a cluster snapshot of my RDS cluster and upload it to my DR region.
Thanks.
Accepted AnswerAWS Cloud Development Kit (CDK)
1
answers
0
votes
150
views
asked 3 months agolg...
DataSync Workflowlg...
Hi All recently I have started exploring DataSync Service. I Have 3 doubts that i am not able to find answer off. I would be so very greatfull if somebody could response to my Query
1. Data Sync...
1
answers
0
votes
535
views
asked 3 months agolg...