feat: add S3 object annotation IAM actions and condition key#238
Conversation
Add Put/Get/Delete/List ObjectAnnotation actions and the s3:x-amz-object-if-match condition key. Register them in the supported action sets and the action condition-key map (versionid, ExistingObjectTag, and x-amz-object-if-match where applicable).
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds four S3 object annotation action constants ( ChangesS3 Object Annotation Policy Support
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Adds the IAM actions for the S3 object annotation APIs and the condition key needed to gate them.
s3:PutObjectAnnotation,s3:GetObjectAnnotation,s3:DeleteObjectAnnotation,s3:ListObjectAnnotationss3:x-amz-object-if-match(added toAllSupportedKeys)SupportedActions,SupportedObjectActions, and the action condition-key map (s3:versionid,s3:ExistingObjectTag,s3:x-amz-object-if-matchper AWS authorization reference)Summary by CodeRabbit