serverless/lib/plugins/aws/deploy/lib/iam-policy-lambda-execution-template.json
2017-01-27 17:29:30 +07:00

28 lines
468 B
JSON

{
"Type": "AWS::IAM::Policy",
"DependsOn": [
"IamRoleLambdaExecution"
],
"Properties": {
"PolicyName": "",
"PolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": []
}
]
},
"Roles": [
{
"Ref": "[TO BE REPLACED]"
}
]
}
}