Aws Serverless for lambda Test

2017/12/27 aws

Aws Lambda to Serverless

aws lambda function 编辑器

编辑器的console 以及 测试按钮,语言版本

常用的配置项

配置AWS IAM执行策略

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:*",
                "iam:*",
                "apigateway:*",
                "cloudformation:ListStacks",
                "logs:*",
                "cloudformation:ValidateTemplate",
                "cloudformation:DescribeStackEvents",
                "cloudformation:CreateStack",
                "lambda:*",
                "cloudformation:UpdateStack",
                "cloudformation:DescribeStackResource",
                "cloudformation:CreateChangeSet",
                "cloudformation:DescribeChangeSet",
                "cloudformation:ExecuteChangeSet",
                "cloudformation:DescribeStacks"
            ],
            "Resource": "*"
        }
    ]
}

demo

转载请注明出处,本文采用 CC4.0 协议授权

Search

    Post Directory