Skip to content

Contains the resources to serve maps to public web applications using Amazon Location Service Maps developed using AWS CDK in TypeScript.

License

Notifications You must be signed in to change notification settings

hello-nrfcloud/aws-map

Amazon Location Service Map resources

GitHub Actions semantic-release Renovate @commitlint/config-conventional code style: prettier ESLint: TypeScript

Contains the resources to serve maps to public web applications using Amazon Location Service Maps developed using AWS CDK in TypeScript.

Installation in your AWS account

Setup

Provide your AWS credentials.

Install the dependencies:

npm ci

Deploy

# Configure the stack name
# export MAP_STACK_NAME=...
npx cdk bootstrap # if this is the first time you use CDK in this account
npx cdk deploy --all

Using with a map

Store the mapName output in the parameter registry.

Store the mapRegion output in the parameter registry.

Display the API key using

aws location describe-key --key-name ${MAP_STACK_NAME:-hello-nrfcloud-map}-apiKey | jq '.Key'

Store the API key in the parameter registry as mapApiKey.