Amazon CloudWatch Alarm Name lenght restrictions

0

Hello,

I have an alarm with 100 character name lenght and I have to send It throught AWS SNS service.

The problem is that I don't recibe the full name of the alarm in the SMS message. I just recibe 80 characters.

Documentations says that an alarm name can be 255 characters lenght.

Thank's for your help.

1 Antwort
0

There are two parts in your question, first is cloudwatch alarm name limit, which is 255 characters. Second is SNS, which is 160 characters.

When cloudwatch alarm gets into alarm state and send trigger to sns, there SNS character limit comes in to the play. There is a limit of 160 characters per message and your message might be getting split into two parts(1/2, 2/2 80 characters each), but one single message can only have 160 characters.

Here is the SNS Documentation, which you can refer.

Attaching snapshot for your quick reference.

Enter image description here

Hope you find this useful.

Abhishek

profile pictureAWS
EXPERTE
beantwortet vor einem Jahr
  • Do you have any questions further, happy to help.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen