ApnsSandboxChannel

class ApnsSandboxChannel : KotlinCustomResource

Provides a Pinpoint APNs Sandbox Channel resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.pinpoint.App;
import com.pulumi.aws.pinpoint.ApnsSandboxChannel;
import com.pulumi.aws.pinpoint.ApnsSandboxChannelArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var app = new App("app");
var apnsSandbox = new ApnsSandboxChannel("apnsSandbox", ApnsSandboxChannelArgs.builder()
.applicationId(app.applicationId())
.certificate(Files.readString(Paths.get("./certificate.pem")))
.privateKey(Files.readString(Paths.get("./private_key.key")))
.build());
}
}

Import

Pinpoint APNs Sandbox Channel can be imported using the application-id, e.g.,

$ pulumi import aws:pinpoint/apnsSandboxChannel:ApnsSandboxChannel apns_sandbox application-id

Properties

Link copied to clipboard
val applicationId: Output<String>

The application ID.

Link copied to clipboard
val bundleId: Output<String>?

The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.

Link copied to clipboard
val certificate: Output<String>?

The pem encoded TLS Certificate from Apple.

Link copied to clipboard

The default authentication method used for APNs Sandbox. NOTE: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. One of the following sets of credentials is also required. If you choose to use Certificate credentials you will have to provide:

Link copied to clipboard
val enabled: Output<Boolean>?

Whether the channel is enabled or disabled. Defaults to true.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val privateKey: Output<String>?

The Certificate Private Key file (ie. .key file). If you choose to use Key credentials you will have to provide:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val teamId: Output<String>?

The ID assigned to your Apple developer account team. This value is provided on the Membership page.

Link copied to clipboard
val tokenKey: Output<String>?

The .p8 file that you download from your Apple developer account when you create an authentication key.

Link copied to clipboard
val tokenKeyId: Output<String>?

The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.

Link copied to clipboard
val urn: Output<String>