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

gcp.appengine.StandardAppVersion

Explore with Pulumi AI

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

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const customServiceAccount = new gcp.serviceaccount.Account("custom_service_account", {
        accountId: "my-account",
        displayName: "Custom Service Account",
    });
    const gaeApi = new gcp.projects.IAMMember("gae_api", {
        project: customServiceAccount.project,
        role: "roles/compute.networkUser",
        member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
    });
    const storageViewer = new gcp.projects.IAMMember("storage_viewer", {
        project: customServiceAccount.project,
        role: "roles/storage.objectViewer",
        member: pulumi.interpolate`serviceAccount:${customServiceAccount.email}`,
    });
    const bucket = new gcp.storage.Bucket("bucket", {
        name: "appengine-static-content",
        location: "US",
    });
    const object = new gcp.storage.BucketObject("object", {
        name: "hello-world.zip",
        bucket: bucket.name,
        source: new pulumi.asset.FileAsset("./test-fixtures/hello-world.zip"),
    });
    const myappV1 = new gcp.appengine.StandardAppVersion("myapp_v1", {
        versionId: "v1",
        service: "myapp",
        runtime: "nodejs20",
        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,
        serviceAccount: customServiceAccount.email,
    });
    const myappV2 = new gcp.appengine.StandardAppVersion("myapp_v2", {
        versionId: "v2",
        service: "myapp",
        runtime: "nodejs20",
        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,
        serviceAccount: customServiceAccount.email,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    custom_service_account = gcp.serviceaccount.Account("custom_service_account",
        account_id="my-account",
        display_name="Custom Service Account")
    gae_api = gcp.projects.IAMMember("gae_api",
        project=custom_service_account.project,
        role="roles/compute.networkUser",
        member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
    storage_viewer = gcp.projects.IAMMember("storage_viewer",
        project=custom_service_account.project,
        role="roles/storage.objectViewer",
        member=custom_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
    bucket = gcp.storage.Bucket("bucket",
        name="appengine-static-content",
        location="US")
    object = gcp.storage.BucketObject("object",
        name="hello-world.zip",
        bucket=bucket.name,
        source=pulumi.FileAsset("./test-fixtures/hello-world.zip"))
    myapp_v1 = gcp.appengine.StandardAppVersion("myapp_v1",
        version_id="v1",
        service="myapp",
        runtime="nodejs20",
        entrypoint={
            "shell": "node ./app.js",
        },
        deployment={
            "zip": {
                "source_url": pulumi.Output.all(
                    bucketName=bucket.name,
                    objectName=object.name
    ).apply(lambda resolved_outputs: f"https://storage.googleapis.com/{resolved_outputs['bucketName']}/{resolved_outputs['objectName']}")
    ,
            },
        },
        env_variables={
            "port": "8080",
        },
        automatic_scaling={
            "max_concurrent_requests": 10,
            "min_idle_instances": 1,
            "max_idle_instances": 3,
            "min_pending_latency": "1s",
            "max_pending_latency": "5s",
            "standard_scheduler_settings": {
                "target_cpu_utilization": 0.5,
                "target_throughput_utilization": 0.75,
                "min_instances": 2,
                "max_instances": 10,
            },
        },
        delete_service_on_destroy=True,
        service_account=custom_service_account.email)
    myapp_v2 = gcp.appengine.StandardAppVersion("myapp_v2",
        version_id="v2",
        service="myapp",
        runtime="nodejs20",
        app_engine_apis=True,
        entrypoint={
            "shell": "node ./app.js",
        },
        deployment={
            "zip": {
                "source_url": pulumi.Output.all(
                    bucketName=bucket.name,
                    objectName=object.name
    ).apply(lambda resolved_outputs: f"https://storage.googleapis.com/{resolved_outputs['bucketName']}/{resolved_outputs['objectName']}")
    ,
            },
        },
        env_variables={
            "port": "8080",
        },
        basic_scaling={
            "max_instances": 5,
        },
        noop_on_destroy=True,
        service_account=custom_service_account.email)
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/appengine"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		customServiceAccount, err := serviceaccount.NewAccount(ctx, "custom_service_account", &serviceaccount.AccountArgs{
    			AccountId:   pulumi.String("my-account"),
    			DisplayName: pulumi.String("Custom Service Account"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = projects.NewIAMMember(ctx, "gae_api", &projects.IAMMemberArgs{
    			Project: customServiceAccount.Project,
    			Role:    pulumi.String("roles/compute.networkUser"),
    			Member: customServiceAccount.Email.ApplyT(func(email string) (string, error) {
    				return fmt.Sprintf("serviceAccount:%v", email), nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = projects.NewIAMMember(ctx, "storage_viewer", &projects.IAMMemberArgs{
    			Project: customServiceAccount.Project,
    			Role:    pulumi.String("roles/storage.objectViewer"),
    			Member: customServiceAccount.Email.ApplyT(func(email string) (string, error) {
    				return fmt.Sprintf("serviceAccount:%v", email), nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
    			Name:     pulumi.String("appengine-static-content"),
    			Location: pulumi.String("US"),
    		})
    		if err != nil {
    			return err
    		}
    		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
    			Name:   pulumi.String("hello-world.zip"),
    			Bucket: bucket.Name,
    			Source: pulumi.NewFileAsset("./test-fixtures/hello-world.zip"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appengine.NewStandardAppVersion(ctx, "myapp_v1", &appengine.StandardAppVersionArgs{
    			VersionId: pulumi.String("v1"),
    			Service:   pulumi.String("myapp"),
    			Runtime:   pulumi.String("nodejs20"),
    			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),
    			ServiceAccount:         customServiceAccount.Email,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appengine.NewStandardAppVersion(ctx, "myapp_v2", &appengine.StandardAppVersionArgs{
    			VersionId:     pulumi.String("v2"),
    			Service:       pulumi.String("myapp"),
    			Runtime:       pulumi.String("nodejs20"),
    			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),
    			ServiceAccount: customServiceAccount.Email,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var customServiceAccount = new Gcp.ServiceAccount.Account("custom_service_account", new()
        {
            AccountId = "my-account",
            DisplayName = "Custom Service Account",
        });
    
        var gaeApi = new Gcp.Projects.IAMMember("gae_api", new()
        {
            Project = customServiceAccount.Project,
            Role = "roles/compute.networkUser",
            Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
        });
    
        var storageViewer = new Gcp.Projects.IAMMember("storage_viewer", new()
        {
            Project = customServiceAccount.Project,
            Role = "roles/storage.objectViewer",
            Member = customServiceAccount.Email.Apply(email => $"serviceAccount:{email}"),
        });
    
        var bucket = new Gcp.Storage.Bucket("bucket", new()
        {
            Name = "appengine-static-content",
            Location = "US",
        });
    
        var @object = new Gcp.Storage.BucketObject("object", new()
        {
            Name = "hello-world.zip",
            Bucket = bucket.Name,
            Source = new FileAsset("./test-fixtures/hello-world.zip"),
        });
    
        var myappV1 = new Gcp.AppEngine.StandardAppVersion("myapp_v1", new()
        {
            VersionId = "v1",
            Service = "myapp",
            Runtime = "nodejs20",
            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,
            ServiceAccount = customServiceAccount.Email,
        });
    
        var myappV2 = new Gcp.AppEngine.StandardAppVersion("myapp_v2", new()
        {
            VersionId = "v2",
            Service = "myapp",
            Runtime = "nodejs20",
            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,
            ServiceAccount = customServiceAccount.Email,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.serviceaccount.Account;
    import com.pulumi.gcp.serviceaccount.AccountArgs;
    import com.pulumi.gcp.projects.IAMMember;
    import com.pulumi.gcp.projects.IAMMemberArgs;
    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 customServiceAccount = new Account("customServiceAccount", AccountArgs.builder()
                .accountId("my-account")
                .displayName("Custom Service Account")
                .build());
    
            var gaeApi = new IAMMember("gaeApi", IAMMemberArgs.builder()
                .project(customServiceAccount.project())
                .role("roles/compute.networkUser")
                .member(customServiceAccount.email().applyValue(email -> String.format("serviceAccount:%s", email)))
                .build());
    
            var storageViewer = new IAMMember("storageViewer", IAMMemberArgs.builder()
                .project(customServiceAccount.project())
                .role("roles/storage.objectViewer")
                .member(customServiceAccount.email().applyValue(email -> String.format("serviceAccount:%s", email)))
                .build());
    
            var bucket = new Bucket("bucket", BucketArgs.builder()
                .name("appengine-static-content")
                .location("US")
                .build());
    
            var object = new BucketObject("object", BucketObjectArgs.builder()
                .name("hello-world.zip")
                .bucket(bucket.name())
                .source(new FileAsset("./test-fixtures/hello-world.zip"))
                .build());
    
            var myappV1 = new StandardAppVersion("myappV1", StandardAppVersionArgs.builder()
                .versionId("v1")
                .service("myapp")
                .runtime("nodejs20")
                .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)
                .serviceAccount(customServiceAccount.email())
                .build());
    
            var myappV2 = new StandardAppVersion("myappV2", StandardAppVersionArgs.builder()
                .versionId("v2")
                .service("myapp")
                .runtime("nodejs20")
                .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)
                .serviceAccount(customServiceAccount.email())
                .build());
    
        }
    }
    
    resources:
      customServiceAccount:
        type: gcp:serviceaccount:Account
        name: custom_service_account
        properties:
          accountId: my-account
          displayName: Custom Service Account
      gaeApi:
        type: gcp:projects:IAMMember
        name: gae_api
        properties:
          project: ${customServiceAccount.project}
          role: roles/compute.networkUser
          member: serviceAccount:${customServiceAccount.email}
      storageViewer:
        type: gcp:projects:IAMMember
        name: storage_viewer
        properties:
          project: ${customServiceAccount.project}
          role: roles/storage.objectViewer
          member: serviceAccount:${customServiceAccount.email}
      myappV1:
        type: gcp:appengine:StandardAppVersion
        name: myapp_v1
        properties:
          versionId: v1
          service: myapp
          runtime: nodejs20
          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
          serviceAccount: ${customServiceAccount.email}
      myappV2:
        type: gcp:appengine:StandardAppVersion
        name: myapp_v2
        properties:
          versionId: v2
          service: myapp
          runtime: nodejs20
          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
          serviceAccount: ${customServiceAccount.email}
      bucket:
        type: gcp:storage:Bucket
        properties:
          name: appengine-static-content
          location: US
      object:
        type: gcp:storage:BucketObject
        properties:
          name: hello-world.zip
          bucket: ${bucket.name}
          source:
            fn::FileAsset: ./test-fixtures/hello-world.zip
    

    Create StandardAppVersion Resource

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

    Constructor syntax

    new StandardAppVersion(name: string, args: StandardAppVersionArgs, opts?: CustomResourceOptions);
    @overload
    def StandardAppVersion(resource_name: str,
                           args: StandardAppVersionArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def StandardAppVersion(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           deployment: Optional[StandardAppVersionDeploymentArgs] = None,
                           service: Optional[str] = None,
                           runtime: Optional[str] = None,
                           entrypoint: Optional[StandardAppVersionEntrypointArgs] = None,
                           libraries: Optional[Sequence[StandardAppVersionLibraryArgs]] = None,
                           project: Optional[str] = None,
                           env_variables: Optional[Mapping[str, str]] = None,
                           handlers: Optional[Sequence[StandardAppVersionHandlerArgs]] = None,
                           inbound_services: Optional[Sequence[str]] = None,
                           instance_class: Optional[str] = None,
                           app_engine_apis: Optional[bool] = None,
                           manual_scaling: Optional[StandardAppVersionManualScalingArgs] = None,
                           noop_on_destroy: Optional[bool] = None,
                           delete_service_on_destroy: Optional[bool] = None,
                           basic_scaling: Optional[StandardAppVersionBasicScalingArgs] = None,
                           runtime_api_version: Optional[str] = None,
                           automatic_scaling: Optional[StandardAppVersionAutomaticScalingArgs] = None,
                           service_account: Optional[str] = None,
                           threadsafe: Optional[bool] = None,
                           version_id: Optional[str] = None,
                           vpc_access_connector: Optional[StandardAppVersionVpcAccessConnectorArgs] = 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.
    
    

    Parameters

    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.

    Constructor example

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

    var standardAppVersionResource = new Gcp.AppEngine.StandardAppVersion("standardAppVersionResource", new()
    {
        Deployment = new Gcp.AppEngine.Inputs.StandardAppVersionDeploymentArgs
        {
            Files = new[]
            {
                new Gcp.AppEngine.Inputs.StandardAppVersionDeploymentFileArgs
                {
                    Name = "string",
                    SourceUrl = "string",
                    Sha1Sum = "string",
                },
            },
            Zip = new Gcp.AppEngine.Inputs.StandardAppVersionDeploymentZipArgs
            {
                SourceUrl = "string",
                FilesCount = 0,
            },
        },
        Service = "string",
        Runtime = "string",
        Entrypoint = new Gcp.AppEngine.Inputs.StandardAppVersionEntrypointArgs
        {
            Shell = "string",
        },
        Libraries = new[]
        {
            new Gcp.AppEngine.Inputs.StandardAppVersionLibraryArgs
            {
                Name = "string",
                Version = "string",
            },
        },
        Project = "string",
        EnvVariables = 
        {
            { "string", "string" },
        },
        Handlers = new[]
        {
            new Gcp.AppEngine.Inputs.StandardAppVersionHandlerArgs
            {
                AuthFailAction = "string",
                Login = "string",
                RedirectHttpResponseCode = "string",
                Script = new Gcp.AppEngine.Inputs.StandardAppVersionHandlerScriptArgs
                {
                    ScriptPath = "string",
                },
                SecurityLevel = "string",
                StaticFiles = new Gcp.AppEngine.Inputs.StandardAppVersionHandlerStaticFilesArgs
                {
                    ApplicationReadable = false,
                    Expiration = "string",
                    HttpHeaders = 
                    {
                        { "string", "string" },
                    },
                    MimeType = "string",
                    Path = "string",
                    RequireMatchingFile = false,
                    UploadPathRegex = "string",
                },
                UrlRegex = "string",
            },
        },
        InboundServices = new[]
        {
            "string",
        },
        InstanceClass = "string",
        AppEngineApis = false,
        ManualScaling = new Gcp.AppEngine.Inputs.StandardAppVersionManualScalingArgs
        {
            Instances = 0,
        },
        NoopOnDestroy = false,
        DeleteServiceOnDestroy = false,
        BasicScaling = new Gcp.AppEngine.Inputs.StandardAppVersionBasicScalingArgs
        {
            MaxInstances = 0,
            IdleTimeout = "string",
        },
        RuntimeApiVersion = "string",
        AutomaticScaling = new Gcp.AppEngine.Inputs.StandardAppVersionAutomaticScalingArgs
        {
            MaxConcurrentRequests = 0,
            MaxIdleInstances = 0,
            MaxPendingLatency = "string",
            MinIdleInstances = 0,
            MinPendingLatency = "string",
            StandardSchedulerSettings = new Gcp.AppEngine.Inputs.StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs
            {
                MaxInstances = 0,
                MinInstances = 0,
                TargetCpuUtilization = 0,
                TargetThroughputUtilization = 0,
            },
        },
        ServiceAccount = "string",
        Threadsafe = false,
        VersionId = "string",
        VpcAccessConnector = new Gcp.AppEngine.Inputs.StandardAppVersionVpcAccessConnectorArgs
        {
            Name = "string",
            EgressSetting = "string",
        },
    });
    
    example, err := appengine.NewStandardAppVersion(ctx, "standardAppVersionResource", &appengine.StandardAppVersionArgs{
    	Deployment: &appengine.StandardAppVersionDeploymentArgs{
    		Files: appengine.StandardAppVersionDeploymentFileArray{
    			&appengine.StandardAppVersionDeploymentFileArgs{
    				Name:      pulumi.String("string"),
    				SourceUrl: pulumi.String("string"),
    				Sha1Sum:   pulumi.String("string"),
    			},
    		},
    		Zip: &appengine.StandardAppVersionDeploymentZipArgs{
    			SourceUrl:  pulumi.String("string"),
    			FilesCount: pulumi.Int(0),
    		},
    	},
    	Service: pulumi.String("string"),
    	Runtime: pulumi.String("string"),
    	Entrypoint: &appengine.StandardAppVersionEntrypointArgs{
    		Shell: pulumi.String("string"),
    	},
    	Libraries: appengine.StandardAppVersionLibraryArray{
    		&appengine.StandardAppVersionLibraryArgs{
    			Name:    pulumi.String("string"),
    			Version: pulumi.String("string"),
    		},
    	},
    	Project: pulumi.String("string"),
    	EnvVariables: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Handlers: appengine.StandardAppVersionHandlerArray{
    		&appengine.StandardAppVersionHandlerArgs{
    			AuthFailAction:           pulumi.String("string"),
    			Login:                    pulumi.String("string"),
    			RedirectHttpResponseCode: pulumi.String("string"),
    			Script: &appengine.StandardAppVersionHandlerScriptArgs{
    				ScriptPath: pulumi.String("string"),
    			},
    			SecurityLevel: pulumi.String("string"),
    			StaticFiles: &appengine.StandardAppVersionHandlerStaticFilesArgs{
    				ApplicationReadable: pulumi.Bool(false),
    				Expiration:          pulumi.String("string"),
    				HttpHeaders: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				MimeType:            pulumi.String("string"),
    				Path:                pulumi.String("string"),
    				RequireMatchingFile: pulumi.Bool(false),
    				UploadPathRegex:     pulumi.String("string"),
    			},
    			UrlRegex: pulumi.String("string"),
    		},
    	},
    	InboundServices: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	InstanceClass: pulumi.String("string"),
    	AppEngineApis: pulumi.Bool(false),
    	ManualScaling: &appengine.StandardAppVersionManualScalingArgs{
    		Instances: pulumi.Int(0),
    	},
    	NoopOnDestroy:          pulumi.Bool(false),
    	DeleteServiceOnDestroy: pulumi.Bool(false),
    	BasicScaling: &appengine.StandardAppVersionBasicScalingArgs{
    		MaxInstances: pulumi.Int(0),
    		IdleTimeout:  pulumi.String("string"),
    	},
    	RuntimeApiVersion: pulumi.String("string"),
    	AutomaticScaling: &appengine.StandardAppVersionAutomaticScalingArgs{
    		MaxConcurrentRequests: pulumi.Int(0),
    		MaxIdleInstances:      pulumi.Int(0),
    		MaxPendingLatency:     pulumi.String("string"),
    		MinIdleInstances:      pulumi.Int(0),
    		MinPendingLatency:     pulumi.String("string"),
    		StandardSchedulerSettings: &appengine.StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs{
    			MaxInstances:                pulumi.Int(0),
    			MinInstances:                pulumi.Int(0),
    			TargetCpuUtilization:        pulumi.Float64(0),
    			TargetThroughputUtilization: pulumi.Float64(0),
    		},
    	},
    	ServiceAccount: pulumi.String("string"),
    	Threadsafe:     pulumi.Bool(false),
    	VersionId:      pulumi.String("string"),
    	VpcAccessConnector: &appengine.StandardAppVersionVpcAccessConnectorArgs{
    		Name:          pulumi.String("string"),
    		EgressSetting: pulumi.String("string"),
    	},
    })
    
    var standardAppVersionResource = new StandardAppVersion("standardAppVersionResource", StandardAppVersionArgs.builder()
        .deployment(StandardAppVersionDeploymentArgs.builder()
            .files(StandardAppVersionDeploymentFileArgs.builder()
                .name("string")
                .sourceUrl("string")
                .sha1Sum("string")
                .build())
            .zip(StandardAppVersionDeploymentZipArgs.builder()
                .sourceUrl("string")
                .filesCount(0)
                .build())
            .build())
        .service("string")
        .runtime("string")
        .entrypoint(StandardAppVersionEntrypointArgs.builder()
            .shell("string")
            .build())
        .libraries(StandardAppVersionLibraryArgs.builder()
            .name("string")
            .version("string")
            .build())
        .project("string")
        .envVariables(Map.of("string", "string"))
        .handlers(StandardAppVersionHandlerArgs.builder()
            .authFailAction("string")
            .login("string")
            .redirectHttpResponseCode("string")
            .script(StandardAppVersionHandlerScriptArgs.builder()
                .scriptPath("string")
                .build())
            .securityLevel("string")
            .staticFiles(StandardAppVersionHandlerStaticFilesArgs.builder()
                .applicationReadable(false)
                .expiration("string")
                .httpHeaders(Map.of("string", "string"))
                .mimeType("string")
                .path("string")
                .requireMatchingFile(false)
                .uploadPathRegex("string")
                .build())
            .urlRegex("string")
            .build())
        .inboundServices("string")
        .instanceClass("string")
        .appEngineApis(false)
        .manualScaling(StandardAppVersionManualScalingArgs.builder()
            .instances(0)
            .build())
        .noopOnDestroy(false)
        .deleteServiceOnDestroy(false)
        .basicScaling(StandardAppVersionBasicScalingArgs.builder()
            .maxInstances(0)
            .idleTimeout("string")
            .build())
        .runtimeApiVersion("string")
        .automaticScaling(StandardAppVersionAutomaticScalingArgs.builder()
            .maxConcurrentRequests(0)
            .maxIdleInstances(0)
            .maxPendingLatency("string")
            .minIdleInstances(0)
            .minPendingLatency("string")
            .standardSchedulerSettings(StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs.builder()
                .maxInstances(0)
                .minInstances(0)
                .targetCpuUtilization(0)
                .targetThroughputUtilization(0)
                .build())
            .build())
        .serviceAccount("string")
        .threadsafe(false)
        .versionId("string")
        .vpcAccessConnector(StandardAppVersionVpcAccessConnectorArgs.builder()
            .name("string")
            .egressSetting("string")
            .build())
        .build());
    
    standard_app_version_resource = gcp.appengine.StandardAppVersion("standardAppVersionResource",
        deployment={
            "files": [{
                "name": "string",
                "source_url": "string",
                "sha1_sum": "string",
            }],
            "zip": {
                "source_url": "string",
                "files_count": 0,
            },
        },
        service="string",
        runtime="string",
        entrypoint={
            "shell": "string",
        },
        libraries=[{
            "name": "string",
            "version": "string",
        }],
        project="string",
        env_variables={
            "string": "string",
        },
        handlers=[{
            "auth_fail_action": "string",
            "login": "string",
            "redirect_http_response_code": "string",
            "script": {
                "script_path": "string",
            },
            "security_level": "string",
            "static_files": {
                "application_readable": False,
                "expiration": "string",
                "http_headers": {
                    "string": "string",
                },
                "mime_type": "string",
                "path": "string",
                "require_matching_file": False,
                "upload_path_regex": "string",
            },
            "url_regex": "string",
        }],
        inbound_services=["string"],
        instance_class="string",
        app_engine_apis=False,
        manual_scaling={
            "instances": 0,
        },
        noop_on_destroy=False,
        delete_service_on_destroy=False,
        basic_scaling={
            "max_instances": 0,
            "idle_timeout": "string",
        },
        runtime_api_version="string",
        automatic_scaling={
            "max_concurrent_requests": 0,
            "max_idle_instances": 0,
            "max_pending_latency": "string",
            "min_idle_instances": 0,
            "min_pending_latency": "string",
            "standard_scheduler_settings": {
                "max_instances": 0,
                "min_instances": 0,
                "target_cpu_utilization": 0,
                "target_throughput_utilization": 0,
            },
        },
        service_account="string",
        threadsafe=False,
        version_id="string",
        vpc_access_connector={
            "name": "string",
            "egress_setting": "string",
        })
    
    const standardAppVersionResource = new gcp.appengine.StandardAppVersion("standardAppVersionResource", {
        deployment: {
            files: [{
                name: "string",
                sourceUrl: "string",
                sha1Sum: "string",
            }],
            zip: {
                sourceUrl: "string",
                filesCount: 0,
            },
        },
        service: "string",
        runtime: "string",
        entrypoint: {
            shell: "string",
        },
        libraries: [{
            name: "string",
            version: "string",
        }],
        project: "string",
        envVariables: {
            string: "string",
        },
        handlers: [{
            authFailAction: "string",
            login: "string",
            redirectHttpResponseCode: "string",
            script: {
                scriptPath: "string",
            },
            securityLevel: "string",
            staticFiles: {
                applicationReadable: false,
                expiration: "string",
                httpHeaders: {
                    string: "string",
                },
                mimeType: "string",
                path: "string",
                requireMatchingFile: false,
                uploadPathRegex: "string",
            },
            urlRegex: "string",
        }],
        inboundServices: ["string"],
        instanceClass: "string",
        appEngineApis: false,
        manualScaling: {
            instances: 0,
        },
        noopOnDestroy: false,
        deleteServiceOnDestroy: false,
        basicScaling: {
            maxInstances: 0,
            idleTimeout: "string",
        },
        runtimeApiVersion: "string",
        automaticScaling: {
            maxConcurrentRequests: 0,
            maxIdleInstances: 0,
            maxPendingLatency: "string",
            minIdleInstances: 0,
            minPendingLatency: "string",
            standardSchedulerSettings: {
                maxInstances: 0,
                minInstances: 0,
                targetCpuUtilization: 0,
                targetThroughputUtilization: 0,
            },
        },
        serviceAccount: "string",
        threadsafe: false,
        versionId: "string",
        vpcAccessConnector: {
            name: "string",
            egressSetting: "string",
        },
    });
    
    type: gcp:appengine:StandardAppVersion
    properties:
        appEngineApis: false
        automaticScaling:
            maxConcurrentRequests: 0
            maxIdleInstances: 0
            maxPendingLatency: string
            minIdleInstances: 0
            minPendingLatency: string
            standardSchedulerSettings:
                maxInstances: 0
                minInstances: 0
                targetCpuUtilization: 0
                targetThroughputUtilization: 0
        basicScaling:
            idleTimeout: string
            maxInstances: 0
        deleteServiceOnDestroy: false
        deployment:
            files:
                - name: string
                  sha1Sum: string
                  sourceUrl: string
            zip:
                filesCount: 0
                sourceUrl: string
        entrypoint:
            shell: string
        envVariables:
            string: string
        handlers:
            - authFailAction: string
              login: string
              redirectHttpResponseCode: string
              script:
                scriptPath: string
              securityLevel: string
              staticFiles:
                applicationReadable: false
                expiration: string
                httpHeaders:
                    string: string
                mimeType: string
                path: string
                requireMatchingFile: false
                uploadPathRegex: string
              urlRegex: string
        inboundServices:
            - string
        instanceClass: string
        libraries:
            - name: string
              version: string
        manualScaling:
            instances: 0
        noopOnDestroy: false
        project: string
        runtime: string
        runtimeApiVersion: string
        service: string
        serviceAccount: string
        threadsafe: false
        versionId: string
        vpcAccessConnector:
            egressSetting: string
            name: string
    

    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

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

    The StandardAppVersion resource accepts the following input properties:

    Deployment StandardAppVersionDeployment
    Code and application artifacts that make up this version. Structure is documented below.
    Entrypoint StandardAppVersionEntrypoint
    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 StandardAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    BasicScaling StandardAppVersionBasicScaling
    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.
    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<StandardAppVersionHandler>
    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.
    InboundServices List<string>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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<StandardAppVersionLibrary>
    Configuration for third-party Python runtime libraries that are required by the application.
    ManualScaling StandardAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    NoopOnDestroy bool
    If set to 'true', the application version will not be deleted.
    Project string
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    ServiceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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 StandardAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    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.
    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.
    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.
    InboundServices []string
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    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.
    NoopOnDestroy bool
    If set to 'true', the application version will not be deleted.
    Project string
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    ServiceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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.
    deployment StandardAppVersionDeployment
    Code and application artifacts that make up this version. Structure is documented below.
    entrypoint StandardAppVersionEntrypoint
    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 StandardAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    basicScaling StandardAppVersionBasicScaling
    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.
    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<StandardAppVersionHandler>
    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.
    inboundServices List<String>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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<StandardAppVersionLibrary>
    Configuration for third-party Python runtime libraries that are required by the application.
    manualScaling StandardAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    noopOnDestroy Boolean
    If set to 'true', the application version will not be deleted.
    project String
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    serviceAccount String
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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 StandardAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    deployment StandardAppVersionDeployment
    Code and application artifacts that make up this version. Structure is documented below.
    entrypoint StandardAppVersionEntrypoint
    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 StandardAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    basicScaling StandardAppVersionBasicScaling
    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.
    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 StandardAppVersionHandler[]
    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.
    inboundServices string[]
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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 StandardAppVersionLibrary[]
    Configuration for third-party Python runtime libraries that are required by the application.
    manualScaling StandardAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    noopOnDestroy boolean
    If set to 'true', the application version will not be deleted.
    project string
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    serviceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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 StandardAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    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.
    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.
    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.
    inbound_services Sequence[str]
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    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.
    noop_on_destroy bool
    If set to 'true', the application version will not be deleted.
    project str
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    service_account str
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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.
    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.
    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.
    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.
    inboundServices List<String>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    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.
    noopOnDestroy Boolean
    If set to 'true', the application version will not be deleted.
    project String
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    serviceAccount String
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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.

    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 path to the Version resource in the API. Example, "v1".
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Full path to the Version resource in the API. Example, "v1".
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Full path to the Version resource in the API. Example, "v1".
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Full path to the Version resource in the API. Example, "v1".
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Full path to the Version resource in the API. Example, "v1".
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Full path to the Version resource in the API. Example, "v1".

    Look up 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,
            service_account: 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 StandardAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    BasicScaling StandardAppVersionBasicScaling
    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.
    DeleteServiceOnDestroy bool
    If set to 'true', the service will be deleted if it is the last version.
    Deployment StandardAppVersionDeployment
    Code and application artifacts that make up this version. Structure is documented below.
    Entrypoint StandardAppVersionEntrypoint
    The entrypoint for the application. Structure is documented below.
    EnvVariables Dictionary<string, string>
    Environment variables available to the application.
    Handlers List<StandardAppVersionHandler>
    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.
    InboundServices List<string>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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<StandardAppVersionLibrary>
    Configuration for third-party Python runtime libraries that are required by the application.
    ManualScaling StandardAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    Name string
    Full path to the Version resource in the API. Example, "v1".
    NoopOnDestroy bool
    If set to 'true', the application version will not be deleted.
    Project string
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    Service string
    AppEngine service resource
    ServiceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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 StandardAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    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.
    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.
    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.
    InboundServices []string
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    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.
    Name string
    Full path to the Version resource in the API. Example, "v1".
    NoopOnDestroy bool
    If set to 'true', the application version will not be deleted.
    Project string
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    Service string
    AppEngine service resource
    ServiceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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.
    appEngineApis Boolean
    Allows App Engine second generation runtimes to access the legacy bundled services.
    automaticScaling StandardAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    basicScaling StandardAppVersionBasicScaling
    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.
    deleteServiceOnDestroy Boolean
    If set to 'true', the service will be deleted if it is the last version.
    deployment StandardAppVersionDeployment
    Code and application artifacts that make up this version. Structure is documented below.
    entrypoint StandardAppVersionEntrypoint
    The entrypoint for the application. Structure is documented below.
    envVariables Map<String,String>
    Environment variables available to the application.
    handlers List<StandardAppVersionHandler>
    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.
    inboundServices List<String>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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<StandardAppVersionLibrary>
    Configuration for third-party Python runtime libraries that are required by the application.
    manualScaling StandardAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    name String
    Full path to the Version resource in the API. Example, "v1".
    noopOnDestroy Boolean
    If set to 'true', the application version will not be deleted.
    project String
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    service String
    AppEngine service resource
    serviceAccount String
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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 StandardAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    appEngineApis boolean
    Allows App Engine second generation runtimes to access the legacy bundled services.
    automaticScaling StandardAppVersionAutomaticScaling
    Automatic scaling is based on request rate, response latencies, and other application metrics.
    basicScaling StandardAppVersionBasicScaling
    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.
    deleteServiceOnDestroy boolean
    If set to 'true', the service will be deleted if it is the last version.
    deployment StandardAppVersionDeployment
    Code and application artifacts that make up this version. Structure is documented below.
    entrypoint StandardAppVersionEntrypoint
    The entrypoint for the application. Structure is documented below.
    envVariables {[key: string]: string}
    Environment variables available to the application.
    handlers StandardAppVersionHandler[]
    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.
    inboundServices string[]
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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 StandardAppVersionLibrary[]
    Configuration for third-party Python runtime libraries that are required by the application.
    manualScaling StandardAppVersionManualScaling
    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
    name string
    Full path to the Version resource in the API. Example, "v1".
    noopOnDestroy boolean
    If set to 'true', the application version will not be deleted.
    project string
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    service string
    AppEngine service resource
    serviceAccount string
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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 StandardAppVersionVpcAccessConnector
    Enables VPC connectivity for standard apps.
    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.
    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.
    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.
    inbound_services Sequence[str]
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    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.
    name str
    Full path to the Version resource in the API. Example, "v1".
    noop_on_destroy bool
    If set to 'true', the application version will not be deleted.
    project str
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    service str
    AppEngine service resource
    service_account str
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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.
    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.
    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.
    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.
    inboundServices List<String>
    A list of the types of messages that this application is able to receive. Possible values: ["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", "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.
    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.
    name String
    Full path to the Version resource in the API. Example, "v1".
    noopOnDestroy Boolean
    If set to 'true', the application version will not be deleted.
    project String
    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//config/appref'\ Substitute '' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
    service String
    AppEngine service resource
    serviceAccount String
    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
    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.

    Supporting Types

    StandardAppVersionAutomaticScaling, StandardAppVersionAutomaticScalingArgs

    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, StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs

    MaxInstances int
    Maximum number of instances to run for this version. Set to zero to disable maxInstances configuration.
    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 run for this version. Set to zero to disable maxInstances configuration.
    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 run for this version. Set to zero to disable maxInstances configuration.
    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 run for this version. Set to zero to disable maxInstances configuration.
    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 run for this version. Set to zero to disable maxInstances configuration.
    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 run for this version. Set to zero to disable maxInstances configuration.
    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, StandardAppVersionBasicScalingArgs

    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, StandardAppVersionDeploymentArgs

    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, StandardAppVersionDeploymentFileArgs

    Name string
    The identifier for this object. Format specified above.
    SourceUrl string
    Source URL
    Sha1Sum string
    SHA1 checksum of the file
    Name string
    The identifier for this object. Format specified above.
    SourceUrl string
    Source URL
    Sha1Sum string
    SHA1 checksum of the file
    name String
    The identifier for this object. Format specified above.
    sourceUrl String
    Source URL
    sha1Sum String
    SHA1 checksum of the file
    name string
    The identifier for this object. Format specified above.
    sourceUrl string
    Source URL
    sha1Sum string
    SHA1 checksum of the file
    name str
    The identifier for this object. Format specified above.
    source_url str
    Source URL
    sha1_sum str
    SHA1 checksum of the file
    name String
    The identifier for this object. Format specified above.
    sourceUrl String
    Source URL
    sha1Sum String
    SHA1 checksum of the file

    StandardAppVersionDeploymentZip, StandardAppVersionDeploymentZipArgs

    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, StandardAppVersionEntrypointArgs

    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, StandardAppVersionHandlerArgs

    AuthFailAction string
    Actions to take when the user is not logged in. Possible values are: AUTH_FAIL_ACTION_REDIRECT, AUTH_FAIL_ACTION_UNAUTHORIZED.
    Login string
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, 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, 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, AUTH_FAIL_ACTION_UNAUTHORIZED.
    Login string
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, 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, 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, AUTH_FAIL_ACTION_UNAUTHORIZED.
    login String
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, 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, 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, AUTH_FAIL_ACTION_UNAUTHORIZED.
    login string
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, 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, 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, AUTH_FAIL_ACTION_UNAUTHORIZED.
    login str
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, 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, 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, AUTH_FAIL_ACTION_UNAUTHORIZED.
    login String
    Methods to restrict access to a URL based on login status. Possible values are: LOGIN_OPTIONAL, LOGIN_ADMIN, 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, 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, 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, StandardAppVersionHandlerScriptArgs

    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, StandardAppVersionHandlerStaticFilesArgs

    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, StandardAppVersionLibraryArgs

    Name string
    Name of the library. Example "django".
    Version string
    Version of the library to select, or "latest".
    Name string
    Name of the library. Example "django".
    Version string
    Version of the library to select, or "latest".
    name String
    Name of the library. Example "django".
    version String
    Version of the library to select, or "latest".
    name string
    Name of the library. Example "django".
    version string
    Version of the library to select, or "latest".
    name str
    Name of the library. Example "django".
    version str
    Version of the library to select, or "latest".
    name String
    Name of the library. Example "django".
    version String
    Version of the library to select, or "latest".

    StandardAppVersionManualScaling, StandardAppVersionManualScalingArgs

    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, StandardAppVersionVpcAccessConnectorArgs

    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:

    • apps/{{project}}/services/{{service}}/versions/{{version_id}}

    • {{project}}/{{service}}/{{version_id}}

    • {{service}}/{{version_id}}

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

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

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

    Package Details

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