Resource-based policies are attached directly to the resources and specify who has what permissions for that resource. Service and principal policies do not attach directly to resources. Instead, service policies dictate the permissions that the service has, while principal policies are attached to IAM users, groups, and roles to specify their permissions.
Learn More
AI Generated Content may display inaccurate information, always double-check anything important.
What is a resource-based policy in AWS?
Can you give an example of when to use a resource-based policy?
What are the main advantages of using resource-based policies?
This question's topic:
AWS Certified Developer Associate DVA-C02 /
Security
Report Issue
Oh snap!
Loading...
Loading...
Join premium for unlimited access and more features
Monthly
$14.99/mo
billed monthly (cancel any time)
3 Month Pass
$34.99
One time purchase Does not auto-renew.
Save $10!
MOST POPULAR
Annual Pass
$59.99
One time purchase Does not auto-renew.
Save $120!
BEST DEAL
Lifetime Pass
$119.99
One time purchase Good for life.
Save $240!
What you get:
Unlimited Questions
Major Voucher Discounts
Advanced PBQs
Zero ads
Track scores
Report Cards
Free tier is limited to 20 questions and limited Performance-based Questions (PBQs) .