"""Config file for lambda function.""" from os import getenv APPLICATION_NAME = "lambda-business-solutions-automations-publishing-client-report" # AWS region configuration AWS_REGION = getenv("AWS_REGION", "us-east-1") # Environment setup ENVIRONMENT = getenv("ENVIRONMENT", "qa") # Configure max threads for the thread pool. # This is used to limit the number of concurrent threads that can be run # during the container lifecycle. MAX_THREADS = int(getenv("MAX_THREADS", 10)) # SNS topic name for publishing client reports. The producer mode of the lambda # will publish messages to this topic, which will then be consumed by the # consumer mode of the lambda. SNS_TOPIC = getenv("SNS_TOPIC", f"{ENVIRONMENT}-publish-client-report") # S3 bucket where the reports will be uploaded S3_BUCKET = getenv("S3_BUCKET", f"{ENVIRONMENT}-publish-client-report")