Publish Publish

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

Publish a message to a SNS topic

# Examples

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

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

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

# 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

# topicArn

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

The SNS topic ARN. The topic must already exist.

# Outputs

# messagesCount

  • Type: integer

Number of published messages.