Top "Aws-cdk" questions

The AWS CDK is an infrastructure modeling framework that allows you to define your cloud resources using an imperative programming interface.

Specifying a custom role for lambda with the AWS CDK

I realize it's pretty new but I don't see any examples in any language how you would specify a role …

node.js amazon-web-services aws-lambda aws-cdk
AWS CDK - role and policy creation

How can I translate this CloudFormation to CDK (JavaScript or Java)? I was trying to do it, but this is …

amazon-web-services amazon-cloudformation aws-cdk
How to import existing VPC in aws cdk?

Hi I am working on aws cdk. I am trying to get existing non-default vpc. I tried below options. vpc = …

amazon-web-services amazon-vpc aws-cdk
Add Ingress Rule to Security Groups using AWS CDK

I'm trying to add an ingress rule to a Security Group via the AWS CDK using Python. As per the …

python aws-cdk
How to specify parameter definition in CDK stack?

Use an AWS CloudFormation Parameter section of AWS CDK mentions how to customize your AWS CloudFormation templates. It refers to …

aws-cdk
AWS CDK - How to add an event notification to an existing S3 Bucket

I'm trying to modify this AWS-provided CDK example to instead use an existing bucket. Additional documentation indicates that importing existing …

amazon-web-services aws-cdk
AWS CDK: how do I reference cross-stack resources in same app?

I have an App that has two stacks, both within the same region/account. One of those stacks requires the …

amazon-web-services amazon-cloudformation aws-cdk
How to Import Security group from another stack using #AWS-CDK?

I would like to know how to import security group defined in another stack, and then use in current stack. …

aws-cdk
AWS CDK -- Cannot find module '@aws-cdk/aws-ec2'

I just started playing around with AWS CDK yesterday and I found something very weird. First of all, I'm using …

amazon-web-services amazon-ec2 module aws-cdk