Skip to content

exanubes/api-gateway-websocket-custom-domain

Repository files navigation

Api Gateway Websocket - Custom Domain

A small demo of adding a custom domain to a Websocket API in AWS Api Gateway using Pulumi. Created alongside a blog post on exanubes.com

Setup

Install dependencies

pnpm install

Add config

pulumi config set certificateArn <certificateArn> --secret
pulumi config set hostedZoneId <hostedZoneId> --secret
pulumi config set domainName <domainName>

Deploy

pulumi up