Cloudformation template to create a role for SQS
问题 I am trying to create a role with embedded policy using cloudformation template : { "AWSTemplateFormatVersion": "2010-09-09", "Resources": { "SQSRole": { "Type": "AWS::IAM::Role", "Properties": { "AssumeRolePolicyDocument": { "Version" : "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": [ "sqs.amazonaws.com" ] }, "Action": [ "SQS:SendMessage", "SQS:ReceiveMessage", "SQS:DeleteMessage", "SQS:GetQueueUrl" ] } ] }, "Path": "/" } }, "RootInstanceProfile": { "Type": "AWS: