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(aws-codepipeline): support notifications on the ManualApprovalAction #1368

Merged
merged 1 commit into from
Dec 21, 2018

Conversation

skinny85
Copy link
Contributor

@skinny85 skinny85 commented Dec 15, 2018

Fixes #1222


Pull Request Checklist

Please check all boxes, including N/A items:

Testing

  • Unit test and/or integration test added
  • Toolkit change?: integration tests manually executed (paste output to the PR description)
  • Init template change?: coordinated update of integration tests (currently maintained in a private repo).

Documentation

  • README: README and/or documentation topic updated
  • jsdocs: All public APIs documented

Title and description

  • Change type: Title is prefixed with change type:
    • fix(module): <title> bug fix (patch)
    • feat(module): <title> feature/capability (minor)
    • chore(module): <title> won't appear in changelog
    • build(module): <title> won't appear in changelog
  • Title format: Title uses lower case and doesn't end with a period
  • Breaking change?: Last paragraph of description is: BREAKING CHANGE: <describe exactly what changed and how to achieve similar behavior + link to documentation/gist/issue if more details are required>
  • References: Indicate issues fixed via: Fixes #xxx or Closes #xxx

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

@skinny85 skinny85 requested review from RomainMuller and a team as code owners December 15, 2018 02:30
@eladb
Copy link
Contributor

eladb commented Dec 16, 2018

@skinny85 you could use lazy evaluation (new Token(() => renderConfiguration())), which happens during synthesis.

@skinny85
Copy link
Contributor Author

Ah, you're right of course. The limitation about this being used before super returns does not apply inside closures. Thanks!

@skinny85 skinny85 force-pushed the feature/manual-approval-notifications branch from 6f96888 to b731077 Compare December 17, 2018 21:57
@skinny85
Copy link
Contributor Author

Updated with creating the Topic when required.

@skinny85 skinny85 force-pushed the feature/manual-approval-notifications branch from b731077 to c8c3079 Compare December 19, 2018 19:23
@skinny85
Copy link
Contributor Author

Rebased on top of the new master to get the builds going again (master was broken before).

Copy link
Contributor

@eladb eladb left a comment

Choose a reason for hiding this comment

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

README update?

}
}

public get notificationTopic(): sns.TopicRef | undefined {
Copy link
Contributor

Choose a reason for hiding this comment

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

docs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added

@skinny85 skinny85 force-pushed the feature/manual-approval-notifications branch from c8c3079 to ef7e20b Compare December 21, 2018 00:06
@skinny85
Copy link
Contributor Author

Added documentation, including updating the ReadMe.

@skinny85 skinny85 merged commit 068fa46 into aws:master Dec 21, 2018
@skinny85 skinny85 deleted the feature/manual-approval-notifications branch December 21, 2018 18:00
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CodePipeline Manual Approval Notifications
3 participants