boto3 icon indicating copy to clipboard operation
boto3 copied to clipboard

Addition of policy snippet for SNS access policy

Open sciencepal opened this issue 5 months ago • 3 comments

Describe the feature

Currently, the AddPermission feature on SNS topics only allows AWS Account IDs to be added to the policy. However, there have been use cases where I needed to add policy statements with AWS Service principals or specific conditions like Stringequals. Currently the only way to do this is to replace the entire policy. May I request a feature to add a policy blob or support addition of Service principals and conditions?

Use Case

Quite often, I needed to add policy statements with AWS Service principals or specific conditions like Stringequals. Currently the only way to do this is to replace the entire policy.

Proposed Solution

May I request a feature to add a policy blob or support addition of Service principals or conditions?

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

SDK version used

Boto 1.35.22

Environment details (OS name and version, etc.)

MacOS Sonoma 14.6.1

sciencepal avatar Sep 24 '24 22:09 sciencepal