Google Cloud (GCP) Classic

v6.39.0 published on Wednesday, Sep 28, 2022 by Pulumi

StandardAppVersion

Standard App Version resource to create a new version of standard GAE Application. Learn about the differences between the standard environment and the flexible environment at https://cloud.google.com/appengine/docs/the-appengine-environments. Currently supporting Zip and File Containers.

To get more information about StandardAppVersion, see:

Example Usage

App Engine Standard App Version

using System.Collections.Generic;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var bucket = new Gcp.Storage.Bucket("bucket", new()
    {
        Location = "US",
    });

    var @object = new Gcp.Storage.BucketObject("object", new()
    {
        Bucket = bucket.Name,
        Source = new FileAsset("./test-fixtures/appengine/hello-world.zip"),
    });

    var myappV1 = new Gcp.AppEngine.StandardAppVersion("myappV1", new()
    {
        VersionId = "v1",
        Service = "myapp",
        Runtime = "nodejs10",
        Entrypoint = new Gcp.AppEngine.Inputs.StandardAppVersionEntrypointArgs
        {
            Shell = "node ./app.js",
        },
        Deployment = new Gcp.AppEngine.Inputs.StandardAppVersionDeploymentArgs
        {
            Zip = new Gcp.AppEngine.Inputs.StandardAppVersionDeploymentZipArgs
            {
                SourceUrl = Output.Tuple(bucket.Name, @object.Name).Apply(values =>
                {
                    var bucketName = values.Item1;
                    var objectName = values.Item2;
                    return $"https://storage.googleapis.com/{bucketName}/{objectName}";
                }),
            },
        },
        EnvVariables = 
        {
            { "port", "8080" },
        },
        AutomaticScaling = new Gcp.AppEngine.Inputs.StandardAppVersionAutomaticScalingArgs
        {
            MaxConcurrentRequests = 10,
            MinIdleInstances = 1,
            MaxIdleInstances = 3,
            MinPendingLatency = "1s",
            MaxPendingLatency = "5s",
            StandardSchedulerSettings = new Gcp.AppEngine.Inputs.StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs
            {
                TargetCpuUtilization = 0.5,
                TargetThroughputUtilization = 0.75,
                MinInstances = 2,
                MaxInstances = 10,
            },
        },
        DeleteServiceOnDestroy = true,
    });

    var myappV2 = new Gcp.AppEngine.StandardAppVersion("myappV2", new()
    {
        VersionId = "v2",
        Service = "myapp",
        Runtime = "nodejs10",
        AppEngineApis = true,
        Entrypoint = new Gcp.AppEngine.Inputs.StandardAppVersionEntrypointArgs
        {
            Shell = "node ./app.js",
        },
        Deployment = new Gcp.AppEngine.Inputs.StandardAppVersionDeploymentArgs
        {
            Zip = new Gcp.AppEngine.Inputs.StandardAppVersionDeploymentZipArgs
            {
                SourceUrl = Output.Tuple(bucket.Name, @object.Name).Apply(values =>
                {
                    var bucketName = values.Item1;
                    var objectName = values.Item2;
                    return $"https://storage.googleapis.com/{bucketName}/{objectName}";
                }),
            },
        },
        EnvVariables = 
        {
            { "port", "8080" },
        },
        BasicScaling = new Gcp.AppEngine.Inputs.StandardAppVersionBasicScalingArgs
        {
            MaxInstances = 5,
        },
        NoopOnDestroy = true,
    });

});
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/appengine"
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
			Bucket: bucket.Name,
			Source: pulumi.NewFileAsset("./test-fixtures/appengine/hello-world.zip"),
		})
		if err != nil {
			return err
		}
		_, err = appengine.NewStandardAppVersion(ctx, "myappV1", &appengine.StandardAppVersionArgs{
			VersionId: pulumi.String("v1"),
			Service:   pulumi.String("myapp"),
			Runtime:   pulumi.String("nodejs10"),
			Entrypoint: &appengine.StandardAppVersionEntrypointArgs{
				Shell: pulumi.String("node ./app.js"),
			},
			Deployment: &appengine.StandardAppVersionDeploymentArgs{
				Zip: &appengine.StandardAppVersionDeploymentZipArgs{
					SourceUrl: pulumi.All(bucket.Name, object.Name).ApplyT(func(_args []interface{}) (string, error) {
						bucketName := _args[0].(string)
						objectName := _args[1].(string)
						return fmt.Sprintf("https://storage.googleapis.com/%v/%v", bucketName, objectName), nil
					}).(pulumi.StringOutput),
				},
			},
			EnvVariables: pulumi.StringMap{
				"port": pulumi.String("8080"),
			},
			AutomaticScaling: &appengine.StandardAppVersionAutomaticScalingArgs{
				MaxConcurrentRequests: pulumi.Int(10),
				MinIdleInstances:      pulumi.Int(1),
				MaxIdleInstances:      pulumi.Int(3),
				MinPendingLatency:     pulumi.String("1s"),
				MaxPendingLatency:     pulumi.String("5s"),
				StandardSchedulerSettings: &appengine.StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs{
					TargetCpuUtilization:        pulumi.Float64(0.5),
					TargetThroughputUtilization: pulumi.Float64(0.75),
					MinInstances:                pulumi.Int(2),
					MaxInstances:                pulumi.Int(10),
				},
			},
			DeleteServiceOnDestroy: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = appengine.NewStandardAppVersion(ctx, "myappV2", &appengine.StandardAppVersionArgs{
			VersionId:     pulumi.String("v2"),
			Service:       pulumi.String("myapp"),
			Runtime:       pulumi.String("nodejs10"),
			AppEngineApis: pulumi.Bool(true),
			Entrypoint: &appengine.StandardAppVersionEntrypointArgs{
				Shell: pulumi.String("node ./app.js"),
			},
			Deployment: &appengine.StandardAppVersionDeploymentArgs{
				Zip: &appengine.StandardAppVersionDeploymentZipArgs{
					SourceUrl: pulumi.All(bucket.Name, object.Name).ApplyT(func(_args []interface{}) (string, error) {
						bucketName := _args[0].(string)
						objectName := _args[1].(string)
						return fmt.Sprintf("https://storage.googleapis.com/%v/%v", bucketName, objectName), nil
					}).(pulumi.StringOutput),
				},
			},
			EnvVariables: pulumi.StringMap{
				"port": pulumi.String("8080"),
			},
			BasicScaling: &appengine.StandardAppVersionBasicScalingArgs{
				MaxInstances: pulumi.Int(5),
			},
			NoopOnDestroy: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.storage.Bucket;
import com.pulumi.gcp.storage.BucketArgs;
import com.pulumi.gcp.storage.BucketObject;
import com.pulumi.gcp.storage.BucketObjectArgs;
import com.pulumi.gcp.appengine.StandardAppVersion;
import com.pulumi.gcp.appengine.StandardAppVersionArgs;
import com.pulumi.gcp.appengine.inputs.StandardAppVersionEntrypointArgs;
import com.pulumi.gcp.appengine.inputs.StandardAppVersionDeploymentArgs;
import com.pulumi.gcp.appengine.inputs.StandardAppVersionDeploymentZipArgs;
import com.pulumi.gcp.appengine.inputs.StandardAppVersionAutomaticScalingArgs;
import com.pulumi.gcp.appengine.inputs.StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs;
import com.pulumi.gcp.appengine.inputs.StandardAppVersionBasicScalingArgs;
import com.pulumi.asset.FileAsset;
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 bucket = new Bucket("bucket", BucketArgs.builder()        
            .location("US")
            .build());

        var object = new BucketObject("object", BucketObjectArgs.builder()        
            .bucket(bucket.name())
            .source(new FileAsset("./test-fixtures/appengine/hello-world.zip"))
            .build());

        var myappV1 = new StandardAppVersion("myappV1", StandardAppVersionArgs.builder()        
            .versionId("v1")
            .service("myapp")
            .runtime("nodejs10")
            .entrypoint(StandardAppVersionEntrypointArgs.builder()
                .shell("node ./app.js")
                .build())
            .deployment(StandardAppVersionDeploymentArgs.builder()
                .zip(StandardAppVersionDeploymentZipArgs.builder()
                    .sourceUrl(Output.tuple(bucket.name(), object.name()).applyValue(values -> {
                        var bucketName = values.t1;
                        var objectName = values.t2;
                        return String.format("https://storage.googleapis.com/%s/%s", bucketName,objectName);
                    }))
                    .build())
                .build())
            .envVariables(Map.of("port", "8080"))
            .automaticScaling(StandardAppVersionAutomaticScalingArgs.builder()
                .maxConcurrentRequests(10)
                .minIdleInstances(1)
                .maxIdleInstances(3)
                .minPendingLatency("1s")
                .maxPendingLatency("5s")
                .standardSchedulerSettings(StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs.builder()
                    .targetCpuUtilization(0.5)
                    .targetThroughputUtilization(0.75)
                    .minInstances(2)
                    .maxInstances(10)
                    .build())
                .build())
            .deleteServiceOnDestroy(true)
            .build());

        var myappV2 = new StandardAppVersion("myappV2", StandardAppVersionArgs.builder()        
            .versionId("v2")
            .service("myapp")
            .runtime("nodejs10")
            .appEngineApis(true)
            .entrypoint(StandardAppVersionEntrypointArgs.builder()
                .shell("node ./app.js")
                .build())
            .deployment(StandardAppVersionDeploymentArgs.builder()
                .zip(StandardAppVersionDeploymentZipArgs.builder()
                    .sourceUrl(Output.tuple(bucket.name(), object.name()).applyValue(values -> {
                        var bucketName = values.t1;
                        var objectName = values.t2;
                        return String.format("https://storage.googleapis.com/%s/%s", bucketName,objectName);
                    }))
                    .build())
                .build())
            .envVariables(Map.of("port", "8080"))
            .basicScaling(StandardAppVersionBasicScalingArgs.builder()
                .maxInstances(5)
                .build())
            .noopOnDestroy(true)
            .build());

    }
}
import pulumi
import pulumi_gcp as gcp

bucket = gcp.storage.Bucket("bucket", location="US")
object = gcp.storage.BucketObject("object",
    bucket=bucket.name,
    source=pulumi.FileAsset("./test-fixtures/appengine/hello-world.zip"))
myapp_v1 = gcp.appengine.StandardAppVersion("myappV1",
    version_id="v1",
    service="myapp",
    runtime="nodejs10",
    entrypoint=gcp.appengine.StandardAppVersionEntrypointArgs(
        shell="node ./app.js",
    ),
    deployment=gcp.appengine.StandardAppVersionDeploymentArgs(
        zip=gcp.appengine.StandardAppVersionDeploymentZipArgs(
            source_url=pulumi.Output.all(bucket.name, object.name).apply(lambda bucketName, objectName: f"https://storage.googleapis.com/{bucket_name}/{object_name}"),
        ),
    ),
    env_variables={
        "port": "8080",
    },
    automatic_scaling=gcp.appengine.StandardAppVersionAutomaticScalingArgs(
        max_concurrent_requests=10,
        min_idle_instances=1,
        max_idle_instances=3,
        min_pending_latency="1s",
        max_pending_latency="5s",
        standard_scheduler_settings=gcp.appengine.StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs(
            target_cpu_utilization=0.5,
            target_throughput_utilization=0.75,
            min_instances=2,
            max_instances=10,
        ),
    ),
    delete_service_on_destroy=True)
myapp_v2 = gcp.appengine.StandardAppVersion("myappV2",
    version_id="v2",
    service="myapp",
    runtime="nodejs10",
    app_engine_apis=True,
    entrypoint=gcp.appengine.StandardAppVersionEntrypointArgs(
        shell="node ./app.js",
    ),
    deployment=gcp.appengine.StandardAppVersionDeploymentArgs(
        zip=gcp.appengine.StandardAppVersionDeploymentZipArgs(
            source_url=pulumi.Output.all(bucket.name, object.name).apply(lambda bucketName, objectName: f"https://storage.googleapis.com/{bucket_name}/{object_name}"),
        ),
    ),
    env_variables={
        "port": "8080",
    },
    basic_scaling=gcp.appengine.StandardAppVersionBasicScalingArgs(
        max_instances=5,
    ),
    noop_on_destroy=True)
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const bucket = new gcp.storage.Bucket("bucket", {location: "US"});
const object = new gcp.storage.BucketObject("object", {
    bucket: bucket.name,
    source: new pulumi.asset.FileAsset("./test-fixtures/appengine/hello-world.zip"),
});
const myappV1 = new gcp.appengine.StandardAppVersion("myappV1", {
    versionId: "v1",
    service: "myapp",
    runtime: "nodejs10",
    entrypoint: {
        shell: "node ./app.js",
    },
    deployment: {
        zip: {
            sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
        },
    },
    envVariables: {
        port: "8080",
    },
    automaticScaling: {
        maxConcurrentRequests: 10,
        minIdleInstances: 1,
        maxIdleInstances: 3,
        minPendingLatency: "1s",
        maxPendingLatency: "5s",
        standardSchedulerSettings: {
            targetCpuUtilization: 0.5,
            targetThroughputUtilization: 0.75,
            minInstances: 2,
            maxInstances: 10,
        },
    },
    deleteServiceOnDestroy: true,
});
const myappV2 = new gcp.appengine.StandardAppVersion("myappV2", {
    versionId: "v2",
    service: "myapp",
    runtime: "nodejs10",
    appEngineApis: true,
    entrypoint: {
        shell: "node ./app.js",
    },
    deployment: {
        zip: {
            sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
        },
    },
    envVariables: {
        port: "8080",
    },
    basicScaling: {
        maxInstances: 5,
    },
    noopOnDestroy: true,
});
resources:
  myappV1:
    type: gcp:appengine:StandardAppVersion
    properties:
      versionId: v1
      service: myapp
      runtime: nodejs10
      entrypoint:
        shell: node ./app.js
      deployment:
        zip:
          sourceUrl: https://storage.googleapis.com/${bucket.name}/${object.name}
      envVariables:
        port: 8080
      automaticScaling:
        maxConcurrentRequests: 10
        minIdleInstances: 1
        maxIdleInstances: 3
        minPendingLatency: 1s
        maxPendingLatency: 5s
        standardSchedulerSettings:
          targetCpuUtilization: 0.5
          targetThroughputUtilization: 0.75
          minInstances: 2
          maxInstances: 10
      deleteServiceOnDestroy: true
  myappV2:
    type: gcp:appengine:StandardAppVersion
    properties:
      versionId: v2
      service: myapp
      runtime: nodejs10
      appEngineApis: true
      entrypoint:
        shell: node ./app.js
      deployment:
        zip:
          sourceUrl: https://storage.googleapis.com/${bucket.name}/${object.name}
      envVariables:
        port: 8080
      basicScaling:
        maxInstances: 5
      noopOnDestroy: true
  bucket:
    type: gcp:storage:Bucket
    properties:
      location: US
  object:
    type: gcp:storage:BucketObject
    properties:
      bucket: ${bucket.name}
      source:
        Fn::FileAsset: ./test-fixtures/appengine/hello-world.zip

Create a StandardAppVersion Resource

new StandardAppVersion(name: string, args: StandardAppVersionArgs, opts?: CustomResourceOptions);
@overload
def StandardAppVersion(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       app_engine_apis: Optional[bool] = None,
                       automatic_scaling: Optional[StandardAppVersionAutomaticScalingArgs] = None,
                       basic_scaling: Optional[StandardAppVersionBasicScalingArgs] = None,
                       delete_service_on_destroy: Optional[bool] = None,
                       deployment: Optional[StandardAppVersionDeploymentArgs] = None,
                       entrypoint: Optional[StandardAppVersionEntrypointArgs] = None,
                       env_variables: Optional[Mapping[str, str]] = None,
                       handlers: Optional[Sequence[StandardAppVersionHandlerArgs]] = None,
                       inbound_services: Optional[Sequence[str]] = None,
                       instance_class: Optional[str] = None,
                       libraries: Optional[Sequence[StandardAppVersionLibraryArgs]] = None,
                       manual_scaling: Optional[StandardAppVersionManualScalingArgs] = None,
                       noop_on_destroy: Optional[bool] = None,
                       project: Optional[str] = None,
                       runtime: Optional[str] = None,
                       runtime_api_version: Optional[str] = None,
                       service: Optional[str] = None,
                       threadsafe: Optional[bool] = None,
                       version_id: Optional[str] = None,
                       vpc_access_connector: Optional[StandardAppVersionVpcAccessConnectorArgs] = None)
@overload
def StandardAppVersion(resource_name: str,
                       args: StandardAppVersionArgs,
                       opts: Optional[ResourceOptions] = None)
func NewStandardAppVersion(ctx *Context, name string, args StandardAppVersionArgs, opts ...ResourceOption) (*StandardAppVersion, error)
public StandardAppVersion(string name, StandardAppVersionArgs args, CustomResourceOptions? opts = null)
public StandardAppVersion(String name, StandardAppVersionArgs args)
public StandardAppVersion(String name, StandardAppVersionArgs args, CustomResourceOptions options)
type: gcp:appengine:StandardAppVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args StandardAppVersionArgs
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 StandardAppVersionArgs
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 StandardAppVersionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args StandardAppVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args StandardAppVersionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

StandardAppVersion Resource Properties

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

Inputs

The StandardAppVersion resource accepts the following input properties:

Deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

Entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

Runtime string

Desired runtime. Example python27.

Service string

AppEngine service resource

AppEngineApis bool

Allows App Engine second generation runtimes to access the legacy bundled services.

AutomaticScaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

BasicScaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

DeleteServiceOnDestroy bool

If set to true, the service will be deleted if it is the last version.

EnvVariables Dictionary<string, string>

Environment variables available to the application.

Handlers List<StandardAppVersionHandlerArgs>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

InboundServices List<string>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

InstanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

Libraries List<StandardAppVersionLibraryArgs>

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

ManualScaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

NoopOnDestroy bool

If set to true, the application version will not be deleted.

Project string

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

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

Threadsafe bool

Whether multiple requests can be dispatched to this version at once.

VersionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

VpcAccessConnector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

Deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

Entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

Runtime string

Desired runtime. Example python27.

Service string

AppEngine service resource

AppEngineApis bool

Allows App Engine second generation runtimes to access the legacy bundled services.

AutomaticScaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

BasicScaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

DeleteServiceOnDestroy bool

If set to true, the service will be deleted if it is the last version.

EnvVariables map[string]string

Environment variables available to the application.

Handlers []StandardAppVersionHandlerArgs

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

InboundServices []string

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

InstanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

Libraries []StandardAppVersionLibraryArgs

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

ManualScaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

NoopOnDestroy bool

If set to true, the application version will not be deleted.

Project string

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

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

Threadsafe bool

Whether multiple requests can be dispatched to this version at once.

VersionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

VpcAccessConnector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

runtime String

Desired runtime. Example python27.

service String

AppEngine service resource

appEngineApis Boolean

Allows App Engine second generation runtimes to access the legacy bundled services.

automaticScaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

basicScaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

deleteServiceOnDestroy Boolean

If set to true, the service will be deleted if it is the last version.

envVariables Map<String,String>

Environment variables available to the application.

handlers List<StandardAppVersionHandlerArgs>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices List<String>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass String

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

libraries List<StandardAppVersionLibraryArgs>

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

manualScaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

noopOnDestroy Boolean

If set to true, the application version will not be deleted.

project String

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

runtimeApiVersion String

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

threadsafe Boolean

Whether multiple requests can be dispatched to this version at once.

versionId String

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

runtime string

Desired runtime. Example python27.

service string

AppEngine service resource

appEngineApis boolean

Allows App Engine second generation runtimes to access the legacy bundled services.

automaticScaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

basicScaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

deleteServiceOnDestroy boolean

If set to true, the service will be deleted if it is the last version.

envVariables {[key: string]: string}

Environment variables available to the application.

handlers StandardAppVersionHandlerArgs[]

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices string[]

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

libraries StandardAppVersionLibraryArgs[]

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

manualScaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

noopOnDestroy boolean

If set to true, the application version will not be deleted.

project string

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

runtimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

threadsafe boolean

Whether multiple requests can be dispatched to this version at once.

versionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

runtime str

Desired runtime. Example python27.

service str

AppEngine service resource

app_engine_apis bool

Allows App Engine second generation runtimes to access the legacy bundled services.

automatic_scaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

basic_scaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

delete_service_on_destroy bool

If set to true, the service will be deleted if it is the last version.

env_variables Mapping[str, str]

Environment variables available to the application.

handlers Sequence[StandardAppVersionHandlerArgs]

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inbound_services Sequence[str]

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instance_class str

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

libraries Sequence[StandardAppVersionLibraryArgs]

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

manual_scaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

noop_on_destroy bool

If set to true, the application version will not be deleted.

project str

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

runtime_api_version str

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

threadsafe bool

Whether multiple requests can be dispatched to this version at once.

version_id str

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpc_access_connector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

deployment Property Map

Code and application artifacts that make up this version. Structure is documented below.

entrypoint Property Map

The entrypoint for the application. Structure is documented below.

runtime String

Desired runtime. Example python27.

service String

AppEngine service resource

appEngineApis Boolean

Allows App Engine second generation runtimes to access the legacy bundled services.

automaticScaling Property Map

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

basicScaling Property Map

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

deleteServiceOnDestroy Boolean

If set to true, the service will be deleted if it is the last version.

envVariables Map<String>

Environment variables available to the application.

handlers List<Property Map>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices List<String>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass String

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

libraries List<Property Map>

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

manualScaling Property Map

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

noopOnDestroy Boolean

If set to true, the application version will not be deleted.

project String

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

runtimeApiVersion String

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

threadsafe Boolean

Whether multiple requests can be dispatched to this version at once.

versionId String

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector Property Map

Enables VPC connectivity for standard apps. Structure is documented below.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

id String

The provider-assigned unique ID for this managed resource.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

id string

The provider-assigned unique ID for this managed resource.

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

id str

The provider-assigned unique ID for this managed resource.

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

id String

The provider-assigned unique ID for this managed resource.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Look up an Existing StandardAppVersion Resource

Get an existing StandardAppVersion 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?: StandardAppVersionState, opts?: CustomResourceOptions): StandardAppVersion
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_engine_apis: Optional[bool] = None,
        automatic_scaling: Optional[StandardAppVersionAutomaticScalingArgs] = None,
        basic_scaling: Optional[StandardAppVersionBasicScalingArgs] = None,
        delete_service_on_destroy: Optional[bool] = None,
        deployment: Optional[StandardAppVersionDeploymentArgs] = None,
        entrypoint: Optional[StandardAppVersionEntrypointArgs] = None,
        env_variables: Optional[Mapping[str, str]] = None,
        handlers: Optional[Sequence[StandardAppVersionHandlerArgs]] = None,
        inbound_services: Optional[Sequence[str]] = None,
        instance_class: Optional[str] = None,
        libraries: Optional[Sequence[StandardAppVersionLibraryArgs]] = None,
        manual_scaling: Optional[StandardAppVersionManualScalingArgs] = None,
        name: Optional[str] = None,
        noop_on_destroy: Optional[bool] = None,
        project: Optional[str] = None,
        runtime: Optional[str] = None,
        runtime_api_version: Optional[str] = None,
        service: Optional[str] = None,
        threadsafe: Optional[bool] = None,
        version_id: Optional[str] = None,
        vpc_access_connector: Optional[StandardAppVersionVpcAccessConnectorArgs] = None) -> StandardAppVersion
