AWS::Pinpoint::GCMChannelA *channel* is a type of platform that you can deliver messages to. You can use the GCM channel to send push notification messages to the Firebase Cloud Messaging (FCM) service, which replaced the Google Cloud Messaging (GCM) service. Before you use Amazon Pinpoint to send notifications to FCM, you have to enable the GCM channel for an Amazon Pinpoint application. The GCMChannel resource represents the status and authentication settings of the GCM channel for an application.
import { CfnGCMChannel } from 'aws-cdk-lib/aws-pinpoint';Or use the module namespace:
import * as pinpoint from 'aws-cdk-lib/aws-pinpoint';
// pinpoint.CfnGCMChannelConfiguration passed to the constructor as CfnGCMChannelProps.
applicationIdRequiredstringThe unique identifier for the Amazon Pinpoint application that the GCM channel applies to.
apiKeyOptionalstringThe Web API key, also called the *server key* , that you received from Google to communicate with Google services.
defaultAuthenticationMethodOptionalstringThe default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".
enabledOptionalboolean | IResolvableSpecifies whether to enable the GCM channel for the Amazon Pinpoint application.
serviceJsonOptionalstringThe contents of the JSON file provided by Google during registration in order to generate an access token for authentication. For more information see [Migrate from legacy FCM APIs to HTTP v1](https://docs.aws.amazon.com/https://firebase.google.com/docs/cloud-messaging/migrate-v1) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-pinpointAWS::Pinpoint::GCMChannel