mirror of
				https://github.com/eledio-cloud/standard-redirects-for-cloudfront.git
				synced 2025-10-31 08:22:57 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			789 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			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 |