{
  "service": "canary-deployments-test-really-stupid-long-stack-name-which-will-test-character-limit",
  "custom": {
    "deploymentSettings": {
      "stages": ["dev"]
    }
  },
  "functions": {
    "hello": {
      "handler": "handler.hello",
      "events": [
        {
          "http": "GET hello"
        },
        {
          "stream": {
            "type": "dynamodb",
            "arn": {
              "Fn::GetAtt": ["StreamsTestTable", "StreamArn"]
            }
          }
        },
        {
          "sns": "snsTopic"
        },
        {
          "s3": "s3SampleBucket"
        }
      ],
      "deploymentSettings": {
        "type": "Linear10PercentEvery1Minute",
        "alias": "Live",
        "preTrafficHook": "preHook",
        "postTrafficHook": "postHook",
        "alarms": ["HelloFooAlarm"]
      }
    },
    "preHook": {
      "handler": "hooks.pre"
    },
    "postHook": {
      "handler": "hooks.post"
    }
  }
}
