Resource: aws_pinpoint_gcm_channel

Provides a Pinpoint GCM Channel resource.

Example Usage

resource "aws_pinpoint_gcm_channel" "gcm" {
  application_id = aws_pinpoint_app.app.application_id
  api_key        = "api_key"
}

resource "aws_pinpoint_app" "app" {}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports no additional attributes.

Import

In Terraform v1.5.0 and later, use an import block to import Pinpoint GCM Channel using the application-id. For example:

import {
  to = aws_pinpoint_gcm_channel.gcm
  id = "application-id"
}

Using terraform import, import Pinpoint GCM Channel using the application-id. For example:

% terraform import aws_pinpoint_gcm_channel.gcm application-id