Sha256: c57087abc4b02535ee915800bb8051e80e949526625c4ac94cc4498d9aa49985
Contents?: true
Size: 1.04 KB
Versions: 8
Compression:
Stored size: 1.04 KB
Contents
AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: APPNAMEHERE Lambda (HTTP API) Parameters: RailsEnv: Type: String Default: production AllowedValues: - staging - production Resources: RailsLambda: Type: AWS::Serverless::Function Metadata: DockerContext: . Dockerfile: Dockerfile Properties: MemorySize: 512 Timeout: 30 Environment: Variables: RAILS_ENV: !Ref RailsEnv FunctionName: !Join [ '', [ 'APPNAMEHERE-', !Ref RailsEnv, '-', !Ref 'AWS::Region' ] ] Events: RailsApiProxy: Type: HttpApi Properties: ApiId: !Ref RailsApi PackageType: Image RailsApi: Type: AWS::Serverless::HttpApi Properties: StageName: !Ref RailsEnv Outputs: RailsApiUrl: Description: API Gateway Endpoint Value: !Sub "https://${RailsApi}.execute-api.${AWS::Region}.amazonaws.com/${RailsEnv}/" RailsLambdaArn: Description: Lambda ARN Value: !GetAtt RailsLambda.Arn
Version data entries
8 entries across 8 versions & 1 rubygems