• /
  • EnglishEspaรฑolFranรงaisๆ—ฅๆœฌ่ชžํ•œ๊ตญ์–ดPortuguรชs
  • ๋กœ๊ทธ์ธ์ง€๊ธˆ ์‹œ์ž‘ํ•˜๊ธฐ

AWS SQS messaging

|View as Markdown (English)

Send messages to AWS SQS queues using IAM role authentication.

Prerequisites

1. AWS IAM Role Setup

  • An IAM role that New Relic can assume
  • The role must have permissions to send messages to SQS
  • See Set up AWS credentials for configuration instructions

2. AWS SQS Queue

  • An existing SQS queue in the specified region

3. Required Input Values

  • awsRoleArn: The ARN of the IAM role (e.g., arn:aws:iam::123456789012:role/NewRelicIntegrationRole)
  • awsQueueUrl: The full SQS queue URL (format: https://sqs.{region}.amazonaws.com/{account-id}/{queue-name})
  • awsRegion: (optional) defaults to us-west-2

What this workflow does

  • Send message to SQS queue
  • Use AWS IAM role authentication
  • Return message ID and success status

Key actions: aws.execute.api, (sqs.send_message)

name: aws_execute_api_sqs_example
workflowInputs:
awsRoleArn:
type: String
awsRegion:
type: String
defaultValue: us-west-2
awsQueueUrl:
type: String
steps:
- name: sendSqsMessage
type: action
action: aws.execute.api
version: 1
inputs:
awsRoleArn: ${{ .workflowInputs.awsRoleArn }}
region: ${{ .workflowInputs.awsRegion }}
service: sqs
api: send_message
parameters:
QueueUrl: "${{ .workflowInputs.awsQueueUrl }}"
MessageBody: |
{
"message": "deployment is bad",
"status": "not good"
}
selectors:
- name: success
expression: '.success'
- name: messageId
expression: '.response.MessageId'

REST API polling

Combine SQS with API polling workflows

Deployment rollback

Use SQS for deployment notifications

AWS SQS actions

Learn SQS action parameters

Copyright ยฉ 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.