Creating an Amazon SNS platform application
For Amazon SNS to send notification messages to mobile endpoints, whether directly or via subscriptions to a topic, you must first create a platform application. After you've registered the app with Amazon, you need to create an endpoint for the app and mobile device. Amazon SNS uses this endpoint to send notification messages to the app and device.
To create a platform application
-
Sign in to the Amazon SNS console
. -
In the navigation pane, choose Push notifications.
-
In the Platform applications section, choose Create platform application.
For a list of Amazon Regions where you can create mobile applications, see Amazon SNS mobile application supported Regions.
-
Enter a name to represent your app. App names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods. Names must also be 1–256 characters long.
-
For Push notification platform, choose the platform that the app is registered with, and then enter the appropriate credentials.
Note
If you're using one of the Apple Push Notification Service (APNs) platforms, you can choose between token or certificate-based authentication, then choose Choose file to upload the .p8 or .p12 file (exported from Keychain Access) to Amazon SNS.
-
Choose Create platform application.
This registers the app with Amazon SNS, which creates a platform application object for the selected platform and then returns a corresponding PlatformApplicationArn.