AppleApp

class AppleApp : KotlinCustomResource

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}}

Properties

Link copied to clipboard
val apiKeyId: Output<String>

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 appId: Output<String>

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

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

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>

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

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

(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>

The user-assigned display name of the App.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

Link copied to clipboard
val project: Output<String>

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val teamId: Output<String>?

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

Link copied to clipboard
val urn: Output<String>