Files
standard-redirects-for-clou…/sam.yaml
2019-03-27 12:49:52 +01:00

24 lines
789 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: DeployedFunction
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
DeployedFunction:
Type: AWS::Lambda::Version
Properties:
Description: The deployed version of the function
FunctionName:
Ref: StandardRedirectsForCloudFront