From the course: Learning Amazon Web Services (AWS) for Developers

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Roles and policies

Roles and policies

- [Instructor] In the previous video, we talked about users and user groups, and how they use policies to give them permissions into other services. Now we're going to talk about roles. Roles are adopted by services that don't necessarily have a user associated with them. They're just going to be run either periodically or when they're hit from an API, whatever it is, this service is going to run and it needs some permissions. A real good example is a Lambda. Lambdas often need functionality into other services, like an S3 bucket or a DynamoDB table. So I'm going to create a role to kind of look at how that works. So the first thing I want to do is I'm going to use AWS S3 service. And I'm going to pick Lambda right here. So my Lambda that's going to use this role needs some permissions. So I'm going to click Next, and give it those permissions. Let's say it needs to access a DynamoDB table. So I'm going to use a…

Contents