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'm trying to add a Global Secondary Index to an existing DynamoDB table that is defined thusly in the CDK:
```
const itemsTable = new Table(this, config.DYNAMODB_ID, {
tableName:...
1
answers
0
votes
477
views
asked 7 months agolg...
I am trying to create CloudWatch alarms for specific API Gateway methods. I am using the Javascript CDK.
I can create alarms at the "API" level and get the expected alarms using the following code....
1
answers
0
votes
204
views
asked 7 months agolg...
Hi,
I have a DynamoDB in account B that has a stream enabled. On account B, I have an IAM role with permissions that allow a lambda to be triggered on a stream event:
```
{
"Version":...
2
answers
-1
votes
366
views
asked 7 months agolg...
Let's assume two StackSets, "BucketStack" and "LambdaStack".
* BucketStack get's deployed to account A, region us-west-1, we have now instance Bucket1 with output bucketArn
* LambdaStack get's...
1
answers
0
votes
237
views
asked 7 months agolg...
Good morning team,
The security team mandates scanning our CDK code for security measures to avoid deploying potentially harmful code.
Do you have recommendations or best practices for tools that...
2
answers
0
votes
256
views
asked 7 months agolg...
Hi,
We are launching stacks using service catalog (via the Java client, as it happens). We'd like to enable termination protection for each stack that gets launched.
I'm struggling to find out...
1
answers
0
votes
239
views
asked 7 months agolg...
Hi,
I created a bunch of LakeFormation tags and trying to associate them with Tables. TableResourceProperty class has a **name** parameter or **table_wildcard** .
With name, tag will only be...
1
answers
0
votes
301
views
asked 7 months agolg...
I created an Athena table using Glue
```
import * as glue from '@aws-cdk/aws-glue-alpha'
const dataWarehouse = new glue.Table(this, `data_warehouse`, {
database: db,
tableName:...
0
answers
0
votes
83
views
asked 7 months agolg...
I've been trying to set up a render farm with aws rfdk but even the basic code copied directly from the official "Getting started" guide doesn't work.
I get the following error
```
7:15:02 AM |...
3
answers
0
votes
246
views
asked 7 months agolg...
Hi,
I used the nodejs aws cdk to build an ECS service that runs a dockerized nodejs express app. When I test the docker container and code locally I am able to ping the health check just fine....
1
answers
0
votes
429
views
asked 7 months agolg...
Hi,
After a few months of inactivity on our cdk I have tried to run it again however i have an issue with this piece of code:
```
this.elasticIp = new CfnEIP(this,...
6
answers
0
votes
384
views
asked 7 months agolg...
Good morning team,
I implemented a CICD CDK pipeline following this [documentation](https://docs.aws.amazon.com/cdk/v2/guide/cdk_pipeline.html)
```
const pipeline = new pipelines.CodePipeline(this,...
1
answers
0
votes
347
views
asked 8 months agolg...