Alert Trigger that Sends alert messages to Alert Kinesis Stream
If this project is deployed in an account that is different from the main account where the Alert System was deployed, we need to add a permission for the account to access the Destination in the main account.
-
Go to the Lambda console of the main account and ‘us-east-1’ region
-
Find a function called ‘SungardAS-Alerts- Permission-xxxx’ and configure the test event as below:
{
"region": "<region name where this project is deployed>",
"account": "<account number where this project is deployed>",
"destinationName": "<destination name defined in main Alert System; 'alertDestination' if not changed>"
}
- Run Test to execute this lambda function
Create a stack using 'codepipeline.yaml' using below input values
Input Parameter Values
-
CloudWatchLogDestinationArn:
Value of
CloudWatchDestinationArn
in 'Outputs' ofSungardAS-aws-services-alerts(-destination)
stack in the main account'ssame region
with one where this project is deployed -
CloudWatchLogGroupName:
Name of a Cloudwatchlog Group where this trigger sends alert messages
-
GitHubPersonalAccessToken:
Access Token
for CodeBuild to access to the this Github repository. (See here to find how to generate the access token). -
GitHubSourceRepositoryBranch:
master
-
GitHubSourceRepositoryName:
aws-services-alerts-trigger
-
GitHubSourceRepositoryOwner:
SungardAS
-
ProjectImage:
aws/codebuild/nodejs:4.3.2
This project is maintained by the Labs group at Sungard Availability Services
GitHub: https://sungardas.github.io