Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Edit all your SNS Application Endpoints Attribute "Enable" to "true"

Notifications You must be signed in to change notification settings

felipesabino/sns-endpoint-enable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNS Enable Endpoints

Edit all your SNS Application Endpoints Attribute Enable to true.

Why?

  1. You might have set up a wrong certificate and need to rollback the enable flag for all devices that amazon wrongly disabled
  2. There is no way to perform such action for all devices at once using current Amazon Console

What does this script do?

It just iterates through all endpoints of an application and sets the Enabled attribute to true. This is the only attribute being changed for the endpoint, nothing else changes.

Steps

  1. $ npm install
  2. Add a aws.config.json file to the root of the project with your AWS credentials (There is an aws.config.json.example that can be used as a template)
  3. $ node run.js

About

Edit all your SNS Application Endpoints Attribute "Enable" to "true"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published