-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
CodePipeline Manual Approval Notifications #1222
Comments
How about this API @moofish32 ? export interface ManualApprovalActionProps extends actions.CommonActionProps,
actions.CommonActionConstructProps {
/**
* Optional SNS topic to send notifications to when an approval is pending.
*/
notificationTopic?: sns.TopicRef;
/**
* A list of email addresses to subscribe to notifications when this Action is pending approval.
* If this has been provided, then you must also provide the `notificationTopic` property.
*/
notifyAddresses?: string[];
} Thoughts? |
Why not just create a topic if one is not provided? |
I'm 50/50 on |
Slick. Haven't thought about this possibility, but I like it. @moofish32 sure, |
Right now we can't fully configure notifications for Manual approvals because we are missing the properties in:
The two extended Props objects do not enable us to use the
configuration
property of CodePipeline Actions.The first recommendation via @skinny85 in gitter is that we should add a property to pass in
TopicRef
toManualApprovalActionProps
. During the discussion we agreed that it might also make sense for us to create aManualApprovalWithEmailNotifcationAction
(naming open for discussion). This action would instead take a list of emails and add subscriptions for each to an SNS topic that was created for the user. This seems to be a very common use case.I'm not sure how we want to view support for a generic ARN vs LambdaRef etc at this point. For now the SNS Topic seems the most logical. Of course leaving the Slack discussion off the table for the moment, but we are all aware of its popularity.
The text was updated successfully, but these errors were encountered: