serverless-step-functions
Version:
The module is AWS Step Functions plugin for Serverless Framework
29 lines (28 loc) • 568 B
Plain Text
{
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": {
"Fn::Sub": "states.${AWS::Region}.amazonaws.com"
}
},
"Action": "sts:AssumeRole"
}
]
},
"Policies": [
{
"PolicyName": "[PolicyName]",
"PolicyDocument": {
"Version": "2012-10-17",
"Statement": [Statements]
}
}
]
}
}