Files
standard-redirects-for-clou…/sam.yaml
2019-03-28 17:42:28 +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: nodejs8.10
Description: 'Standard Redirects for CloudFront by Digital Sailors via the Serverless Application Repository.'
MemorySize: 128
Timeout: 3
AutoPublishAlias: 'CurrentProd'