Publish
yaml
type: "io.kestra.plugin.aws.sqs.publish"
Examples
yaml
id: aws_sqs_publish
namespace: company.team
tasks:
- id: publish
type: io.kestra.plugin.aws.sqs.Publish
accessKeyId: "{{ secret('AWS_ACCESS_KEY_ID') }}"
secretKeyId: "{{ secret('AWS_SECRET_ACCESS_KEY') }}"
region: "{{ secret('AWS_DEFAULT_REGION') }}"
queueUrl: "https://sqs.eu-central-1.amazonaws.com/000000000000/test-queue"
from:
- data: Hello World
- data: Hello Kestra
delaySeconds: 5
yaml
id: sqs_publish_message
namespace: company.team
inputs:
- id: message
type: STRING
defaults: Hi from Kestra!
tasks:
- id: publish_message
type: io.kestra.plugin.aws.sqs.Publish
accessKeyId: "{{ secret('AWS_ACCESS_KEY_ID') }}"
secretKeyId: "{{ secret('AWS_SECRET_ACCESS_KEY') }}"
region: "{{ secret('AWS_DEFAULT_REGION') }}"
queueUrl: https://sqs.eu-central-1.amazonaws.com/123456789/kestra
from:
data: "{{ inputs.message }}"
Properties
from *RequiredstringarrayMessage
queueUrl *Requiredstring
accessKeyId string
compatibilityMode booleanstring
endpointOverride string
forcePathStyle booleanstring
region string
secretKeyId string
sessionToken string
stsEndpointOverride string
stsRoleArn string
stsRoleExternalId string
stsRoleSessionDuration string
Default
PT15M
Format
duration