serverless/lib/plugins/aws/deploy/lib/iam-policy-lambda-execution-template.json
2016-10-24 18:18:59 +07:00

34 lines
661 B
JSON

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