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
질문됨 4달 전116회 조회
2개 답변
1
수락된 답변

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
전문가
답변함 4달 전
profile picture
전문가
Steve_M
검토됨 4달 전
  • 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
답변함 4달 전
  • The tutorial for creating IAM policy is easy to follow. Thanks!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