IAM Role
Identity and Access Management (IAM) Role
Resource Type
AWS.IAM.Role
Resource ID Format
For IAM Roles, the resource ID is the ARN.
arn:aws:iam::123456789012:role/example-role
Background
An IAM role is an IAM identity that you can create in your account that has specific permissions. AWS Users and services can then assume the role in order to gain those permissions. An IAM role is similar to an IAM user, in that it is an AWS identity with permission policies that determine what the identity can and cannot do in AWS.
Fields
Type
Description
AssumeRolePolicyDocument
String
An IAM Policy dictating which resources can assume this role
Description
String
A description of the role that you provide.
MaxSessionDuration
Int
The maximum session duration (in seconds) for the specified role.
Path
String
The path to the role.
PermissionsBoundary
Map
The ARN and Type of the policy used to set the permissions boundary for the role.
InlinePolicies
Map
A mapping of inline policies keyed by PolicyName with the value of the Policy Document
ManagedPolicyNames
List
The AWS Managed Policy names attached to the role.
Example
Last updated