Skip to content

feat(aws-cognito): send emails with a verified domain#19790

Merged
mergify[bot] merged 11 commits intoaws:masterfrom
hassanazharkhan:19762
Apr 22, 2022
Merged

feat(aws-cognito): send emails with a verified domain#19790
mergify[bot] merged 11 commits intoaws:masterfrom
hassanazharkhan:19762

Conversation

@hassanazharkhan
Copy link
Copy Markdown
Contributor

@hassanazharkhan hassanazharkhan commented Apr 6, 2022

When sending emails with a verified domain, the email address does not need to be verified.
In that case, the identity of the SourceArn in EmailConfiguration is allowed to be set to the domain instead of the email address.

closes #19762


All Submissions:

Adding new Unconventional Dependencies:

  • This PR adds new unconventional dependencies following the process described here

New Features

  • Have you added the new feature to an integration test?
    • Did you use cdk-integ to deploy the infrastructure and generate the snapshot (i.e. cdk-integ without --dry-run)?

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

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Apr 6, 2022

@aws-cdk-automation aws-cdk-automation requested a review from a team April 6, 2022 14:49
@github-actions github-actions bot added the p2 label Apr 6, 2022
Copy link
Copy Markdown
Contributor

@comcalvi comcalvi left a comment

Choose a reason for hiding this comment

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

Looks great! A few minor comments.

@mergify mergify bot dismissed comcalvi’s stale review April 6, 2022 15:56

Pull request has been modified.

@corymhall corymhall changed the title fix(aws-cognito): send emails with a verifed domain feat(aws-cognito): send emails with a verifed domain Apr 6, 2022
@hassanazharkhan hassanazharkhan changed the title feat(aws-cognito): send emails with a verifed domain feat(aws-cognito): send emails with a verified domain Apr 6, 2022
@corymhall
Copy link
Copy Markdown
Contributor

New Features
Have you added the new feature to an integration test?
Did you use cdk-integ to deploy the infrastructure and generate the snapshot (i.e. cdk-integ without --dry-run)?

@hassanazharkhan this would be considered a new feature. Can you add a new integration test for this?

@hassanazharkhan
Copy link
Copy Markdown
Contributor Author

hassanazharkhan commented Apr 6, 2022

@corymhall I was considering this as fix as with current implementation, I'm not able to use SES domain identity, since you're considering this a feat, then It'd definitely require inter.test and README changes. let me add it, thanks so much!

@kmkhr
Copy link
Copy Markdown

kmkhr commented Apr 12, 2022

Hello, @hassanazharkhan.
Thank you for fixing this. Is there any update?
I have the same modification in #19878 and hope it helps.

@hassanazharkhan
Copy link
Copy Markdown
Contributor Author

@kt-hr Tye only thing I need to add is the integ.test and after that this one will be good to merge, I'll try to do that today.

At the same time I'm happy to close this one if you'd like contribute?

Copy link
Copy Markdown
Contributor

@comcalvi comcalvi left a comment

Choose a reason for hiding this comment

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

Looks pretty good overall. This is just a preliminary pass until the code build passes

@hassanazharkhan
Copy link
Copy Markdown
Contributor Author

@comcalvi Would appreciate another pass

Copy link
Copy Markdown
Contributor

@comcalvi comcalvi left a comment

Choose a reason for hiding this comment

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

Looks really good! A few small comments.

Copy link
Copy Markdown
Contributor

@comcalvi comcalvi left a comment

Choose a reason for hiding this comment

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

Please update the PR description to describe these changes.

@mergify mergify bot dismissed comcalvi’s stale review April 16, 2022 13:25

Pull request has been modified.

comcalvi
comcalvi previously approved these changes Apr 21, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 21, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot dismissed comcalvi’s stale review April 21, 2022 18:06

Pull request has been modified.

@hassanazharkhan
Copy link
Copy Markdown
Contributor Author

@comcalvi Can you please re-approve, not sure why the build failed so I just rebase my branch from master it is passed now!

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 22, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 1d2b1d3 into aws:master Apr 22, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 22, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: d20573d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@hassanazharkhan hassanazharkhan deleted the 19762 branch April 25, 2022 03:24
StevePotter pushed a commit to StevePotter/aws-cdk that referenced this pull request Apr 27, 2022
When sending emails with a verified domain, the email address does not need to be verified.
In that case, the identity of the SourceArn in EmailConfiguration is allowed to be set to the domain instead of the email address.

closes [aws#19762](aws#19762)

----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)?
	* [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-cognito): send emails with a verified domain

5 participants