func GetStandardAppVersion(ctx *Context, name string, id IDInput, state *StandardAppVersionState, opts ...ResourceOption) (*StandardAppVersion, error)
public static StandardAppVersion Get(string name, Input<string> id, StandardAppVersionState? state, CustomResourceOptions? opts = null)
public static StandardAppVersion get(String name, Output<String> id, StandardAppVersionState 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:
AppEngineApis bool

Allows App Engine second generation runtimes to access the legacy bundled services.

AutomaticScaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

BasicScaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

DeleteServiceOnDestroy bool

If set to true, the service will be deleted if it is the last version.

Deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

Entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables Dictionary<string, string>

Environment variables available to the application.

Handlers List<StandardAppVersionHandlerArgs>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

InboundServices List<string>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

InstanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

Libraries List<StandardAppVersionLibraryArgs>

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

ManualScaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

NoopOnDestroy bool

If set to true, the application version will not be deleted.

Project string

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

Runtime string

Desired runtime. Example python27.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

Service string

AppEngine service resource

Threadsafe bool

Whether multiple requests can be dispatched to this version at once.

VersionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

VpcAccessConnector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

AppEngineApis bool

Allows App Engine second generation runtimes to access the legacy bundled services.

AutomaticScaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

BasicScaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

DeleteServiceOnDestroy bool

If set to true, the service will be deleted if it is the last version.

Deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

Entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables map[string]string

Environment variables available to the application.

Handlers []StandardAppVersionHandlerArgs

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

InboundServices []string

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

InstanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

Libraries []StandardAppVersionLibraryArgs

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

ManualScaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

NoopOnDestroy bool

If set to true, the application version will not be deleted.

Project string

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

Runtime string

Desired runtime. Example python27.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

Service string

AppEngine service resource

Threadsafe bool

Whether multiple requests can be dispatched to this version at once.

VersionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

VpcAccessConnector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

appEngineApis Boolean

Allows App Engine second generation runtimes to access the legacy bundled services.

automaticScaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

basicScaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

deleteServiceOnDestroy Boolean

If set to true, the service will be deleted if it is the last version.

deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

envVariables Map<String,String>

Environment variables available to the application.

handlers List<StandardAppVersionHandlerArgs>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices List<String>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass String

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

libraries List<StandardAppVersionLibraryArgs>

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

manualScaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

noopOnDestroy Boolean

If set to true, the application version will not be deleted.

project String

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

runtime String

Desired runtime. Example python27.

runtimeApiVersion String

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

service String

AppEngine service resource

threadsafe Boolean

Whether multiple requests can be dispatched to this version at once.

versionId String

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

appEngineApis boolean

Allows App Engine second generation runtimes to access the legacy bundled services.

automaticScaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

basicScaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

deleteServiceOnDestroy boolean

If set to true, the service will be deleted if it is the last version.

deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

envVariables {[key: string]: string}

Environment variables available to the application.

handlers StandardAppVersionHandlerArgs[]

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices string[]

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass string

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

libraries StandardAppVersionLibraryArgs[]

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

manualScaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

noopOnDestroy boolean

If set to true, the application version will not be deleted.

project string

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

runtime string

Desired runtime. Example python27.

runtimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

service string

AppEngine service resource

threadsafe boolean

Whether multiple requests can be dispatched to this version at once.

versionId string

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

app_engine_apis bool

Allows App Engine second generation runtimes to access the legacy bundled services.

automatic_scaling StandardAppVersionAutomaticScalingArgs

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

basic_scaling StandardAppVersionBasicScalingArgs

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

delete_service_on_destroy bool

If set to true, the service will be deleted if it is the last version.

deployment StandardAppVersionDeploymentArgs

Code and application artifacts that make up this version. Structure is documented below.

entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

env_variables Mapping[str, str]

Environment variables available to the application.

handlers Sequence[StandardAppVersionHandlerArgs]

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inbound_services Sequence[str]

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instance_class str

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

libraries Sequence[StandardAppVersionLibraryArgs]

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

manual_scaling StandardAppVersionManualScalingArgs

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

noop_on_destroy bool

If set to true, the application version will not be deleted.

project str

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

runtime str

Desired runtime. Example python27.

runtime_api_version str

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

service str

AppEngine service resource

threadsafe bool

Whether multiple requests can be dispatched to this version at once.

version_id str

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpc_access_connector StandardAppVersionVpcAccessConnectorArgs

Enables VPC connectivity for standard apps. Structure is documented below.

appEngineApis Boolean

Allows App Engine second generation runtimes to access the legacy bundled services.

automaticScaling Property Map

Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.

basicScaling Property Map

Basic scaling creates instances when your application receives requests. Each instance will be shut down when the application becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. Structure is documented below.

deleteServiceOnDestroy Boolean

If set to true, the service will be deleted if it is the last version.

deployment Property Map

Code and application artifacts that make up this version. Structure is documented below.

entrypoint Property Map

The entrypoint for the application. Structure is documented below.

envVariables Map<String>

Environment variables available to the application.

handlers List<Property Map>

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted. Structure is documented below.

inboundServices List<String>

A list of the types of messages that this application is able to receive. Each value may be one of INBOUND_SERVICE_MAIL, INBOUND_SERVICE_MAIL_BOUNCE, INBOUND_SERVICE_XMPP_ERROR, INBOUND_SERVICE_XMPP_MESSAGE, INBOUND_SERVICE_XMPP_SUBSCRIBE, INBOUND_SERVICE_XMPP_PRESENCE, INBOUND_SERVICE_CHANNEL_PRESENCE, and INBOUND_SERVICE_WARMUP.

instanceClass String

Instance class that is used to run this version. Valid values are AutomaticScaling: F1, F2, F4, F4_1G BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.

libraries List<Property Map>

Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.

manualScaling Property Map

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Structure is documented below.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

noopOnDestroy Boolean

If set to true, the application version will not be deleted.

project String

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

runtime String

Desired runtime. Example python27.

runtimeApiVersion String

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
Substitute <language> with python, java, php, ruby, go or nodejs.

service String

AppEngine service resource

threadsafe Boolean

Whether multiple requests can be dispatched to this version at once.

versionId String

Relative name of the version within the service. For example, v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names,"default", "latest", and any name with the prefix "ah-".

vpcAccessConnector Property Map

Enables VPC connectivity for standard apps. Structure is documented below.

Supporting Types

StandardAppVersionAutomaticScaling

MaxConcurrentRequests int

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

MaxIdleInstances int

Maximum number of idle instances that should be maintained for this version.

MaxPendingLatency string

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

MinIdleInstances int

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

MinPendingLatency string

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

StandardSchedulerSettings StandardAppVersionAutomaticScalingStandardSchedulerSettings

Scheduler settings for standard environment. Structure is documented below.

MaxConcurrentRequests int

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

MaxIdleInstances int

Maximum number of idle instances that should be maintained for this version.

MaxPendingLatency string

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

MinIdleInstances int

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

MinPendingLatency string

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

StandardSchedulerSettings StandardAppVersionAutomaticScalingStandardSchedulerSettings

Scheduler settings for standard environment. Structure is documented below.

maxConcurrentRequests Integer

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

maxIdleInstances Integer

Maximum number of idle instances that should be maintained for this version.

maxPendingLatency String

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

minIdleInstances Integer

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

minPendingLatency String

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

standardSchedulerSettings StandardAppVersionAutomaticScalingStandardSchedulerSettings

Scheduler settings for standard environment. Structure is documented below.

maxConcurrentRequests number

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

maxIdleInstances number

Maximum number of idle instances that should be maintained for this version.

maxPendingLatency string

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

minIdleInstances number

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

minPendingLatency string

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

standardSchedulerSettings StandardAppVersionAutomaticScalingStandardSchedulerSettings

Scheduler settings for standard environment. Structure is documented below.

max_concurrent_requests int

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

max_idle_instances int

Maximum number of idle instances that should be maintained for this version.

max_pending_latency str

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

min_idle_instances int

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

min_pending_latency str

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

standard_scheduler_settings StandardAppVersionAutomaticScalingStandardSchedulerSettings

Scheduler settings for standard environment. Structure is documented below.

maxConcurrentRequests Number

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

maxIdleInstances Number

Maximum number of idle instances that should be maintained for this version.

maxPendingLatency String

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

minIdleInstances Number

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

minPendingLatency String

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

standardSchedulerSettings Property Map

Scheduler settings for standard environment. Structure is documented below.

StandardAppVersionAutomaticScalingStandardSchedulerSettings

MaxInstances int

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

MinInstances int

Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.

TargetCpuUtilization double

Target CPU utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

TargetThroughputUtilization double

Target throughput utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

MaxInstances int

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

MinInstances int

Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.

TargetCpuUtilization float64

Target CPU utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

TargetThroughputUtilization float64

Target throughput utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

maxInstances Integer

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

minInstances Integer

Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.

targetCpuUtilization Double

Target CPU utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

targetThroughputUtilization Double

Target throughput utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

maxInstances number

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

minInstances number

Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.

targetCpuUtilization number

Target CPU utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

targetThroughputUtilization number

Target throughput utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

max_instances int

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

min_instances int

Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.

target_cpu_utilization float

Target CPU utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

target_throughput_utilization float

Target throughput utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

maxInstances Number

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

minInstances Number

Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.

targetCpuUtilization Number

Target CPU utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

targetThroughputUtilization Number

Target throughput utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.

StandardAppVersionBasicScaling

MaxInstances int

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

IdleTimeout string

Duration of time after the last request that an instance must wait before the instance is shut down. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.

MaxInstances int

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

IdleTimeout string

Duration of time after the last request that an instance must wait before the instance is shut down. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.

maxInstances Integer

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

idleTimeout String

Duration of time after the last request that an instance must wait before the instance is shut down. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.

maxInstances number

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

idleTimeout string

Duration of time after the last request that an instance must wait before the instance is shut down. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.

max_instances int

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

idle_timeout str

Duration of time after the last request that an instance must wait before the instance is shut down. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.

maxInstances Number

Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].

