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

28 lines
522 B
JSON

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