amazon web services - Configuring SNS Delivery Retry Policies -


i know if possible configure sns delivery retry policies through cloudformation.

i couldn't find in online documentation. if such configuration possible, appreciate if post snippet showing how it.

thanks in advance,

aws cloudformation doesn't cover (new) api actions available within other aws products & services, though introduced within few month later on.

unfortunately, despite sns delivery retry policies http/https endpoints being introduced in december 2011 already, feature still not supported of today.

workaround

you might able implement workaround cloudformation still means of dedicated customresource type, special aws cloudformation resources provide way template developer include resources in aws cloudformation stack provided source other amazon web services. - aws cloudformation custom resource walkthrough provides overview of about, how works , what's required implement own.

your custom resource need implement missing support delivery retry policies explicitly calling setsubscriptionattributes or settopicattributes api actions apparently undocumented deliverypolicy attribute per sample requests shown there, e.g.:

{     "healthyretrypolicy":      {         "mindelaytarget":  <int>,         "maxdelaytarget": <int>,         "numretries": <int>,         "nummaxdelayretries": <int>,         "backofffunction": "<linear|arithmetic|geometric|exponential>"     },     "throttlepolicy":     {         "maxreceivespersecond": <int>     } } 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -