github.com/Jeffail/benthos/v3@v3.65.0/resources/serverless/lambda/benthos-lambda-al2-sam.yaml (about) 1 AWSTemplateFormatVersion: '2010-09-09' 2 Transform: 'AWS::Serverless-2016-10-31' 3 4 Parameters: 5 BenthosConfig: 6 Type: String 7 Description: > 8 A YAML configuration for the Benthos pipeline, can include any traditional 9 sections except for input or buffer. 10 Default: | 11 pipeline: 12 processors: 13 - type: metadata 14 metadata: 15 operator: set 16 key: AWS_LAMBDA_FUNCTION_VERSION 17 value: "${AWS_LAMBDA_FUNCTION_VERSION}" 18 19 Resources: 20 MyFunction: 21 Type: 'AWS::Serverless::Function' 22 Properties: 23 Handler: not.used.for.provided.al2.runtime 24 Runtime: provided.al2 25 Architectures: [ arm64 ] 26 CodeUri: 'target/serverless/benthos-lambda-al2.zip' 27 Environment: 28 Variables: 29 BENTHOS_CONFIG: 30 Ref: BenthosConfig