idleTimeout String

Duration of time after the last request that an instance must wait before the instance is shut down. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.

StandardAppVersionDeployment

Files List<StandardAppVersionDeploymentFile>

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

Zip StandardAppVersionDeploymentZip

Zip File Structure is documented below.

Files []StandardAppVersionDeploymentFile

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

Zip StandardAppVersionDeploymentZip

Zip File Structure is documented below.

files List<StandardAppVersionDeploymentFile>

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

zip StandardAppVersionDeploymentZip

Zip File Structure is documented below.

files StandardAppVersionDeploymentFile[]

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

zip StandardAppVersionDeploymentZip

Zip File Structure is documented below.

files Sequence[StandardAppVersionDeploymentFile]

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

zip StandardAppVersionDeploymentZip

Zip File Structure is documented below.

files List<Property Map>

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. Structure is documented below.

zip Property Map

Zip File Structure is documented below.

StandardAppVersionDeploymentFile

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

SourceUrl string

Source URL

Sha1Sum string

SHA1 checksum of the file

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

SourceUrl string

Source URL

Sha1Sum string

SHA1 checksum of the file

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

sourceUrl String

Source URL

sha1Sum String

SHA1 checksum of the file

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

sourceUrl string

Source URL

sha1Sum string

SHA1 checksum of the file

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

