Skip to content

Resource: awsPinpointAdmChannel

Provides a Pinpoint ADM (Amazon Device Messaging) Channel resource.

\~> Note: All arguments including the Client ID and Client Secret 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.pinpointAdmChannel.PinpointAdmChannel(this, "channel", {
  applicationId: awsPinpointAppApp.applicationId,
  clientId: "",
  clientSecret: "",
  enabled: true,
});

Argument Reference

The following arguments are supported:

  • applicationId - (Required) The application ID.
  • clientId - (Required) Client ID (part of OAuth Credentials) obtained via Amazon Developer Account.
  • clientSecret - (Required) Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account.
  • enabled - (Optional) Specifies whether to enable the channel. Defaults to true.

Attributes Reference

No additional attributes are exported.

Import

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

$ terraform import aws_pinpoint_adm_channel.channel application-id