According to Amazon Web Services, AWS Adds.NET and Java Support in Cloud Development Kit. Support for.NET (and Java) are two of the most widely used development approaches. This announcement was made last week by Amazon Web Services. The open-source AWS CDK hit general availability last July, sporting an an infrastructure-as-code approach that could initially be used with TypeScript/JavaScript and Python. C# and Java were available in developer previews at the time. AWS cloud developers can use the CDK to model and provision cloud resources using services like AWS CloudFormation. Martin Beeby, AWS’s director of cloud services, stated that the AWS CDK allows you to create, compose, and share custom resources that meet your requirements. The AWS CDK can be used to model a VPC with its associated routing configurations and security configurations. The code could be wrapped into a construct, and shared with the rest. This will allow you to start creating libraries of these constructs which you can use to standardize how your organization creates AWS resources. AWS says defining infrastructure as code enables developers to:

  • Keep application code and infrastructure in the same repository
  • Make infrastructure changes repeatable across multiple environments, AWS accounts, AWS regions.
  • To enable continuous testing, replicate production in a staging area
  • You can replicate production in a performance testing environment that you only use for the time it takes to run a stress test
  • Release infrastructure changes using the same tools that code changes to ensure that deployments include infrastructure upgrades
  • Software development best practices can be applied to infrastructure management. This includes code reviews or deploying small changes often.

Beeby stated that using the AWS CDK allows you to build your application and infrastructure in your favorite IDE using the same programming language you use for your application code. You can code your AWS CDK model either in Java or.NET, which gives you productivity benefits such as code completion and inline documentation. This makes it easier to model your infrastructure. Beeby explains how to use the CDK to create a variety of cloud resources. Beeby concluded that the AWS CDK now supports Java and.NET programming languages, giving you more options for how you build your AWS resources. “Why not download the AWS CDK now and give it a shot in whatever language you prefer?”