Last active
June 26, 2020 16:31
-
-
Save PaulDuvall/9d86b571c259492c6aedd2894f06b441 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GetDataFunction: | |
Type: 'AWS::Serverless::Function' | |
Properties: | |
Handler: index-get.handler | |
CodeUri: src/ | |
Runtime: nodejs12.x | |
AutoPublishAlias: live | |
DeploymentPreference: | |
Type: CodeDeployDefault.LambdaCanary10Percent5Minutes | |
Hooks: | |
PreTraffic: | |
Ref: PreTraffic | |
PostTraffic: | |
Ref: PostTraffic | |
TriggerConfigurations: | |
- TriggerEvents: | |
- DeploymentSuccess | |
- DeploymentFailure | |
TriggerName: TestTrigger | |
TriggerTargetArn: | |
Ref: mySNSTopic | |
MemorySize: 128 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment