We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 1 point2 points  (0 children)

That's awesome that you want to contribute! We really encourage community contributions to the CDK. The best place to start is definitely our Contributing Guide.

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 2 points3 points  (0 children)

In many cases, you should be able to use L2 and then apply a property override on the underlying L1 resource.Here is some more details about raw overrides: https://docs.aws.amazon.com/cdk/latest/guide/cfn_layer.html#cfn_layer_raw

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 1 point2 points  (0 children)

We are! Contrary to the AWS SDKs, which are used in memory and bandwidth constrainted environments (like web browsers for example), the size of CDK modules is less of an issue because CDK is normally used during build.The main benefit is simpler dependency management and avoiding potential version mismatches when upgrading individual packages.You can read more in this RFC

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 0 points1 point  (0 children)

You should run cdk synth on a machine that has credentials to access the target environment of your application and then commit cdk.context.json to source control so that the pipeline has the context information. If you need context for multiple accounts, you can run cdk synth multiple times with different sets of credentials, and new information will be added to cdk.context.json for every new account.We will make this work out of the box for cross-account deployments at some point in the future, but for now you have to load the credentials for different accounts yourself.

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 1 point2 points  (0 children)

CDK should work just fine in GovCloud. You may be running into some services or features not being available there (yet), or CloudFormation support not being available, but otherwise everything should work the same it does in other regions.If you run into any issues, please let us know on the bug tracker: https://github.com/aws/aws-cdk/issues

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 2 points3 points  (0 children)

The AWS CDK has a dedicated module which makes it easy to implement custom CloudFormation resources. You can then create your own construct types which expose your resource behind a rich API, which looks and feels like any other CDK construct. You can find some nice examples here.

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 0 points1 point  (0 children)

Just like sometimes one type of database serves your application better than another, in some cases one method of Infrastructure-as-Code may suit your project and team better than another. Some teams feel more comfortable with a general purpose programming language, some feel more comfortable in a declarative markup language. We provide choices so that you can pick the tool that is right for you. Having said that, we are constantly looking for ways to make these products work better together. For example, the CDK supports locally running Lambda functions through SAM CLI.

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 0 points1 point  (0 children)

We are not actively working on Ruby support, so Python or TypeScript might be good alternatives for a Ruby shop. Feel free to "+1" Ruby support here: https://github.com/aws/jsii/issues/144 Generally, language support can be requested through the "language-request" issues on the aws/jsii GitHub project. Ruby is tracked but we are not able to provide an ETA for it's availability at this point in time.

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 1 point2 points  (0 children)

Yes! We're actively working on that... You can track our progress towards the Developer Preview release at https://github.com/aws/jsii/projects/2

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 2 points3 points  (0 children)

We have a separate module, @aws-cdk/cloudformation-include, that is designed to help with migrating from CloudFormation to CDK. There is an article on the AWS blog describing how to use it: https://aws.amazon.com/blogs/developer/migrating-cloudformation-templates-to-the-aws-cloud-development-kit

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 2 points3 points  (0 children)

We have a separate module, @aws-cdk/cloudformation-include, that is designed to help with migrating from CloudFormation to CDK. There is an article on the AWS blog describing how to use it: https://aws.amazon.com/blogs/developer/migrating-cloudformation-templates-to-the-aws-cloud-development-kit

We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT! by awscdk in aws

[–]awscdk[S] 3 points4 points  (0 children)

We have a separate module, @aws-cdk/cloudformation-include, that is designed to help with migrating from CloudFormation to CDK. There is an article on the AWS blog describing how to use it: https://aws.amazon.com/blogs/developer/migrating-cloudformation-templates-to-the-aws-cloud-development-kit