# AWS SQS

Sends messages to an SQS queue.

## Configuration

| Name                     | Type        | Optional | Secret | Description                                                                                                     |
| ------------------------ | ----------- | -------- | ------ | --------------------------------------------------------------------------------------------------------------- |
| url                      | string      | no       | no     | The URL of the target SQS queue.                                                                                |
| message_group_id         | string      | yes      | no     | An optional group ID to set for messages.                                                                       |
| message_deduplication_id | expression  | yes      | no     | An optional deduplication ID to set for messages.                                                               |
| delay_seconds            | string      | yes      | no     | An optional delay time in seconds for message. Value between 0 and 900                                          |
| 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`. |
| metadata                 | metadata    | yes      | no     | Specify criteria for which metadata values are attached to objects as headers.                                  |
| 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.                                                        |

### Metadata

| Name             | Type   | Optional | Secret | Description                                                                                            |
| ---------------- | ------ | -------- | ------ | ------------------------------------------------------------------------------------------------------ |
| exclude_prefixes | string | yes      | no     | Provide a list of explicit metadata key prefixes to be excluded when adding metadata to sent messages. |

### 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. |
