Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the key elements in the JSON schema of a policy?
Home
AWS Access Management
What are the key elements in the JSON schema of a policy?
0
votes
asked
Aug 1, 2021
in
AWS Access Management
by
rajeshsharma
What are the key elements in the JSON schema of a policy?
json-schema
json-policy
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 1, 2021
by
rajeshsharma
Following are some key elements in a policy JSON schema.
Version - Specifies the version of the policy language.
Statement - Main policy element that contains the following elements. You can have more than one statement in a policy.
Sid - Statement ID that differentiates between statements.
Effect - Indicates if the policy allows or denies access. Possible values are 'Allow' or 'Deny'.
Principal - The account, user, or role for whom access is allowed or denied. This is applicable only for resource-based policies.
Action - Specifies the list of actions that the policy allows or denies.
Resource - Specifies the list of resources to which the policy applies. This is only applicable for IAM permissions policy.
Condition - Specifies the circumstances under which the policy grants permissions.
Related questions
0
votes
Q: Explain the differences between using Apache Drill’s JSON data model and a traditional RDBMS schema-based data model.
asked
Aug 27, 2023
in
Apache Drill
by
john ganales
apachedrill
0
votes
Q: If I change a policy in the policy simulator, do those changes persist in production?
asked
Aug 11, 2021
in
AWS Access Management
by
rajeshsharma
policy-simulator
0
votes
Q: What is a policy summary?
asked
Aug 11, 2021
in
AWS Access Management
by
rajeshsharma
aws-policy
0
votes
Q: What does a policy look like?
asked
Aug 11, 2021
in
AWS Access Management
by
rajeshsharma
aws-policy
0
votes
Q: Can I use a managed policy as a resource-based policy?
asked
Aug 10, 2021
in
AWS Access Management
by
rajeshsharma
resource-base-policy
0
votes
Q: How do I create a customer managed policy?
asked
Aug 10, 2021
in
AWS Access Management
by
rajeshsharma
managed-policy
customer-policy
0
votes
Q: How do I assign permissions using a policy?
asked
Aug 10, 2021
in
AWS Access Management
by
rajeshsharma
permission-policy
0
votes
Q: Can I define a password policy for my user’s passwords?
asked
Aug 3, 2021
in
AWS Access Management
by
rajeshsharma
password-policy
0
votes
Q: What is JSON Schema?
asked
Jul 20, 2020
in
JSON
by
Robindeniel
#json-schema
#schema-json
0
votes
Q: What is the maximum size of the access policy that I can specify when requesting temporary security credentials (either GetFederationToken or AssumeRole)?
asked
Aug 12, 2021
in
AWS Access Management
by
Robindeniel
access-policy
...