layout: post
categories: aws
title: Aws Serverless for lambda Test
date: 2017-12-27 14:20:17 +0800
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 协议授权

   留言:

验证成功!
请输入内容!
验证成功!
请输入内容!