source_url str

Source URL

sha1_sum str

SHA1 checksum of the file

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

sourceUrl String

Source URL

sha1Sum String

SHA1 checksum of the file

StandardAppVersionDeploymentZip

SourceUrl string

Source URL

FilesCount int

files count

SourceUrl string

Source URL

FilesCount int

files count

sourceUrl String

Source URL

filesCount Integer

files count

sourceUrl string

Source URL

filesCount number

files count

source_url str

Source URL

files_count int

files count

sourceUrl String

Source URL

filesCount Number

files count

StandardAppVersionEntrypoint

Shell string

The format should be a shell command that can be fed to bash -c.

Shell string

The format should be a shell command that can be fed to bash -c.

shell String

The format should be a shell command that can be fed to bash -c.

shell string

The format should be a shell command that can be fed to bash -c.

shell str

The format should be a shell command that can be fed to bash -c.

shell String

The format should be a shell command that can be fed to bash -c.

StandardAppVersionHandler

AuthFailAction string

Actions to take when the user is not logged in. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

Login string

Methods to restrict access to a URL based on login status. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

RedirectHttpResponseCode string

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

Script StandardAppVersionHandlerScript

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.

SecurityLevel string

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

StaticFiles StandardAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

UrlRegex string

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

AuthFailAction string

