# AWS Kinesis

Sends messages to a Kinesis stream.

## Configuration

| Name          | Type        | Optional | Secret | Description                                                                                                     |
| ------------- | ----------- | -------- | ------ | --------------------------------------------------------------------------------------------------------------- |
| stream        | expression  | no       | no     | The stream to publish messages to. Streams can either be specified by their name or full ARN.                   |
| partition_key | expression  | no       | no     | A required key for partitioning messages.                                                                       |
| hash_key      | expression  | yes      | no     | A optional hash key for partitioning messages.                                                                  |
| max_in_flight | int         | yes      | no     | The maximum number of parallel message batches to have in flight at any given time. The value defaults to `64`. |
| region        | string      | no       | no     | The AWS region to target.                                                                                       |
| endpoint      | string      | yes      | no     | Allows you to specify a custom endpoint for the AWS API.                                                        |
| credentials   | credentials | no       | no     | Optional manual configuration of AWS credentials to use.                                                        |

### Credentials

| Name   | Type   | Optional | Secret | Description                                                                           |
| ------ | ------ | -------- | ------ | ------------------------------------------------------------------------------------- |
| id     | string | yes      | no     | The ID of credentials to use.                                                         |
| secret | string | yes      | no     | The secret for the credentials being used.                                            |
| token  | string | yes      | no     | The token for the credentials being used, required when using short term credentials. |
