0 votes
in AWS Access Management by
What are the key elements in the JSON schema of a policy?

1 Answer

0 votes
by

Following are some key elements in a policy JSON schema.

  1. Version - Specifies the version of the policy language.
  2. Statement - Main policy element that contains the following elements. You can have more than one statement in a policy.
  3. Sid - Statement ID that differentiates between statements.
  4. Effect - Indicates if the policy allows or denies access. Possible values are 'Allow' or 'Deny'.
  5. Principal - The account, user, or role for whom access is allowed or denied. This is applicable only for resource-based policies.
  6. Action - Specifies the list of actions that the policy allows or denies.
  7. Resource - Specifies the list of resources to which the policy applies. This is only applicable for IAM permissions policy.
  8. Condition - Specifies the circumstances under which the policy grants permissions.

Related questions

0 votes
asked Aug 10, 2021 in AWS Access Management by rajeshsharma
0 votes
asked Aug 12, 2021 in AWS Access Management by Robindeniel
...