Skip to content

Releases: grigsos/openAQ-db

v1.0.0: Other files

20 Apr 15:37
Compare
Choose a tag to compare

Upload this to deployment package to Lambda, change environmental variables to fit the ones in constants

TABLE_NAME: str = os.environ.get('dynamoDB_TABLE_NAME')
REGION_NAME: str = os.environ.get('REGION_NAME')
COUNTRY_ID: str = os.environ.get('COUNTRY_ID')
HOURS_THRESHOLD: int = int(os.environ.get('HOURS_THRESHOLD', '5'))
MUTEX_KEY: int = int(os.environ.get('MUTEX_KEY'))
PARTITION_KEY: str = os.environ.get('PARTITION_KEY')