Interview Prep/AWS/Global Infrastructure and IAM Basics

What is a service-linked role?

IntermediateConceptGlobal Infrastructure and IAM Basics
Answer

A role predefined by an AWS service, with a trust policy and permissions fixed by that service, so it can act on your behalf (for example AWSServiceRoleForAutoScaling, AWSServiceRoleForElasticLoadBalancing). You cannot edit its permissions, and you can delete it only when the service no longer uses it.

They are created automatically on first use if the caller has iam:CreateServiceLinkedRole. SCPs do not apply to them.

aws All AWS questions Roadmap: AWS core services

More on Global Infrastructure and IAM Basics