Design Secure Architectures
Which IAM policy element identifies who is allowed or denied access in a resource-based policy?
Show the answer
Correct answerC. Principal
AWhy not this: Resource identifies the resources to which the statement applies.
BWhy not this: Condition specifies circumstances under which the statement applies.
CWhy this is right: Principal specifies the identities or services covered by the permission statement.
DWhy not this: Action identifies the API operations covered by the statement.
Principal identifies the identities or services to which a resource-based policy statement applies. Resource identifies the resources affected, not who can access them.