AsyncAPI.NET icon indicating copy to clipboard operation
AsyncAPI.NET copied to clipboard

feat: extend AWS policy

Open Gadam8 opened this issue 1 year ago • 2 comments

About the PR

The current AWS policy binding configuration doesn't match what is offered by AWS when configuring IAM policies. Condition and Resource are missing and Principal isn't fully fleshed out. e.g. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html#Condition-multiple-conditions & https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html. This PR addresses this by extending the binding configuration for SNS and SQS.

See related JSON bindings PR here - https://github.com/asyncapi/spec-json-schemas/pull/553

Changelog

  • Add: Resource property to AWS Statement class for both SNS and SQS
  • Add: Condition property to AWS Statement class for both SNS and SQS
  • Amend: Changed type for Principal property in AWS Statement to allow for full implementation

Related Issues

N/A

Gadam8 avatar Jul 01 '24 09:07 Gadam8

Great work on the spec side so far! Let me know if you need help on the implementation side 👍

VisualBean avatar Jul 17 '24 09:07 VisualBean

Great work on the spec side so far! Let me know if you need help on the implementation side 👍

Thank you! I've just pushed some changes to align with the recent spec changes. Would appreciate a review and any feedback 🙏

Gadam8 avatar Jul 23 '24 12:07 Gadam8

Only have a few minor things, otherwise its looking great!

VisualBean avatar Aug 14 '24 09:08 VisualBean

@Gadam8 looks great in its current iteration. What do you think?

VisualBean avatar Aug 15 '24 12:08 VisualBean

@Gadam8 looks great in its current iteration. What do you think?

Thank you! Yeah I'm happy with how these changes look 👍 Happy to proceed

Gadam8 avatar Aug 15 '24 13:08 Gadam8

Thanks for the merge @VisualBean! What's the process for releasing a new version? Is it possible to get a beta release now? Thanks 👍

Gadam8 avatar Aug 16 '24 10:08 Gadam8

@Gadam8 looks great in its current iteration. What do you think?

Thank you! Yeah I'm happy with how these changes look 👍 Happy to proceed

Yeah ill rebase it to the vnext branch and release a new beta nuget (probably before end of day today).

Edit: Ive pushed a beta release with the new binding changes.

VisualBean avatar Aug 16 '24 10:08 VisualBean