mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
update frontmatter
This commit is contained in:
parent
86e8298cc8
commit
3904086891
@ -3,7 +3,6 @@ title: AWS S3 Event configuration
|
||||
layout: Page
|
||||
-->
|
||||
|
||||
|
||||
# Schedule
|
||||
|
||||
The following config will attach a schedule event and causes the function `crawl` to be called every 2 hours. The configuration allows you to attach multiple schedules to the same function. You can either use the `rate` or `cron` syntax. Take a look at the [AWS schedule syntax documentation](http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html) for more details.
|
||||
|
||||
13
docs/02-providers/aws/events/README.md
Normal file
13
docs/02-providers/aws/events/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
<!--
|
||||
title: AWS Serverless Events
|
||||
layout: Page
|
||||
-->
|
||||
|
||||
# AWS serverless events
|
||||
|
||||
* [API Gateway](./01-apigateway.md)
|
||||
* [S3](./02-s3.md)
|
||||
* [Schedule](./03-schedule.md)
|
||||
* [SNS](./04-sns.md)
|
||||
* [Kinesis Streams](./05-kinesis-streams.md)
|
||||
* [DynamoDB Streams](./06-dynamodb-streams.md)
|
||||
@ -8,7 +8,7 @@ layout: Page
|
||||
|
||||
Invokes a previously deployed function. It allows to send event data to the function and read logs and display other important information of the function invoke.
|
||||
|
||||
```
|
||||
```bash
|
||||
serverless invoke --function functionName
|
||||
```
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ layout: Page
|
||||
|
||||
Lets you watch the logs of a specific function.
|
||||
|
||||
```
|
||||
```bash
|
||||
serverless logs -f hello
|
||||
```
|
||||
|
||||
@ -51,23 +51,23 @@ serverless logs -f hello
|
||||
|
||||
**Note:** There's a small lag between invoking the function and actually having the log event registered in CloudWatch. So it takes a few seconds for the logs to show up right after invoking the function.
|
||||
|
||||
```
|
||||
```bash
|
||||
serverless logs -f hello --startTime 5h
|
||||
```
|
||||
This will fetch the logs that happened in the past 5 hours.
|
||||
|
||||
```
|
||||
```bash
|
||||
serverless logs -f hello --startTime 1469694264
|
||||
```
|
||||
This will fetch the logs that happened starting at epoch `1469694264`.
|
||||
|
||||
```
|
||||
```bash
|
||||
serverless logs -f hello -t
|
||||
```
|
||||
|
||||
Serverless will tail the CloudWatch log output and print new log messages coming in.
|
||||
|
||||
```
|
||||
```bash
|
||||
serverless logs -f hello --filter serverless
|
||||
```
|
||||
This will fetch only the logs that contain the string `serverless`
|
||||
|
||||
@ -8,7 +8,7 @@ layout: Page
|
||||
|
||||
Displays information about the deployed service.
|
||||
|
||||
```
|
||||
```bash
|
||||
serverless info
|
||||
```
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
<!--
|
||||
title: Building Serverless Provider Integrations
|
||||
description: todo
|
||||
layout: Page
|
||||
-->
|
||||
|
||||
|
||||
@ -1,3 +1,8 @@
|
||||
<!--
|
||||
title: Developing plugins
|
||||
layout: Page
|
||||
-->
|
||||
|
||||
# Developing plugins
|
||||
|
||||
Here you can read how to develop your own Serverless plugins. We'll get into details on how to write custom plugins to
|
||||
|
||||
@ -7,11 +7,12 @@ layout: Page
|
||||
|
||||
Welcome to the Serverless documentation.
|
||||
|
||||
- [Quick Start: Check out our getting started guide](01-guide)
|
||||
- [Providers](#providers)
|
||||
- [Quick Start Guide](01-getting-started)
|
||||
- [Core Concepts](#concepts)
|
||||
- [CLI Reference](03-cli-reference)
|
||||
- [Providers](#providers)
|
||||
- [Extending Serverless](04-extending-serverless)
|
||||
- [Contributing to Serverless](#contributing)
|
||||
- [Anonymous Usage Tracking](./usage-tracking.md)
|
||||
|
||||
## Providers
|
||||
- [AWS Integration Docs](./02-providers/aws/)
|
||||
@ -58,3 +59,7 @@ Connect with the community on [gitter](https://gitter.im/serverless/serverless)
|
||||
We love our contributors! Please read our [Contributing Document](CONTRIBUTING.md) to learn how you can start working on the Framework yourself.
|
||||
|
||||
Check out our [help-wanted](https://github.com/serverless/serverless/labels/help-wanted) or [help-wanted-easy](https://github.com/serverless/serverless/labels/help-wanted-easy) labels to find issues we want to move forward on with your help.
|
||||
|
||||
## Usage Tracking
|
||||
|
||||
[Anonymous Usage Tracking](./usage-tracking.md)
|
||||
@ -3,7 +3,6 @@ title: Serverless Usage Tracking
|
||||
layout: Page
|
||||
-->
|
||||
|
||||
|
||||
# Usage tracking
|
||||
|
||||
Serverless will automatically track anonymous usage data. This is done so that we better understand the usage and needs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user