Skip to content

Resource: awsPinpointGcmChannel

Provides a Pinpoint GCM Channel resource.

\~> Note: Api Key argument will be stored in the raw state as plain-text. Read more about sensitive data in state.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
const awsPinpointAppApp = new aws.pinpointApp.PinpointApp(this, "app", {});
new aws.pinpointGcmChannel.PinpointGcmChannel(this, "gcm", {
  apiKey: "api_key",
  applicationId: awsPinpointAppApp.applicationId,
});

Argument Reference

The following arguments are supported:

  • applicationId - (Required) The application ID.
  • apiKey - (Required) Platform credential API key from Google.
  • enabled - (Optional) Whether the channel is enabled or disabled. Defaults to true.

Attributes Reference

No additional attributes are exported.

Import

Pinpoint GCM Channel can be imported using the applicationId, e.g.,

$ terraform import aws_pinpoint_gcm_channel.gcm application-id