Skip to content

Resource: awsPinpointBaiduChannel

Provides a Pinpoint Baidu Channel resource.

\~> Note: All arguments including the Api Key and Secret Key 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.pinpointBaiduChannel.PinpointBaiduChannel(this, "channel", {
  apiKey: "",
  applicationId: awsPinpointAppApp.applicationId,
  secretKey: "",
});

Argument Reference

The following arguments are supported:

  • applicationId - (Required) The application ID.
  • enabled - (Optional) Specifies whether to enable the channel. Defaults to true.
  • apiKey - (Required) Platform credential API key from Baidu.
  • secretKey - (Required) Platform credential Secret key from Baidu.

Attributes Reference

No additional attributes are exported.

Import

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

$ terraform import aws_pinpoint_baidu_channel.channel application-id