Title: Aws Serverless for lambda Test

Categories: aws

Description: Serverless test to Aws lambda

Keywords: lambda serverless aws kubeless

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 协议授权