aws-sns: 'autoCreatePolicy' for the imported topic is set to false, #21158
Labels
@aws-cdk/aws-sns
Related to Amazon Simple Notification Service
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p2
Describe the feature
Since the 'autoCreatePolicy' for the imported topic is set to false by default, Hence we need to add the policy explicitly.
Use Case
The basic requirement is that I have an SNS Topic created in one App (Core App) and I need to access it in another App (Jobs App).
I have one stack per app.
The issue is:
Proposed Solution
If possible make the property 'autoCreatePolicy' configurable or allow user to set it to true/false as per the use case.
Other Information
No response
Acknowledgements
CDK version used
2.31.2
Environment details (OS name and version, etc.)
macOS 12.3.1
The text was updated successfully, but these errors were encountered: