AWS Amazon Pinpoint APNS Channel

This page shows how to write Terraform and CloudFormation for Amazon Pinpoint APNS Channel and write them securely.

code-icon

Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.

get-started-button

Terraform Example (aws_pinpoint_apns_channel)

Provides a Pinpoint APNs Channel resource.

Note: All arguments, including certificates and tokens, will be stored in the raw state as plain-text. Read more about sensitive data in state.

Parameters

Example Usage (from GitHub)

github-iconniveklabs/aws
resource "aws_pinpoint_apns_channel" "this" {
  application_id                = var.application_id
  bundle_id                     = var.bundle_id
  certificate                   = var.certificate
  default_authentication_method = var.default_authentication_method
  enabled                       = var.enabled

CloudFormation Example (AWS::Pinpoint::APNSChannel)

A channel is a type of platform that you can deliver messages to. You can use the APNs channel to send push notification messages to the Apple Push Notification service (APNs). Before you can use Amazon Pinpoint to send notifications to APNs, you have to enable the APNs channel for an Amazon Pinpoint application.

The APNSChannel resource represents the status and authentication settings for the APNs channel for an application.

Parameters

ApplicationId The unique identifier for the Amazon Pinpoint application that the APNs channel applies to.
Required: Yes
Type: String
Update requires: Replacement

BundleId The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
Required: No
Type: String
Update requires: No interruption

Certificate The APNs client certificate that you received from Apple. Specify this value if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
Required: No
Type: String
Update requires: No interruption

DefaultAuthenticationMethod The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs. Valid options are key or certificate.
Required: No
Type: String
Update requires: No interruption

Enabled Specifies whether to enable the APNs channel for the application.
Required: No
Type: Boolean
Update requires: No interruption

PrivateKey The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
Required: No
Type: String
Update requires: No interruption

TeamId The identifier that's assigned to your Apple Developer Account team. This identifier is used for APNs tokens.
Required: No
Type: String
Update requires: No interruption

TokenKey The authentication key to use for APNs tokens.
Required: No
Type: String
Update requires: No interruption

TokenKeyId The key identifier that's assigned to your APNs signing key. Specify this value if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
Required: No
Type: String
Update requires: No interruption

Frequently asked questions

What is AWS Amazon Pinpoint APNS Channel?

AWS Amazon Pinpoint APNS Channel is a resource for Amazon Pinpoint of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Amazon Pinpoint APNS Channel?

For Terraform, the niveklabs/aws source code example is useful. See the Terraform Example section for further details.