Files
standard-redirects-for-clou…/sam.yaml
2019-12-16 08:13:20 +01:00

19 lines
656 B
YAML

AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Outputs:
StandardRedirectsForCloudFrontVersionOutput:
Description: The ARN of the function, including the version
Value: !Ref StandardRedirectsForCloudFront.Version
Export:
Name: StandardRedirectsForCloudFrontARN
Resources:
StandardRedirectsForCloudFront:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs10.x
Description: 'Standard Redirects for CloudFront by Digital Sailors via the Serverless Application Repository.'
MemorySize: 128
Timeout: 3
AutoPublishAlias: 'CurrentProd'