serverless-gradual-traffic-shifting
Version:
A Serverless plugin to implement gradual deployment of Lambda functions
35 lines (34 loc) • 629 B
JSON
{
"service": "gradual-deployments-test",
"functions": {
"hello": {
"handler": "handler.hello",
"events": [
{
"http": "GET hello"
},
{
"stream": {
"type": "dynamodb",
"arn": {
"Fn::GetAtt": [
"StreamsTestTable",
"StreamArn"
]
}
}
},
{
"sns": "snsTopic"
}
],
"deploymentSettings": {
"alias": "Live",
"versionWeight": 0.02,
"alarms": [
"HelloFooAlarm"
]
}
}
}
}