feat(sns): support cross-region subscription on imported topics#4917
feat(sns): support cross-region subscription on imported topics#4917
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.
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.
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