forked from aws-geospatial/amazon-location-samples-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.js
23 lines (16 loc) · 1.35 KB
/
configuration.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
// This configuration file is a single place to provide any values to set up the app
export const READ_ONLY_IDENTITY_POOL_ID = "<your read only identity pool id>"; // REQUIRED - Amazon Cognito id for readonly role
export const WRITE_ONLY_IDENTITY_POOL_ID = "<your write only identity pool id>"; // REQUIRED - Amazon Cognito id for writeonly role
export const REGION = "<your aws region>"; // REQUIRED - Amazon Cognito Region
export const API_KEY = "<your api key>"; // REQUIRED - Amazon Location API key
export const MAP = {
STYLE: "Standard", // REQUIRED - String containing the desired map style name
COLOR_SCHEME: "Light", // REQUIRED - String containing the desired map color scheme
};
export const GEOFENCE = "TrackingAndGeofencingSampleCollection"; // REQUIRED - Amazon Location Service geofence collection resource name
export const TRACKER = "SampleTracker"; // REQUIRED - Amazon Location Service tracker resource name
export const DEVICE_POSITION_HISTORY_OFFSET = 3600; // REQUIRED - Relative time range of Device Position History to display in seconds. Default to 1 hour.
export const KINESIS_DATA_STREAM_NAME =
"TrackingAndGeofencingSampleKinesisDataStream"; // REQUIRED for running the demo - defined in ./cfn_template/kinesisResources.yml