import * as pulumi from "@pulumi/pulumi"; /** * Provides an End User Messaging APNs VoIP Sandbox Channel resource. * * > **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text. * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * import * as std from "@pulumi/std"; * * const app = new aws.pinpoint.App("app", {}); * const apnsVoipSandbox = new aws.pinpoint.ApnsVoipSandboxChannel("apns_voip_sandbox", { * applicationId: app.applicationId, * certificate: std.file({ * input: "./certificate.pem", * }).then(invoke => invoke.result), * privateKey: std.file({ * input: "./private_key.key", * }).then(invoke => invoke.result), * }); * ``` * * ## Import * * Using `pulumi import`, import End User Messaging APNs VoIP Sandbox Channel using the `application-id`. For example: * * ```sh * $ pulumi import aws:pinpoint/apnsVoipSandboxChannel:ApnsVoipSandboxChannel apns_voip_sandbox application-id * ``` */ export declare class ApnsVoipSandboxChannel extends pulumi.CustomResource { /** * Get an existing ApnsVoipSandboxChannel resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ApnsVoipSandboxChannelState, opts?: pulumi.CustomResourceOptions): ApnsVoipSandboxChannel; /** * Returns true if the given object is an instance of ApnsVoipSandboxChannel. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ApnsVoipSandboxChannel; /** * Application ID. */ readonly applicationId: pulumi.Output; /** * 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. Required if using Key credentials. */ readonly bundleId: pulumi.Output; /** * Pem encoded TLS Certificate from Apple. Required if using Certificate credentials. */ readonly certificate: pulumi.Output; /** * Default authentication method used for APNs. __NOTE__: AWS End User Messaging 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 AWS End User Messaging API, the AWS CLI, or an AWS SDK. If your default authentication type fails, AWS End User Messaging doesn't attempt to use the other authentication type. */ readonly defaultAuthenticationMethod: pulumi.Output; /** * Whether the channel is enabled or disabled. Defaults to `true`. */ readonly enabled: pulumi.Output; /** * Certificate Private Key file (ie. `.key` file). Required if using Certificate credentials. */ readonly privateKey: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * ID assigned to your Apple developer account team. This value is provided on the Membership page. Required if using Key credentials. */ readonly teamId: pulumi.Output; /** * `.p8` file that you download from your Apple developer account when you create an authentication key. Required if using Key credentials. */ readonly tokenKey: pulumi.Output; /** * ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. Required if using Key credentials. */ readonly tokenKeyId: pulumi.Output; /** * Create a ApnsVoipSandboxChannel resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ApnsVoipSandboxChannelArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ApnsVoipSandboxChannel resources. */ export interface ApnsVoipSandboxChannelState { /** * Application ID. */ applicationId?: pulumi.Input; /** * 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. Required if using Key credentials. */ bundleId?: pulumi.Input; /** * Pem encoded TLS Certificate from Apple. Required if using Certificate credentials. */ certificate?: pulumi.Input; /** * Default authentication method used for APNs. __NOTE__: AWS End User Messaging 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 AWS End User Messaging API, the AWS CLI, or an AWS SDK. If your default authentication type fails, AWS End User Messaging doesn't attempt to use the other authentication type. */ defaultAuthenticationMethod?: pulumi.Input; /** * Whether the channel is enabled or disabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * Certificate Private Key file (ie. `.key` file). Required if using Certificate credentials. */ privateKey?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ID assigned to your Apple developer account team. This value is provided on the Membership page. Required if using Key credentials. */ teamId?: pulumi.Input; /** * `.p8` file that you download from your Apple developer account when you create an authentication key. Required if using Key credentials. */ tokenKey?: pulumi.Input; /** * ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. Required if using Key credentials. */ tokenKeyId?: pulumi.Input; } /** * The set of arguments for constructing a ApnsVoipSandboxChannel resource. */ export interface ApnsVoipSandboxChannelArgs { /** * Application ID. */ applicationId: pulumi.Input; /** * 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. Required if using Key credentials. */ bundleId?: pulumi.Input; /** * Pem encoded TLS Certificate from Apple. Required if using Certificate credentials. */ certificate?: pulumi.Input; /** * Default authentication method used for APNs. __NOTE__: AWS End User Messaging 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 AWS End User Messaging API, the AWS CLI, or an AWS SDK. If your default authentication type fails, AWS End User Messaging doesn't attempt to use the other authentication type. */ defaultAuthenticationMethod?: pulumi.Input; /** * Whether the channel is enabled or disabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * Certificate Private Key file (ie. `.key` file). Required if using Certificate credentials. */ privateKey?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ID assigned to your Apple developer account team. This value is provided on the Membership page. Required if using Key credentials. */ teamId?: pulumi.Input; /** * `.p8` file that you download from your Apple developer account when you create an authentication key. Required if using Key credentials. */ tokenKey?: pulumi.Input; /** * ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. Required if using Key credentials. */ tokenKeyId?: pulumi.Input; } //# sourceMappingURL=apnsVoipSandboxChannel.d.ts.map