AWSTemplateFormatVersion: "2010-09-09" Resources: RootRole: Type: 'AWS::IAM::Role' Properties: Policies: - PolicyName: root PolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Action: 'iam:PassRole' Resource: - '1' - '*' - '3'