serverless/lib/plugins/aws/deploy/compile/functions/iam-role-lambda-template.json
2016-08-12 15:52:21 +02:00

25 lines
462 B
JSON

{
"IamRoleLambda": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": [
"lambda.amazonaws.com"
]
},
"Action": [
"sts:AssumeRole"
]
}
]
},
"Path": "/"
}
}
}