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', () . . .

Read More

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

Solution

Use the CfnBudget low level apis

// generate a topic to use
var topic = new Topic(...);
topic.AddSubscription(new . . .

Read More

May 17, 2020

AWS HTTPS Redirects

and why understanding the Stack Overflow answers are just as important as knowing they are there

I love Azure. Like a lot. As primarily a .NET guy, Azure makes everything pretty much easy. I think AWS wants to be .NET friendly, but they just don't seem to be there yet.

Recently, I was tasked with forcing HTTPS on a .NET Framework site that lives on AWS in Elastic Beanstalk. After some digging and some false starts, I found . . .

Read More

December 12, 2017

Archive

Cover image credit: http://whoiskevinrich.com

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!