AppleAppArgs

data class AppleAppArgs(val apiKeyId: Output<String>? = null, val appStoreId: Output<String>? = null, val bundleId: Output<String>? = null, val deletionPolicy: Output<String>? = null, val displayName: Output<String>? = null, val project: Output<String>? = null, val teamId: Output<String>? = null) : ConvertibleToJava<AppleAppArgs>

Example Usage

Firebase Apple App Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.firebase.AppleApp;
import com.pulumi.gcp.firebase.AppleAppArgs;
import com.pulumi.resources.CustomResourceOptions;
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 default_ = new AppleApp("default", AppleAppArgs.builder()
.project("my-project-name")
.displayName("Display Name Basic")
.bundleId("apple.app.12345")
.build(), CustomResourceOptions.builder()
.provider(google_beta)
.build());
}
}

Firebase Apple App Full

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.projects.ApiKey;
import com.pulumi.gcp.projects.ApiKeyArgs;
import com.pulumi.gcp.projects.inputs.ApiKeyRestrictionsArgs;
import com.pulumi.gcp.projects.inputs.ApiKeyRestrictionsIosKeyRestrictionsArgs;
import com.pulumi.gcp.firebase.AppleApp;
import com.pulumi.gcp.firebase.AppleAppArgs;
import com.pulumi.resources.CustomResourceOptions;
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 apple = new ApiKey("apple", ApiKeyArgs.builder()
.displayName("Display Name Full")
.project("my-project-name")
.restrictions(ApiKeyRestrictionsArgs.builder()
.iosKeyRestrictions(ApiKeyRestrictionsIosKeyRestrictionsArgs.builder()
.allowedBundleIds("apple.app.12345")
.build())
.build())
.build(), CustomResourceOptions.builder()
.provider(google_beta)
.build());
var full = new AppleApp("full", AppleAppArgs.builder()
.project("my-project-name")
.displayName("Display Name Full")
.bundleId("apple.app.12345")
.appStoreId("12345")
.teamId("9987654321")
.apiKeyId(apple.uid())
.build(), CustomResourceOptions.builder()
.provider(google_beta)
.build());
}
}

Import

AppleApp can be imported using any of these accepted formats

$ pulumi import gcp:firebase/appleApp:AppleApp default {{project}} projects/{{project}}/iosApps/{{app_id}}
$ pulumi import gcp:firebase/appleApp:AppleApp default projects/{{project}}/iosApps/{{app_id}}
$ pulumi import gcp:firebase/appleApp:AppleApp default {{project}}/{{project}}/{{app_id}}
$ pulumi import gcp:firebase/appleApp:AppleApp default iosApps/{{app_id}}
$ pulumi import gcp:firebase/appleApp:AppleApp default {{app_id}}

Constructors

Link copied to clipboard
constructor(apiKeyId: Output<String>? = null, appStoreId: Output<String>? = null, bundleId: Output<String>? = null, deletionPolicy: Output<String>? = null, displayName: Output<String>? = null, project: Output<String>? = null, teamId: Output<String>? = null)

Properties

Link copied to clipboard
val apiKeyId: Output<String>? = null

The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AppleApp. If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AppleApp. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.

Link copied to clipboard
val appStoreId: Output<String>? = null

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

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

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

Link copied to clipboard
val deletionPolicy: Output<String>? = null

(Optional) Set to 'ABANDON' to allow the Apple to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the Apple may be serving traffic. Set to 'DELETE' to delete the Apple. Defaults to 'DELETE'.

Link copied to clipboard
val displayName: Output<String>? = null

The user-assigned display name of the App.

Link copied to clipboard
val project: Output<String>? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val teamId: Output<String>? = null

The Apple Developer Team ID associated with the App in the App Store.

Functions

Link copied to clipboard
open override fun toJava(): AppleAppArgs