Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.92 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.92 KB

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.