AWS CDK in PowerShell
summary
An AWS CDK implementation for PowerShell exists as an open source module that downloads CDK NuGet packages, imports the C# assemblies as DLLs, and exposes three exported functions to scaffold, import packages and install dependencies. Templates include ec2 s3 serverless blank templates so a few dozen lines of PowerShell synthesize hundreds of CloudFormation lines (demo shows ~100 lines → 300–600 lines) and deploy successfully using the AWS CDK CLI with PowerShell 7 and .NET Core 3.1+. The repo lives under AWS samples and uses NuGet for dependencies and the CDK toolkit to synth/deploy. imports C Sharp assemblies via DLLs
AI-written summary · about
chapters (19)
- 0:00AWS CDK in PowerShell
- 2:29Why use AWS CDK with PowerShell
- 6:00PowerShell for CDK advantages
- 8:34AWS CDK PowerShell module
- 10:39Module functions and setup
- 16:24CDK app prerequisites and workflow
- 18:34Live demo setup and import
- 21:01New CDK app with templates
- 24:59Generated CDK app files
- 26:28cdk.json configuration
- 28:15PowerShell code for AWS resources
- 31:03VPC and EC2 in PowerShell
- 34:14Synthesizing CloudFormation templates
- 36:03CDK versus manual CloudFormation
- 38:10Modify CDK and update resources
- 41:03Customizing subnet configurations
- 42:05Q&A on translating infrastructure
- 43:10Resource naming in CDK
- 44:13Next steps and contribution
related talks
01h 27mUnleash your PowerShell with AWS Lambda and Serverless Computing
22mCrafting Kubernetes with Functions:EKS and the CDK f
30mServerless DX done right
45mPlatform PowerShell
27mInfrastructure as Code for React Application on AWS Written in TypeScript
29mAccelerate serverless deployments using HashiCorp Terraform in AWS
21mInfrastructure as Code with a Node Focus
44mProject Tye from Develop to Delivery
