What statements AWS IAM policies are consist of?
Answer
- Sid: identifier of the statement (optional)
- Effect: allow or deny access
- Action: list of actions (to deny or allow)
- Resource: a list of resources to which the actions are applied
- Principal: role or account or user to which to apply the policy
- Condition: conditions to determine when the policy is applied (optional)