Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Email and slack integration integration cloud formation for bud… #41

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

sakshie95
Copy link
Contributor

What was the problem/requirement? (What/Why)

We've launched Event bridge events for budget thresholds for customers https://docs.aws.amazon.com/deadline-cloud/latest/userguide/budget-threshold-events.html. We need to create a cloudformation template for customers to run on their account to setup consuming these events & sending them as notifications.

What was the solution? (How)

Publishing a CloudFormation Template sample for sending notifications over email and on slack for BudgetThresholdReached events.

What is the impact of this change?

Customers can use this template directly to setup their accounts for getting events as notifications over email and/or slack.

How was this change tested?

Tested this on own account as a customer would. Created the stacks using the CloudFormation Template and was able to get the slack and email notifications over configured channels.

{
  "version": "1.0",
  "source": "custom",
  "id": "1",
  "content": {
    "title": "Deadline Event: Budget Threshold Reached. Budget: budget-xxxxxxxx reached 100%",
    "description": "account: xxxxxxxx. farm: farm-xxxxxxxxxxx"
  }
}

Was this change documented?

Yes Readme files have been updated as necessary


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sakshie95 sakshie95 requested a review from a team as a code owner October 30, 2024 20:42

## Introduction
AWS Deadline Cloud sends events to customer's default event bus https://docs.aws.amazon.com/deadline-cloud/latest/userguide/monitoring-eventbridge.html
This directory holds sample templates customers can use to setup notifications basis events received from Deadline Cloud

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basis -> based on?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either works for me! Done


## Introduction
AWS Deadline Cloud sends events to customer's default event bus https://docs.aws.amazon.com/deadline-cloud/latest/userguide/monitoring-eventbridge.html
This directory holds sample templates customers can use to setup notifications basis events received from Deadline Cloud
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"sample templates" -> "sample Cloud Formation Templates"

through mechanisms like email or slack.

## Setup Instructions
Each template will have its own instructions on how to set up integrations, but in general they follow the below scheme:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Each template" -> "Each Cloud Formation Template"

-> Because many customers use Terraform and other tech too!

a. In Slack, on the left navigation pane, choose Automations.
###### Note: If you do not see Automations in the left navigation pane, choose More, then choose Automations.

b.If AWS Chatbot is not listed, choose the Browse Apps Directory button.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit -> b., missing a space.

@ishasat
Copy link
Contributor

ishasat commented Oct 31, 2024

The file structure for the CloudFormation templates looks good to me 👍

leongdl
leongdl previously approved these changes Oct 31, 2024
@sakshie95 sakshie95 merged commit 0bd5063 into aws-deadline:mainline Nov 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants