Class CfnGCMChannelProps
Properties for defining a CfnGCMChannel.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGCMChannelProps : ICfnGCMChannelProps
Syntax (vb)
Public Class CfnGCMChannelProps Implements ICfnGCMChannelProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-gcmchannel.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var cfnGCMChannelProps = new CfnGCMChannelProps {
ApplicationId = "applicationId",
// the properties below are optional
ApiKey = "apiKey",
DefaultAuthenticationMethod = "defaultAuthenticationMethod",
Enabled = false,
ServiceJson = "serviceJson"
};
Synopsis
Constructors
| CfnGCMChannelProps() | Properties for defining a |
Properties
| ApiKey | The Web API key, also called the server key , that you received from Google to communicate with Google services. |
| ApplicationId | The unique identifier for the Amazon Pinpoint application that the GCM channel applies to. |
| DefaultAuthenticationMethod | The default authentication method used for GCM. |
| Enabled | Specifies whether to enable the GCM channel for the Amazon Pinpoint application. |
| ServiceJson | The contents of the JSON file provided by Google during registration in order to generate an access token for authentication. |
Constructors
CfnGCMChannelProps()
Properties for defining a CfnGCMChannel.
public CfnGCMChannelProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-gcmchannel.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var cfnGCMChannelProps = new CfnGCMChannelProps {
ApplicationId = "applicationId",
// the properties below are optional
ApiKey = "apiKey",
DefaultAuthenticationMethod = "defaultAuthenticationMethod",
Enabled = false,
ServiceJson = "serviceJson"
};
Properties
ApiKey
The Web API key, also called the server key , that you received from Google to communicate with Google services.
public string? ApiKey { get; set; }
Property Value
Remarks
ApplicationId
The unique identifier for the Amazon Pinpoint application that the GCM channel applies to.
public string ApplicationId { get; set; }
Property Value
Remarks
DefaultAuthenticationMethod
The default authentication method used for GCM.
public string? DefaultAuthenticationMethod { get; set; }
Property Value
Remarks
Values are either "TOKEN" or "KEY". Defaults to "KEY".
Enabled
Specifies whether to enable the GCM channel for the Amazon Pinpoint application.
public object? Enabled { get; set; }
Property Value
Remarks
ServiceJson
The contents of the JSON file provided by Google during registration in order to generate an access token for authentication.
public string? ServiceJson { get; set; }