Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add AWS SAM Lambda function template for Hue API
- Introduced `packaged-template.yml` with AWS SAM (Serverless Application Model) for deployment. - Defined AWS IAM Role `HueLightingFunctionRole` for the Lambda function with `secretsmanager:GetSecretValue` and `logs:*` permissions. - Specified resources for `hue-api/username` and `hue-api/bridge-ip` secrets within the policy document. - Configured `HueLightingFunction` with a Python 3.12 runtime, 128 MB memory, 3-second timeout, and S3 code URI for Lambda function packaging. - This template enables seamless deployment of the Hue API Lambda function with necessary permissions to access secrets and log actions.
- Loading branch information