Actions to take when the user is not logged in. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

Login string

Methods to restrict access to a URL based on login status. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

RedirectHttpResponseCode string

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

Script StandardAppVersionHandlerScript

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.

SecurityLevel string

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

StaticFiles StandardAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

UrlRegex string

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

authFailAction String

Actions to take when the user is not logged in. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login String

Methods to restrict access to a URL based on login status. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

redirectHttpResponseCode String

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

script StandardAppVersionHandlerScript

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.

securityLevel String

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

staticFiles StandardAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

urlRegex String

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

authFailAction string

Actions to take when the user is not logged in. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login string

Methods to restrict access to a URL based on login status. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

redirectHttpResponseCode string

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

script StandardAppVersionHandlerScript

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.

securityLevel string

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

staticFiles StandardAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

urlRegex string

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

auth_fail_action str

Actions to take when the user is not logged in. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login str

Methods to restrict access to a URL based on login status. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

redirect_http_response_code str

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

script StandardAppVersionHandlerScript

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.

security_level str

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

static_files StandardAppVersionHandlerStaticFiles

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

url_regex str

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

authFailAction String

Actions to take when the user is not logged in. Possible values are AUTH_FAIL_ACTION_REDIRECT and AUTH_FAIL_ACTION_UNAUTHORIZED.

