What is the difference between IAM policies and resource-based policies?
- IAM policies are attached to identities, while resource-based policies are attached to resources
- IAM policies are managed by AWS, while resource-based policies are managed by users
- IAM policies are only applicable to S3 buckets, while resource-based policies apply to other AWS services
- IAM policies control network traffic, while resource-based policies control resource configurations
IAM policies control access to AWS services and resources, specifying what actions are allowed or denied for IAM users, groups, or roles. Resource-based policies, on the other hand, are attached directly to resources like S3 buckets or Lambda functions, controlling access from other accounts or services.
Loading...
Related Quiz
- What is the primary purpose of AWS Step Functions?
- What is the significance of CloudWatch Alarms in relation to CloudWatch Metrics?
- __________ is a service that provides centralized logging for AWS Lambda functions.
- What types of events can trigger AWS Lambda functions through Amazon API Gateway?
- __________ is a feature of AWS Lambda that allows you to manage and deploy serverless applications.