Publish Publish

yaml
type: "io.kestra.plugin.aws.sqs.Publish"

Publish a message to an SQS queue

Examples

yaml
id: "publish"
type: "io.kestra.plugin.aws.sqs.Publish"
queueUrl: "https://sqs.us-east-2.amazonaws.com/000000000000/test-queue"
from:
- data: Hello World
- data: Hello Kestra
  delaySeconds: 5

Properties

from

  • Type: object
  • Dynamic: ✔️
  • Required: ✔️

The source of the published data.

Can be an internal storage URI, a list of SQS messages or a single SQS message.

queueUrl

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The SQS queue URL. The queue must already exist.

accessKeyId

  • Type: string
  • Dynamic: ✔️
  • Required:

The Access Key Id in order to connect to AWS

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

endpointOverride

  • Type: string
  • Dynamic: ✔️
  • Required:

The endpoint with which the SDK should communicate.

Should normally not be used except for local development.

region

  • Type: string
  • Dynamic: ✔️
  • Required:

The region with which the SDK should communicate.

secretKeyId

  • Type: string
  • Dynamic: ✔️
  • Required:

The Secret Key Id in order to connect to AWS

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

sessionToken

  • Type: string
  • Dynamic: ✔️
  • Required:

The he AWS session token, retrieved from an AWS token service, used for authenticating that this user has received temporary permission to access some resource.

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

Outputs

messagesCount

  • Type: integer

Number of published messages.