We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b54c96 commit 37b5f82Copy full SHA for 37b5f82
template.yaml
@@ -68,6 +68,22 @@ Resources:
68
Code:
69
ImageUri: !Sub 294331937131.dkr.ecr.ca-central-1.amazonaws.com/fraud-detection/validation-lambda:${ECRRepositoryTag}
70
PackageType: Image
71
+
72
+ version:
73
+ Type: AWS::Lambda::Version
74
+ Properties:
75
+ FunctionName: !Ref LambdaFunction
76
77
+ ValidDataDump:
78
+ Type: AWS::Lambda::EventInvokeConfig
79
80
+ DestinationConfig:
81
+ OnSuccess:
82
+ Destination: !GetAtt FraudDetectionBucket.Arn
83
84
+ MaximumRetryAttempts: 2
85
+ Qualifier: !GetAtt version.Version
86
87
88
LambdaPermission:
89
Type: AWS::Lambda::Permission
0 commit comments