AWS::IAM::ServiceLinkedRoleResource Type definition for AWS::IAM::ServiceLinkedRole
3 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AWSServiceName | string | Create-onlyWrite-only |
CustomSuffix | string | Create-onlyWrite-only |
Description | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
RoleName | string | The name of the role. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IAM::ServiceLinkedRole
Resources:
MyResource:
Type: AWS::IAM::ServiceLinkedRole
Properties:
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
iam:CreateServiceLinkedRoleiam:GetRoleiam:GetRoleiam:UpdateRoleiam:GetRoleiam:DeleteServiceLinkedRoleiam:GetServiceLinkedRoleDeletionStatusiam:GetRoleEverything you need to know about IAM on one page. HD quality, print-friendly.
Download Free InfographicRoleNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
CustomSuffixAWSServiceName