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 am trying to create event bridge api destination with OAuth authorization.
```
var oAuthAuthorizationProps = new OAuthAuthorizationProps
{
AuthorizationEndpoint = "authorizationEndpoint",
...
1
answers
0
votes
365
views
asked 7 months agolg...
Hi
When I test my lambda function it show the below error
![Enter image description here](/media/postImages/original/IM7upNi2HaR4Gpq9nP8jMMOA)
The lambda layer included axios is already...
0
answers
0
votes
93
views
asked 7 months agolg...
While following the tutorial,
To start the dead-letter queue threshold test, in the test directory, create a new file named dead-letter-queue.test.ts with the following code, then save the...
1
answers
0
votes
186
views
asked 7 months agolg...
Hi team,
is it possible to associate a private REST API GW with an existing AWS WAF knowing that,
- the REST API GW is created via AWS CDK
- the AWS WAF is created via the AWS console
how can I...
1
answers
0
votes
331
views
asked 7 months agolg...
Hi,
We have had a PEN test requirement to enable termination protection on all our EC2 instances.
We have bastion instances managed by the CDK. We fulfilled this requirement as so:
```java
var...
1
answers
0
votes
322
views
asked 7 months agolg...
I have used aws cdk to create a lambda function and now I want to set up a code pipeline for CICD. but I have not clue how to make it works since my lambda has use a 3rd party dependency.
The is my...
1
answers
0
votes
219
views
asked 7 months agolg...
This is my cdk structure
![Enter image description here](/media/postImages/original/IMVq2RivW2QayVpXU7FGFtqQ)
This is the Error I got
![Enter image description...
1
answers
0
votes
431
views
asked 7 months agolg...
I am trying to set the S3 bucket removal policy when I create a new S3 bucket with the aws_cdk.aws_s3 module. This is required so the bucket is deleted when I remove the stack.
According to the...
Accepted AnswerAWS Cloud Development Kit (CDK)
1
answers
0
votes
397
views
asked 7 months agolg...
Hello,
I am encountering an issue while deploying an AWS CDK stack that includes an S3 bucket. The deployment fails with an "Access Denied" error when trying to create the S3 bucket. The exact error...
1
answers
0
votes
1148
views
asked 7 months agolg...
I tried using class ApplicationLoadBalancedFargateService (construct) since I started using CDK recently I end up with errors. I want to configure the following, path="/grapevine/index.jsp" as load...
2
answers
0
votes
598
views
asked 7 months agolg...
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
313
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
562
views
asked 7 months agolg...