CfnGCMChannelMixinProps
- class aws_cdk.mixins_preview.aws_pinpoint.mixins.CfnGCMChannelMixinProps(*, api_key=None, application_id=None, default_authentication_method=None, enabled=None, service_json=None)
Bases:
objectProperties for CfnGCMChannelPropsMixin.
- Parameters:
api_key (
Optional[str]) – The Web API key, also called the server key , that you received from Google to communicate with Google services.application_id (
Optional[str]) – The unique identifier for the Amazon Pinpoint application that the GCM channel applies to.default_authentication_method (
Optional[str]) – The default authentication method used for GCM. Values are either “TOKEN” or “KEY”. Defaults to “KEY”.enabled (
Union[bool,IResolvable,None]) – Specifies whether to enable the GCM channel for the Amazon Pinpoint application.service_json (
Optional[str]) – The 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 .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-gcmchannel.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_pinpoint import mixins as pinpoint_mixins cfn_gCMChannel_mixin_props = pinpoint_mixins.CfnGCMChannelMixinProps( api_key="apiKey", application_id="applicationId", default_authentication_method="defaultAuthenticationMethod", enabled=False, service_json="serviceJson" )
Attributes
- api_key
The Web API key, also called the server key , that you received from Google to communicate with Google services.
- application_id
The unique identifier for the Amazon Pinpoint application that the GCM channel applies to.
- default_authentication_method
The default authentication method used for GCM.
Values are either “TOKEN” or “KEY”. Defaults to “KEY”.
- enabled
Specifies whether to enable the GCM channel for the Amazon Pinpoint application.
- service_json
The 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 .