This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Pinpoint::APNSChannel", "Properties" : { "ApplicationId" :String, "BundleId" :String, "Certificate" :String, "DefaultAuthenticationMethod" :String, "Enabled" :Boolean, "PrivateKey" :String, "TeamId" :String, "TokenKey" :String, "TokenKeyId" :String} }
YAML
Type: AWS::Pinpoint::APNSChannel Properties: ApplicationId:StringBundleId:StringCertificate:StringDefaultAuthenticationMethod:StringEnabled:BooleanPrivateKey:StringTeamId:StringTokenKey:StringTokenKeyId:String
Properties
- 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 keyorcertificate.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 
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the unique identifier (ApplicationId) for
            the Amazon Pinpoint application that the channel is associated with.
For more information about using the Ref function, see Ref.
Fn::GetAtt
- Id
- 
                            (Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.