s3getimage
Version:
function for checking existence of image fie on s3 and return the presigned url
17 lines (16 loc) • 568 B
YAML
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description: An AWS Serverless Specification template describing your function.
Resources:
s3getimage:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: s3getimage
Description: >-
Function for checking the existence of an image file on S3 and
retrieving the presigned url.
Handler: index.handler
MemorySize: 128
Role: 'arn:aws:iam::008678064646:role/simple-lambda-dynamo-s3_role'
Runtime: nodejs12.x
Timeout: 3