login String

Methods to restrict access to a URL based on login status. Possible values are LOGIN_OPTIONAL, LOGIN_ADMIN, and LOGIN_REQUIRED.

redirectHttpResponseCode String

30x code to use when performing redirects for the secure field. Possible values are REDIRECT_HTTP_RESPONSE_CODE_301, REDIRECT_HTTP_RESPONSE_CODE_302, REDIRECT_HTTP_RESPONSE_CODE_303, and REDIRECT_HTTP_RESPONSE_CODE_307.

script Property Map

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto". Structure is documented below.

securityLevel String

Security (HTTPS) enforcement for this URL. Possible values are SECURE_DEFAULT, SECURE_NEVER, SECURE_OPTIONAL, and SECURE_ALWAYS.

staticFiles Property Map

Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. Structure is documented below.

urlRegex String

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

StandardAppVersionHandlerScript

ScriptPath string

Path to the script from the application root directory.

ScriptPath string

Path to the script from the application root directory.

scriptPath String

Path to the script from the application root directory.

scriptPath string

Path to the script from the application root directory.

script_path str

Path to the script from the application root directory.

scriptPath String

Path to the script from the application root directory.

StandardAppVersionHandlerStaticFiles

ApplicationReadable bool

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

Expiration string

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s".

HttpHeaders Dictionary<string, string>

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

