File: .stack.yaml

Recommend this page to a friend!
  Classes of Paulo Henrique  >  Ajudaime API  >  .stack.yaml  >  Download  
File: .stack.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ajudaime API
Find people close to the user who needs help
Author: By
Last change:
Date: 3 months ago
Size: 1,310 bytes
 

Contents

Class file image Download
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Globals:
  Function:
    Environment:
      Variables:
        APP_ENV: prod
Resources:
  Website:
    Type: AWS::Serverless::Function
    Properties:
      FunctionName: kontatudo-site
      CodeUri: s3://kontatudo-lambda/0c1ffaa8b5a01d1a81eab9d7116121b7
      Handler: public/index.php
      Timeout: 30
      MemorySize: 1024
      Runtime: provided
      Layers:
      - arn:aws:lambda:us-east-2:209497400698:layer:php-73-fpm:7
      Events:
        HttpRoot:
          Type: Api
          Properties:
            Path: /
            Method: ANY
        HttpSubPaths:
          Type: Api
          Properties:
            Path: /{proxy+}
            Method: ANY
  Console:
    Type: AWS::Serverless::Function
    Properties:
      FunctionName: kontatudo-console
      CodeUri: s3://kontatudo-lambda/0c1ffaa8b5a01d1a81eab9d7116121b7
      Handler: bin/console
      Timeout: 120
      Runtime: provided
      Layers:
      - arn:aws:lambda:us-east-2:209497400698:layer:php-73-fpm:7
      - arn:aws:lambda:us-east-2:209497400698:layer:console:7
Outputs:
  DemoApi:
    Description: URL of our function in the *Prod* environment
    Value:
      Fn::Sub: https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/

For more information send a message to info at phpclasses dot org.