Technical requirements
The recipes in this chapter assume you have a bash shell or equivalent available with the AWS CLI installed (refer to the instructions at https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) with access to AWS. If you’re using Microsoft Windows, you can enable WSL (https://learn.microsoft.com/en-us/windows/wsl/install) or install Git (https://git-scm.com/downloads) to use the bash shell it brings.
Configure the default region and user credentials, ensuring you have enough permissions to use the different services. You can use aws configure
or an AWS CLI profile. Alternatively, you can use environment variables to provide the credentials: AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
, and optionally AWS_SESSION_TOKEN
.
For the recipes that need CDK, you need to install NPM first by downloading it from https://nodejs.org/en/download (in Linux, it’s highly dependent on the GNU Libc version that your OS uses, so you might need...