Description
Briefly describe the bug you are facing.
Serverless function definition with "EventInvokeConfig" section which should be supported according to the AWS Sam documentation leads to validiation and build error.
Steps to reproduce
Provide steps to replicate.
TestFunction:
Type: AWS::Serverless::Function
Properties:
CodeUri: src/test
EventInvokeConfig:
DestinationConfig:
OnFailure:
Destination: !Ref TestDLQ
Type: SQS
MaximumEventAgeInSeconds: 60
MaximumRetryAttempts: 2
Observed result
InvalidResourceException('TestFunction',_ 'property EventInvokeConfig not defined for resource of type AWS::Serverless::Function')]
Please provide command output with --debug flag set.
sam validate --profile ...
sam build
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
- OS: Linux
sam --version: 0.40.0
Add --debug flag to command you are running
Description
Briefly describe the bug you are facing.
Serverless function definition with "EventInvokeConfig" section which should be supported according to the AWS Sam documentation leads to validiation and build error.
Steps to reproduce
Provide steps to replicate.
Observed result
InvalidResourceException('TestFunction',_ 'property EventInvokeConfig not defined for resource of type AWS::Serverless::Function')]
Please provide command output with
--debugflag set.sam validate --profile ...
sam build
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version: 0.40.0Add --debug flag to command you are running