Provides a Pinpoint ADM (Amazon Device Messaging) Channel resource.
resource "aws_pinpoint_app" "app" {}
resource "aws_pinpoint_adm_channel" "channel" {
application_id = aws_pinpoint_app.app.application_id
client_id = ""
client_secret = ""
enabled = true
}
This resource supports the following arguments:
application_id
- (Required) The application ID.client_id
- (Required) Client ID (part of OAuth Credentials) obtained via Amazon Developer Account.client_secret
- (Required) Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account.enabled
- (Optional) Specifies whether to enable the channel. Defaults to true
.This resource exports no additional attributes.
In Terraform v1.5.0 and later, use an import
block to import Pinpoint ADM Channel using the application-id
. For example:
import {
to = aws_pinpoint_adm_channel.channel
id = "application-id"
}
Using terraform import
, import Pinpoint ADM Channel using the application-id
. For example:
% terraform import aws_pinpoint_adm_channel.channel application-id