(pipelines): ManualApprovalStep should support SNS notifications
See original GitHub issueDescription
pipelines.ManualApprovalStep
should be able to send an SNS notification to a user when their approval is requested.
Use Case
I’m migrating an old pipelines.CdkPipeline
to pipelines.CodePipeline
. The previous pipeline is using codepipeline_actions.ManualApprovalAction
which supports the above functionality, but the parallel pipelines.ManualApprovalStep
does not.
Proposed Solution
pipelines.ManualApprovalStep
exposes an SNS notification topic property for providing this configuration.
Other information
As a workaround, one could implement a custom Step
that exposes the codepipeline_actions.ManualApprovalAction
for the pipelines.CodePipeline
version.
Acknowledge
- I may be able to implement this feature request
- This feature might incur a breaking change
Issue Analytics
- State:
- Created 2 years ago
- Reactions:13
- Comments:12 (2 by maintainers)
Top Results From Across the Web
CDK Pipeline manual approval step with SNS notification
Between our UAT and Production accounts, a manual approval is implemented, so all code changes need to be approved before going in to...
Read more >Add a manual approval action to a pipeline in CodePipeline
If you want to use Amazon SNS to send notifications when an approval action is ready for review, you must first complete the...
Read more >Integration: AWS CodePipeline Approval - marbot
You need to set up an Amazon SNS topic for this integration! With AWS CodePipeline Approvals, you can add a manual approval step...
Read more >Sending Slack alerts to approve CodePipeline deployments
Our deployment pipeline also happens to deploy the same artefacts ... The approval CodePipeline stage supports notifying an SNS topic (a way ...
Read more >Tag Archives: Amazon SNS - Noise
When the pipeline is run successfully, you will receive another email with ... Amazon Simple Notification Service (Amazon SNS) now supports ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve implemented it via Arbitrary CodePipeline Action/Step. Little blog on it can be found here: https://yvovanzee.nl/cdk-pipeline-manual-approval-step-with-sns-notification
code used is: ` @jsii.implements(pipelines.ICodePipelineActionFactory) class ManualApprovalWithSNSStep(pipelines.Step): “”" Create an Arbitrary CodePipeline step to enable SNS with manual approval https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.pipelines/README.html#arbitrary-codepipeline-actions “”"
`
+1