AWS Fundamentals Logo
AWS Fundamentals
AWS::IAM::ServiceLinkedRole

IAM ServiceLinkedRole

Resource Type definition for AWS::IAM::ServiceLinkedRole

Properties

3 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
AWSServiceName
string
Create-onlyWrite-only
CustomSuffix
string
Create-onlyWrite-only
Description
string

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
RoleNamestringThe name of the role.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IAM::ServiceLinkedRole

Resources:
  MyResource:
    Type: AWS::IAM::ServiceLinkedRole
    Properties:
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

iam:CreateServiceLinkedRoleiam:GetRole

read

iam:GetRole

update

iam:UpdateRoleiam:GetRole

delete

iam:DeleteServiceLinkedRoleiam:GetServiceLinkedRoleDeletionStatusiam:GetRole

Get the IAM Cheat Sheet

Everything you need to know about IAM on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceIAM
Properties4
Required0
TaggingNot supported
Primary IDRoleName

Supported Operations

CreateReadUpdateDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

CustomSuffixAWSServiceName

External Links