From the course: AWS Certified Developer - Associate (DVA-C02) Cert Prep

Unlock this course with a free trial

Join today to access over 23,200 courses taught by industry experts.

IAM policy types

IAM policy types

- [Lecturer] In this lecture, we'll discuss what a policy is and its different types. We will also cover how to use an IAM policy with your Amazon EC2 instances, Amazon S3, AWS organizations, and other AWS services. Let's start. In IAM, a policy is an object that defines the permissions of either an IAM identity or an AWS resource. As you know, an IAM identity can be an IAM user, an IAM group, or an IAM role. An AWS resource basically refers to the different AWS services that you can use in your account, such as EC2, S3, RDS, et cetera. An IAM policy contains permissions that explicitly allow or deny access to certain AWS services. It provides fine-grained access control to specific API actions, as well as the AWS resources that the policy should be applied to. For example, you can create a policy that only allows object upload to an S3 bucket by using the S3 PutObject API. You can also define a request…

Contents