PHP Classes

File: .serverless/cloudformation-template-update-stack.json

Recommend this page to a friend!
  Classes of Paulo Henrique   PHP Personal Finance App API   .serverless/cloudformation-template-update-stack.json   Download  
File: .serverless/cloudformation-template-update-stack.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Personal Finance App API
Provides an API to control personal expenses
Author: By
Last change:
Date: 4 years ago
Size: 5,087 bytes
 

Contents

Class file image Download
{ "AWSTemplateFormatVersion": "2010-09-09", "Description": "The AWS CloudFormation template for this Serverless application", "Resources": { "ServerlessDeploymentBucket": { "Type": "AWS::S3::Bucket", "Properties": { "BucketEncryption": { "ServerSideEncryptionConfiguration": [ { "ServerSideEncryptionByDefault": { "SSEAlgorithm": "AES256" } } ] } } }, "ServerlessDeploymentBucketPolicy": { "Type": "AWS::S3::BucketPolicy", "Properties": { "Bucket": { "Ref": "ServerlessDeploymentBucket" }, "PolicyDocument": { "Statement": [ { "Action": "s3:*", "Effect": "Deny", "Principal": "*", "Resource": [ { "Fn::Join": [ "", [ "arn:", { "Ref": "AWS::Partition" }, ":s3:::", { "Ref": "ServerlessDeploymentBucket" }, "/*" ] ] } ], "Condition": { "Bool": { "aws:SecureTransport": false } } } ] } } }, "FunctionLogGroup": { "Type": "AWS::Logs::LogGroup", "Properties": { "LogGroupName": "/aws/lambda/app-dev-function" } }, "IamRoleLambdaExecution": { "Type": "AWS::IAM::Role", "Properties": { "AssumeRolePolicyDocument": { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": [ "lambda.amazonaws.com" ] }, "Action": [ "sts:AssumeRole" ] } ] }, "Policies": [ { "PolicyName": { "Fn::Join": [ "-", [ "app-dev", "lambda" ] ] }, "PolicyDocument": { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "logs:CreateLogStream", "logs:CreateLogGroup" ], "Resource": [ { "Fn::Sub": "arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/app-dev*:*" } ] }, { "Effect": "Allow", "Action": [ "logs:PutLogEvents" ], "Resource": [ { "Fn::Sub": "arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/app-dev*:*:*" } ] } ] } } ], "Path": "/", "RoleName": { "Fn::Join": [ "-", [ "app-dev", { "Ref": "AWS::Region" }, "lambdaRole" ] ] } } }, "FunctionLambdaFunction": { "Type": "AWS::Lambda::Function", "Properties": { "Code": { "S3Bucket": { "Ref": "ServerlessDeploymentBucket" }, "S3Key": "serverless/app/dev/1583577921832-2020-03-07T10:45:21.832Z/app.zip" }, "FunctionName": "app-dev-function", "Handler": "index.php", "MemorySize": 1024, "Role": { "Fn::GetAtt": [ "IamRoleLambdaExecution", "Arn" ] }, "Runtime": "provided", "Timeout": 6, "Layers": [ "arn:aws:lambda:us-east-2:209497400698:layer:php-73:18" ] }, "DependsOn": [ "FunctionLogGroup", "IamRoleLambdaExecution" ] }, "FunctionLambdaVersionRuFNnTSSkKF6HrG2mnS0SVPQSZImXy3SaBuWMN947g": { "Type": "AWS::Lambda::Version", "DeletionPolicy": "Retain", "Properties": { "FunctionName": { "Ref": "FunctionLambdaFunction" }, "CodeSha256": "9wy4ADJtPBLo61DJMoW7ZtqJy8hn7cYaDZM1mZdfk54=" } } }, "Outputs": { "ServerlessDeploymentBucketName": { "Value": { "Ref": "ServerlessDeploymentBucket" } }, "FunctionLambdaFunctionQualifiedArn": { "Description": "Current Lambda function version", "Value": { "Ref": "FunctionLambdaVersionRuFNnTSSkKF6HrG2mnS0SVPQSZImXy3SaBuWMN947g" } } } }