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 folks, basically I am working on a project and facing some issue :
while executing the code of bulkupload.ts I am getting this error
throw new Error(`There is already a Construct with name...
0
answers
0
votes
135
views
asked 2 months agolg...
Hey, so I thought (based on everything I've read/watched) that the CDK is very able to both create an amplify App and link the backend to other elements.
I can deploy my CDK app. It successfully...
0
answers
0
votes
98
views
asked 2 months agolg...
I have created a glue trigger using cdk. My question is how can I deactivate this trigger using CDK. Here is my code -
```
const myTrigger = new CfnTrigger(this,`my-trigger-dev`, {
name:...
1
answers
0
votes
193
views
asked 2 months agolg...
I have an EC2 Image Builder pipeline created via CDK Typescript. Every time I update a component or the recipe by updating base image id for example I have to update the component version, which makes...
1
answers
0
votes
240
views
asked 2 months agolg...
I'm just starting out with the AWS CDK for Python. I see in the reference, there are several modules that have V2 appended to them:
- `aws_elasticloadbalancing` vs `aws_elasticloadbalancingV2`
-...
1
answers
0
votes
84
views
asked 2 months agolg...
What is the best practice for standard cfn-guard rules such as...
1
answers
0
votes
265
views
asked 2 months agolg...
CDK Bootstrapinglg...
Hi AWS, I was setting up a sample application using `AWS CDK Python`. When I ran the command `cdk deploy`, I got this error:
```
current credentials could not be used to assume...
1
answers
0
votes
208
views
asked 2 months agolg...
Hi,
I have a CDK stack that creates an application load balanced ECS service on a cluster in my VPC. When I create the cluster with hard-coded capacity instances, the services deploy and reach steady...
1
answers
0
votes
376
views
asked 2 months agolg...
Hello ,
How can I get dynamically list of RDS instances IDs to use it as parameter in cloudformation template ?
Something like below but generated dynamically :
```
Parameters:
...
1
answers
0
votes
145
views
asked 2 months agolg...
I have a fairly simple task that I am unable to complete with AWS CDK: Create a subnet and launch an instance in it using an existing VPC.
The existing VPC is a CfnVpc that I obtained using the `cdk...
2
answers
0
votes
312
views
asked 2 months agolg...
Is this a bug in CDK v2 codebuild.Project() construct? The Docker image parameter gets corrupted.lg...
I have this CDKv2 code (fragment shown below):
```
const dockerImageUriParameter = ssm.StringParameter
.fromStringParameterName(
this, 'DockerImageUriParam',...
1
answers
0
votes
148
views
asked 2 months agolg...
I try to create vault with additional policy
```
// Create an AWS Backup vault
const backupVault = new backup.BackupVault(this, this.backup_name + '-vault', {
...
0
answers
0
votes
100
views
asked 2 months agolg...