1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. appengine
  5. Application
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.appengine.Application

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Allows creation and management of an App Engine application.

    App Engine applications cannot be deleted once they’re created; you have to delete the entire project to delete the application. This provider will report the application has been successfully deleted; this is a limitation of the provider, and will go away in the future. This provider is not able to delete App Engine applications.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const myProject = new gcp.organizations.Project("my_project", {
        name: "My Project",
        projectId: "your-project-id",
        orgId: "1234567",
    });
    const app = new gcp.appengine.Application("app", {
        project: myProject.projectId,
        locationId: "us-central",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_project = gcp.organizations.Project("my_project",
        name="My Project",
        project_id="your-project-id",
        org_id="1234567")
    app = gcp.appengine.Application("app",
        project=my_project.project_id,
        location_id="us-central")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/appengine"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		myProject, err := organizations.NewProject(ctx, "my_project", &organizations.ProjectArgs{
    			Name:      pulumi.String("My Project"),
    			ProjectId: pulumi.String("your-project-id"),
    			OrgId:     pulumi.String("1234567"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appengine.NewApplication(ctx, "app", &appengine.ApplicationArgs{
    			Project:    myProject.ProjectId,
    			LocationId: pulumi.String("us-central"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var myProject = new Gcp.Organizations.Project("my_project", new()
        {
            Name = "My Project",
            ProjectId = "your-project-id",
            OrgId = "1234567",
        });
    
        var app = new Gcp.AppEngine.Application("app", new()
        {
            Project = myProject.ProjectId,
            LocationId = "us-central",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.Project;
    import com.pulumi.gcp.organizations.ProjectArgs;
    import com.pulumi.gcp.appengine.Application;
    import com.pulumi.gcp.appengine.ApplicationArgs;
    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 myProject = new Project("myProject", ProjectArgs.builder()
                .name("My Project")
                .projectId("your-project-id")
                .orgId("1234567")
                .build());
    
            var app = new Application("app", ApplicationArgs.builder()
                .project(myProject.projectId())
                .locationId("us-central")
                .build());
    
        }
    }
    
    resources:
      myProject:
        type: gcp:organizations:Project
        name: my_project
        properties:
          name: My Project
          projectId: your-project-id
          orgId: '1234567'
      app:
        type: gcp:appengine:Application
        properties:
          project: ${myProject.projectId}
          locationId: us-central
    

    Create Application Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def Application(resource_name: str,
                    args: ApplicationArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Application(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    location_id: Optional[str] = None,
                    auth_domain: Optional[str] = None,
                    database_type: Optional[str] = None,
                    feature_settings: Optional[ApplicationFeatureSettingsArgs] = None,
                    iap: Optional[ApplicationIapArgs] = None,
                    project: Optional[str] = None,
                    serving_status: Optional[str] = None)
    func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
    public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
    public Application(String name, ApplicationArgs args)
    public Application(String name, ApplicationArgs args, CustomResourceOptions options)
    
    type: gcp:appengine:Application
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var applicationResource = new Gcp.AppEngine.Application("applicationResource", new()
    {
        LocationId = "string",
        AuthDomain = "string",
        DatabaseType = "string",
        FeatureSettings = new Gcp.AppEngine.Inputs.ApplicationFeatureSettingsArgs
        {
            SplitHealthChecks = false,
        },
        Iap = new Gcp.AppEngine.Inputs.ApplicationIapArgs
        {
            Oauth2ClientId = "string",
            Oauth2ClientSecret = "string",
            Enabled = false,
            Oauth2ClientSecretSha256 = "string",
        },
        Project = "string",
        ServingStatus = "string",
    });
    
    example, err := appengine.NewApplication(ctx, "applicationResource", &appengine.ApplicationArgs{
    	LocationId:   pulumi.String("string"),
    	AuthDomain:   pulumi.String("string"),
    	DatabaseType: pulumi.String("string"),
    	FeatureSettings: &appengine.ApplicationFeatureSettingsArgs{
    		SplitHealthChecks: pulumi.Bool(false),
    	},
    	Iap: &appengine.ApplicationIapArgs{
    		Oauth2ClientId:           pulumi.String("string"),
    		Oauth2ClientSecret:       pulumi.String("string"),
    		Enabled:                  pulumi.Bool(false),
    		Oauth2ClientSecretSha256: pulumi.String("string"),
    	},
    	Project:       pulumi.String("string"),
    	ServingStatus: pulumi.String("string"),
    })
    
    var applicationResource = new Application("applicationResource", ApplicationArgs.builder()
        .locationId("string")
        .authDomain("string")
        .databaseType("string")
        .featureSettings(ApplicationFeatureSettingsArgs.builder()
            .splitHealthChecks(false)
            .build())
        .iap(ApplicationIapArgs.builder()
            .oauth2ClientId("string")
            .oauth2ClientSecret("string")
            .enabled(false)
            .oauth2ClientSecretSha256("string")
            .build())
        .project("string")
        .servingStatus("string")
        .build());
    
    application_resource = gcp.appengine.Application("applicationResource",
        location_id="string",
        auth_domain="string",
        database_type="string",
        feature_settings={
            "split_health_checks": False,
        },
        iap={
            "oauth2_client_id": "string",
            "oauth2_client_secret": "string",
            "enabled": False,
            "oauth2_client_secret_sha256": "string",
        },
        project="string",
        serving_status="string")
    
    const applicationResource = new gcp.appengine.Application("applicationResource", {
        locationId: "string",
        authDomain: "string",
        databaseType: "string",
        featureSettings: {
            splitHealthChecks: false,
        },
        iap: {
            oauth2ClientId: "string",
            oauth2ClientSecret: "string",
            enabled: false,
            oauth2ClientSecretSha256: "string",
        },
        project: "string",
        servingStatus: "string",
    });
    
    type: gcp:appengine:Application
    properties:
        authDomain: string
        databaseType: string
        featureSettings:
            splitHealthChecks: false
        iap:
            enabled: false
            oauth2ClientId: string
            oauth2ClientSecret: string
            oauth2ClientSecretSha256: string
        locationId: string
        project: string
        servingStatus: string
    

    Application Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Application resource accepts the following input properties:

    LocationId string
    The location to serve the app from.
    AuthDomain string
    The domain to authenticate users with when using App Engine's User API.
    DatabaseType string
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    FeatureSettings ApplicationFeatureSettings
    A block of optional settings to configure specific App Engine features:
    Iap ApplicationIap
    Settings for enabling Cloud Identity Aware Proxy
    Project string
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    ServingStatus string
    The serving status of the app.
    LocationId string
    The location to serve the app from.
    AuthDomain string
    The domain to authenticate users with when using App Engine's User API.
    DatabaseType string
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    FeatureSettings ApplicationFeatureSettingsArgs
    A block of optional settings to configure specific App Engine features:
    Iap ApplicationIapArgs
    Settings for enabling Cloud Identity Aware Proxy
    Project string
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    ServingStatus string
    The serving status of the app.
    locationId String
    The location to serve the app from.
    authDomain String
    The domain to authenticate users with when using App Engine's User API.
    databaseType String
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    featureSettings ApplicationFeatureSettings
    A block of optional settings to configure specific App Engine features:
    iap ApplicationIap
    Settings for enabling Cloud Identity Aware Proxy
    project String
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    servingStatus String
    The serving status of the app.
    locationId string
    The location to serve the app from.
    authDomain string
    The domain to authenticate users with when using App Engine's User API.
    databaseType string
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    featureSettings ApplicationFeatureSettings
    A block of optional settings to configure specific App Engine features:
    iap ApplicationIap
    Settings for enabling Cloud Identity Aware Proxy
    project string
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    servingStatus string
    The serving status of the app.
    location_id str
    The location to serve the app from.
    auth_domain str
    The domain to authenticate users with when using App Engine's User API.
    database_type str
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    feature_settings ApplicationFeatureSettingsArgs
    A block of optional settings to configure specific App Engine features:
    iap ApplicationIapArgs
    Settings for enabling Cloud Identity Aware Proxy
    project str
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    serving_status str
    The serving status of the app.
    locationId String
    The location to serve the app from.
    authDomain String
    The domain to authenticate users with when using App Engine's User API.
    databaseType String
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    featureSettings Property Map
    A block of optional settings to configure specific App Engine features:
    iap Property Map
    Settings for enabling Cloud Identity Aware Proxy
    project String
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    servingStatus String
    The serving status of the app.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:

    AppId string
    Identifier of the app, usually {PROJECT_ID}
    CodeBucket string
    The GCS bucket code is being stored in for this app.
    DefaultBucket string
    The GCS bucket content is being stored in for this app.
    DefaultHostname string
    The default hostname for this app.
    GcrDomain string
    The GCR domain used for storing managed Docker images for this app.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Unique name of the app, usually apps/{PROJECT_ID}
    UrlDispatchRules List<ApplicationUrlDispatchRule>
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    AppId string
    Identifier of the app, usually {PROJECT_ID}
    CodeBucket string
    The GCS bucket code is being stored in for this app.
    DefaultBucket string
    The GCS bucket content is being stored in for this app.
    DefaultHostname string
    The default hostname for this app.
    GcrDomain string
    The GCR domain used for storing managed Docker images for this app.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Unique name of the app, usually apps/{PROJECT_ID}
    UrlDispatchRules []ApplicationUrlDispatchRule
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    appId String
    Identifier of the app, usually {PROJECT_ID}
    codeBucket String
    The GCS bucket code is being stored in for this app.
    defaultBucket String
    The GCS bucket content is being stored in for this app.
    defaultHostname String
    The default hostname for this app.
    gcrDomain String
    The GCR domain used for storing managed Docker images for this app.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Unique name of the app, usually apps/{PROJECT_ID}
    urlDispatchRules List<ApplicationUrlDispatchRule>
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    appId string
    Identifier of the app, usually {PROJECT_ID}
    codeBucket string
    The GCS bucket code is being stored in for this app.
    defaultBucket string
    The GCS bucket content is being stored in for this app.
    defaultHostname string
    The default hostname for this app.
    gcrDomain string
    The GCR domain used for storing managed Docker images for this app.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Unique name of the app, usually apps/{PROJECT_ID}
    urlDispatchRules ApplicationUrlDispatchRule[]
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    app_id str
    Identifier of the app, usually {PROJECT_ID}
    code_bucket str
    The GCS bucket code is being stored in for this app.
    default_bucket str
    The GCS bucket content is being stored in for this app.
    default_hostname str
    The default hostname for this app.
    gcr_domain str
    The GCR domain used for storing managed Docker images for this app.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Unique name of the app, usually apps/{PROJECT_ID}
    url_dispatch_rules Sequence[ApplicationUrlDispatchRule]
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    appId String
    Identifier of the app, usually {PROJECT_ID}
    codeBucket String
    The GCS bucket code is being stored in for this app.
    defaultBucket String
    The GCS bucket content is being stored in for this app.
    defaultHostname String
    The default hostname for this app.
    gcrDomain String
    The GCR domain used for storing managed Docker images for this app.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Unique name of the app, usually apps/{PROJECT_ID}
    urlDispatchRules List<Property Map>
    A list of dispatch rule blocks. Each block has a domain, path, and service field.

    Look up Existing Application Resource

    Get an existing Application resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ApplicationState, opts?: CustomResourceOptions): Application
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_id: Optional[str] = None,
            auth_domain: Optional[str] = None,
            code_bucket: Optional[str] = None,
            database_type: Optional[str] = None,
            default_bucket: Optional[str] = None,
            default_hostname: Optional[str] = None,
            feature_settings: Optional[ApplicationFeatureSettingsArgs] = None,
            gcr_domain: Optional[str] = None,
            iap: Optional[ApplicationIapArgs] = None,
            location_id: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            serving_status: Optional[str] = None,
            url_dispatch_rules: Optional[Sequence[ApplicationUrlDispatchRuleArgs]] = None) -> Application
    func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
    public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
    public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppId string
    Identifier of the app, usually {PROJECT_ID}
    AuthDomain string
    The domain to authenticate users with when using App Engine's User API.
    CodeBucket string
    The GCS bucket code is being stored in for this app.
    DatabaseType string
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    DefaultBucket string
    The GCS bucket content is being stored in for this app.
    DefaultHostname string
    The default hostname for this app.
    FeatureSettings ApplicationFeatureSettings
    A block of optional settings to configure specific App Engine features:
    GcrDomain string
    The GCR domain used for storing managed Docker images for this app.
    Iap ApplicationIap
    Settings for enabling Cloud Identity Aware Proxy
    LocationId string
    The location to serve the app from.
    Name string
    Unique name of the app, usually apps/{PROJECT_ID}
    Project string
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    ServingStatus string
    The serving status of the app.
    UrlDispatchRules List<ApplicationUrlDispatchRule>
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    AppId string
    Identifier of the app, usually {PROJECT_ID}
    AuthDomain string
    The domain to authenticate users with when using App Engine's User API.
    CodeBucket string
    The GCS bucket code is being stored in for this app.
    DatabaseType string
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    DefaultBucket string
    The GCS bucket content is being stored in for this app.
    DefaultHostname string
    The default hostname for this app.
    FeatureSettings ApplicationFeatureSettingsArgs
    A block of optional settings to configure specific App Engine features:
    GcrDomain string
    The GCR domain used for storing managed Docker images for this app.
    Iap ApplicationIapArgs
    Settings for enabling Cloud Identity Aware Proxy
    LocationId string
    The location to serve the app from.
    Name string
    Unique name of the app, usually apps/{PROJECT_ID}
    Project string
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    ServingStatus string
    The serving status of the app.
    UrlDispatchRules []ApplicationUrlDispatchRuleArgs
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    appId String
    Identifier of the app, usually {PROJECT_ID}
    authDomain String
    The domain to authenticate users with when using App Engine's User API.
    codeBucket String
    The GCS bucket code is being stored in for this app.
    databaseType String
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    defaultBucket String
    The GCS bucket content is being stored in for this app.
    defaultHostname String
    The default hostname for this app.
    featureSettings ApplicationFeatureSettings
    A block of optional settings to configure specific App Engine features:
    gcrDomain String
    The GCR domain used for storing managed Docker images for this app.
    iap ApplicationIap
    Settings for enabling Cloud Identity Aware Proxy
    locationId String
    The location to serve the app from.
    name String
    Unique name of the app, usually apps/{PROJECT_ID}
    project String
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    servingStatus String
    The serving status of the app.
    urlDispatchRules List<ApplicationUrlDispatchRule>
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    appId string
    Identifier of the app, usually {PROJECT_ID}
    authDomain string
    The domain to authenticate users with when using App Engine's User API.
    codeBucket string
    The GCS bucket code is being stored in for this app.
    databaseType string
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    defaultBucket string
    The GCS bucket content is being stored in for this app.
    defaultHostname string
    The default hostname for this app.
    featureSettings ApplicationFeatureSettings
    A block of optional settings to configure specific App Engine features:
    gcrDomain string
    The GCR domain used for storing managed Docker images for this app.
    iap ApplicationIap
    Settings for enabling Cloud Identity Aware Proxy
    locationId string
    The location to serve the app from.
    name string
    Unique name of the app, usually apps/{PROJECT_ID}
    project string
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    servingStatus string
    The serving status of the app.
    urlDispatchRules ApplicationUrlDispatchRule[]
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    app_id str
    Identifier of the app, usually {PROJECT_ID}
    auth_domain str
    The domain to authenticate users with when using App Engine's User API.
    code_bucket str
    The GCS bucket code is being stored in for this app.
    database_type str
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    default_bucket str
    The GCS bucket content is being stored in for this app.
    default_hostname str
    The default hostname for this app.
    feature_settings ApplicationFeatureSettingsArgs
    A block of optional settings to configure specific App Engine features:
    gcr_domain str
    The GCR domain used for storing managed Docker images for this app.
    iap ApplicationIapArgs
    Settings for enabling Cloud Identity Aware Proxy
    location_id str
    The location to serve the app from.
    name str
    Unique name of the app, usually apps/{PROJECT_ID}
    project str
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    serving_status str
    The serving status of the app.
    url_dispatch_rules Sequence[ApplicationUrlDispatchRuleArgs]
    A list of dispatch rule blocks. Each block has a domain, path, and service field.
    appId String
    Identifier of the app, usually {PROJECT_ID}
    authDomain String
    The domain to authenticate users with when using App Engine's User API.
    codeBucket String
    The GCS bucket code is being stored in for this app.
    databaseType String
    The type of the Cloud Firestore or Cloud Datastore database associated with this application. Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new instances. To support old instances, the value CLOUD_DATASTORE is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use the gcp.firestore.Database resource instead.
    defaultBucket String
    The GCS bucket content is being stored in for this app.
    defaultHostname String
    The default hostname for this app.
    featureSettings Property Map
    A block of optional settings to configure specific App Engine features:
    gcrDomain String
    The GCR domain used for storing managed Docker images for this app.
    iap Property Map
    Settings for enabling Cloud Identity Aware Proxy
    locationId String
    The location to serve the app from.
    name String
    Unique name of the app, usually apps/{PROJECT_ID}
    project String
    The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a "Permission denied" error.
    servingStatus String
    The serving status of the app.
    urlDispatchRules List<Property Map>
    A list of dispatch rule blocks. Each block has a domain, path, and service field.

    Supporting Types

    ApplicationFeatureSettings, ApplicationFeatureSettingsArgs

    SplitHealthChecks bool
    Set to false to use the legacy health check instead of the readiness and liveness checks.
    SplitHealthChecks bool
    Set to false to use the legacy health check instead of the readiness and liveness checks.
    splitHealthChecks Boolean
    Set to false to use the legacy health check instead of the readiness and liveness checks.
    splitHealthChecks boolean
    Set to false to use the legacy health check instead of the readiness and liveness checks.
    split_health_checks bool
    Set to false to use the legacy health check instead of the readiness and liveness checks.
    splitHealthChecks Boolean
    Set to false to use the legacy health check instead of the readiness and liveness checks.

    ApplicationIap, ApplicationIapArgs

    Oauth2ClientId string
    OAuth2 client ID to use for the authentication flow.
    Oauth2ClientSecret string
    OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.
    Enabled bool
    (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
    Oauth2ClientSecretSha256 string
    Hex-encoded SHA-256 hash of the client secret.
    Oauth2ClientId string
    OAuth2 client ID to use for the authentication flow.
    Oauth2ClientSecret string
    OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.
    Enabled bool
    (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
    Oauth2ClientSecretSha256 string
    Hex-encoded SHA-256 hash of the client secret.
    oauth2ClientId String
    OAuth2 client ID to use for the authentication flow.
    oauth2ClientSecret String
    OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.
    enabled Boolean
    (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
    oauth2ClientSecretSha256 String
    Hex-encoded SHA-256 hash of the client secret.
    oauth2ClientId string
    OAuth2 client ID to use for the authentication flow.
    oauth2ClientSecret string
    OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.
    enabled boolean
    (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
    oauth2ClientSecretSha256 string
    Hex-encoded SHA-256 hash of the client secret.
    oauth2_client_id str
    OAuth2 client ID to use for the authentication flow.
    oauth2_client_secret str
    OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.
    enabled bool
    (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
    oauth2_client_secret_sha256 str
    Hex-encoded SHA-256 hash of the client secret.
    oauth2ClientId String
    OAuth2 client ID to use for the authentication flow.
    oauth2ClientSecret String
    OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.
    enabled Boolean
    (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
    oauth2ClientSecretSha256 String
    Hex-encoded SHA-256 hash of the client secret.

    ApplicationUrlDispatchRule, ApplicationUrlDispatchRuleArgs

    Domain string
    Path string
    Service string
    Domain string
    Path string
    Service string
    domain String
    path String
    service String
    domain string
    path string
    service string
    domain str
    path str
    service str
    domain String
    path String
    service String

    Import

    Applications can be imported using the ID of the project the application belongs to, e.g.

    • {{project-id}}

    When using the pulumi import command, Applications can be imported using one of the formats above. For example:

    $ pulumi import gcp:appengine/application:Application default {{project-id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi