maximumRetryAttempts Issue in Amazon MQ Rabbit MQ Event Source


I am unable to configure maximumRetryAttempts for the MQ Event Source. Please review the current Configuration for the Rabbit MQ Event source attached for Amazon MQ and RabbitMQ.


"UUID": "c881392e-9b81-408e-a072-49e79ac1d",

"BatchSize": 10,

"MaximumBatchingWindowInSeconds": 0,

"EventSourceArn": "arn:aws:mq:ap-south-1:549135082245:broker:MedfinMQBroker:b-4e4731de-f0f2-40a8-84fa-fece864f42f0",

"FunctionArn": "arn:aws:lambda:ap-south-1:549135082:function:SmsQuickConsumerFunction",

"LastModified": "2022-08-19T14:13:10.876000+05:30",

"LastProcessingResult": "OK",

"State": "Updating",

"StateTransitionReason": "USER_INITIATED",

"Queues": [ "q.notification.sms.quick" ],

"SourceAccessConfigurations": [ { "Type": "BASIC_AUTH", "URI": "arn:aws:secretsmanager:ap-south-1:549135045:secret:RabbitMQ-Qf9PVQ" },

    "Type": "VIRTUAL_HOST",
    "URI": "/"

] }

Please review my command and let me know where I am wrong.

Below is the command

aws lambda update-event-source-mapping --uuid "someUUID" --maximum-retry-attempts 10

Am getting the below error.

An error occurred (InvalidParameterValueException) when calling the UpdateEventSourceMapping operation: Invalid parameters: maximumRetryAttempts

asked 2 years ago239 views
1 Answer

Please see the documentation here -

Only the following Event Source configuration parameters apply to Amazon MQ for Rabbit MQ - BatchSize, Enabled, FunctionName, Queues, SourceAccessConfigurations

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions