🚀 New! Kestra raises $3 million to grow Learn more

Publish Publish

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

Publish a message to a SNS topic

Examples

yaml
id: "publish"
type: "io.kestra.plugin.aws.sns.Publish"
topicArn: "arn:aws:sns:us-east-1:000000000000:MessageTopic"
from:
- data: Hello World
- data: Hello Kestra
  subject: Kestra

Properties

from

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

The source of the published data.

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

topicArn

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

The SNS topic ARN. The topic 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

compatibilityMode

  • Type: boolean
  • Dynamic:
  • Required:

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.