-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(sns): support cross-region subscription on imported topics #4917
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
Conversation
Use the 'region' property on subscribing to imported SNS topics so that the user can avail cross-region subscriptions. fixes #3842
|
Thanks so much for taking the time to contribute to the AWS CDK ❤️ We will shortly assign someone to review this pull request and help get it
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
… distinguish imported vs not
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
This reverts commit c53b932.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
| topicArn: props.topic.topicArn, | ||
| rawMessageDelivery: props.rawMessageDelivery, | ||
| filterPolicy: this.filterPolicy, | ||
| region: props.region, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to make sure, if region is the same as the current region, this will still work, correct? Otherwise we might need some exception here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct. I was able to validate this by deploying a template.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Use the 'region' property on subscribing to imported SNS topics so that
the user can avail cross-region subscriptions.
fixes #3842
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license