MimeType string

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

Path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

RequireMatchingFile bool

Whether this handler should match the request if the file referenced by the handler does not exist.

UploadPathRegex string

Regular expression that matches the file paths for all files that should be referenced by this handler.

ApplicationReadable bool

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

Expiration string

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s".

HttpHeaders map[string]string

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

MimeType string

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

Path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

RequireMatchingFile bool

Whether this handler should match the request if the file referenced by the handler does not exist.

UploadPathRegex string

Regular expression that matches the file paths for all files that should be referenced by this handler.

applicationReadable Boolean

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

expiration String

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s".

httpHeaders Map<String,String>

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

mimeType String

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

path String

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

requireMatchingFile Boolean

Whether this handler should match the request if the file referenced by the handler does not exist.

uploadPathRegex String

Regular expression that matches the file paths for all files that should be referenced by this handler.

applicationReadable boolean

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

expiration string

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s".

httpHeaders {[key: string]: string}

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

mimeType string

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

path string

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

requireMatchingFile boolean

Whether this handler should match the request if the file referenced by the handler does not exist.

uploadPathRegex string

Regular expression that matches the file paths for all files that should be referenced by this handler.

application_readable bool

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

expiration str

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s".

http_headers Mapping[str, str]

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

mime_type str

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

path str

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

