Interface CfnGCMChannelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGCMChannelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:43.197Z")
@Stability(Stable)
public interface CfnGCMChannelProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGCMChannel.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pinpoint.*;
CfnGCMChannelProps cfnGCMChannelProps = CfnGCMChannelProps.builder()
.applicationId("applicationId")
// the properties below are optional
.apiKey("apiKey")
.defaultAuthenticationMethod("defaultAuthenticationMethod")
.enabled(false)
.serviceJson("serviceJson")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGCMChannelPropsstatic final classAn implementation forCfnGCMChannelProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnGCMChannelProps.Builderbuilder()default StringThe Web API key, also called the server key , that you received from Google to communicate with Google services.The unique identifier for the Amazon Pinpoint application that the GCM channel applies to.default StringThe default authentication method used for GCM.default ObjectSpecifies whether to enable the GCM channel for the Amazon Pinpoint application.default StringThe contents of the JSON file provided by Google during registration in order to generate an access token for authentication.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationId
The unique identifier for the Amazon Pinpoint application that the GCM channel applies to.- See Also:
-
getApiKey
The Web API key, also called the server key , that you received from Google to communicate with Google services.- See Also:
-
getDefaultAuthenticationMethod
The default authentication method used for GCM.Values are either "TOKEN" or "KEY". Defaults to "KEY".
- See Also:
-
getEnabled
Specifies whether to enable the GCM channel for the Amazon Pinpoint application.Returns union: either
BooleanorIResolvable- See Also:
-
getServiceJson
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 Also:
-
builder
- Returns:
- a
CfnGCMChannelProps.BuilderofCfnGCMChannelProps
-