Documentation ¶
Overview ¶
Package main compiles to an AWS Lambda handler binary that, when invoked, downloads the Grants.gov database export for the date specified in the "timestamp" field of the invocation event payload. The Lambda function streams the database export file to an object the S3 bucket named by the GRANTS_SOURCE_DATA_BUCKET_NAME environment variable. The resulting S3 object is keyed as "sources/YYYY/mm/dd/grants.gov/archive.zip", where the "YYYY/mm/dd" path components represent the date of the database export.
Click to show internal directories.
Click to hide internal directories.