require_matching_file bool

Whether this handler should match the request if the file referenced by the handler does not exist.

upload_path_regex str

Regular expression that matches the file paths for all files that should be referenced by this handler.

applicationReadable Boolean

Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.

expiration String

Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s".

httpHeaders Map<String>

HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".

mimeType String

MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.

path String

Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.

requireMatchingFile Boolean

Whether this handler should match the request if the file referenced by the handler does not exist.

uploadPathRegex String

Regular expression that matches the file paths for all files that should be referenced by this handler.

StandardAppVersionLibrary

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Version string

Version of the library to select, or "latest".

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

Version string

Version of the library to select, or "latest".

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

version String

Version of the library to select, or "latest".

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

version string

Version of the library to select, or "latest".

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

version str

Version of the library to select, or "latest".

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

version String

Version of the library to select, or "latest".

StandardAppVersionManualScaling

Instances int

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

Instances int

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

instances Integer

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

instances number

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

instances int

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

instances Number

Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use lifecycle.ignore_changes = ["manual_scaling"[0].instances] to prevent drift detection.

StandardAppVersionVpcAccessConnector

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

EgressSetting string

The egress setting for the connector, controlling what traffic is diverted through it.

Name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

EgressSetting string

The egress setting for the connector, controlling what traffic is diverted through it.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

egressSetting String

The egress setting for the connector, controlling what traffic is diverted through it.

name string

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

egressSetting string

The egress setting for the connector, controlling what traffic is diverted through it.

name str

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

egress_setting str

The egress setting for the connector, controlling what traffic is diverted through it.

name String

Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

egressSetting String

The egress setting for the connector, controlling what traffic is diverted through it.

Import

StandardAppVersion can be imported using any of these accepted formats

 $ pulumi import gcp:appengine/standardAppVersion:StandardAppVersion default apps/{{project}}/services/{{service}}/versions/{{version_id}}
 $ pulumi import gcp:appengine/standardAppVersion:StandardAppVersion default {{project}}/{{service}}/{{version_id}}
 $ pulumi import gcp:appengine/standardAppVersion:StandardAppVersion default {{service}}/{{version_id}}

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.