Article for explaining custom policy syntax

0

Can someone recommend articles that explain the syntax of a custom policy so that I can write good custom policy without doing guess work.

For example when do we need to include condition, why is resource normally assigned with *, can we use ARN instead of resource in the policy.

Unfortunately, the article Policies and Permissions does not explain the syntax. Thanks

profile picture
Lottie
gefragt vor 2 Monaten79 Aufrufe
2 Antworten
1
Akzeptierte Antwort

This should help understand the syntax. There are also many policy examples and Policy Generator for you to use as a handy tool to write policies.

profile pictureAWS
EXPERTE
beantwortet vor 2 Monaten
profile picture
EXPERTE
Steve_M
überprüft vor 2 Monaten
  • IAM JSON policy elements: saves my life

1

Hi, hannah

This contains explainations on policy type with writing structure, including code examples https://spacelift.io/blog/iam-policy It includes Conditions examples with filtering on that as well.

If this helps solve your problem, please choose this as the Accepted Answer so others on re:Post may benefit - Thank you!

profile pictureAWS
beantwortet vor 2 Monaten
  • The tutorial for creating IAM policy is easy to follow. Thanks!

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen