Lambda function that responds to slack events
This function is intended for use with this project's API Gateway module. An API Gateway endpoint will be configured as the target slack integration's Interactive Component Request URL, so that on receipt of a slack event this function will:
- Determine if the received slack event is valid
- And if so provide a target step function with a wait token extracted from the response.
No requirements.
Name |
Description |
Type |
Default |
Required |
artifacts_bucket_name |
Name of the artifacts bucket |
string |
n/a |
yes |
slack_api_token |
API token used by the slack client |
string |
n/a |
yes |
step_function_arn |
State machine ARN that the api gateway is able to perform actions against |
string |
n/a |
yes |
log_level |
Log level of the lambda output, one of: Debug, Info, Warning, Error, or Critical |
string |
"Info" |
no |
project_name |
Name of the project |
string |
"ldap-maintainer" |
no |
slack_listener_api_endpoint_arn |
ARN of the slack listener API endpoint |
string |
"" |
no |
slack_signing_secret |
The slack application's signing secret |
string |
"" |
no |
tags |
Map of tags to assign to this module's resources |
map(string) |
{} |
no |