Kevin Rich
Ensuring CDK Resource Properties
Problem
Using CDK v2, I wanted to ensure all of my lambda functions had the nodejs14.x
runtime. I knew I could ensure that at least one resource was created with the desired property using the aws-cdk-lib/assertions
package like this:
describe('lambdas',() => {
test('should all have NodeJS14.x runtime', () . . .
Posted in: awscdkcdk v2jesttypescript
August 03, 2022
AWS Budgets in CDK
Creating a basic budget using csharp CDK for AWS
Problem
I wanted to create a budget for my AWS account using a CDK Construct.
Prerequisites
- IAM Access to Billing Information
- A CDK Stack to work with
Solution
Use the CfnBudget low level apis
// generate a topic to use
var topic = new Topic(...);
topic.AddSubscription(new . . .
May 17, 2020
Cover image credit: http://whoiskevinrich.com