StandardAppVersion

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

To get more information about StandardAppVersion, see:

Create a StandardAppVersion Resource

def StandardAppVersion(resource_name, opts=None, automatic_scaling=None, basic_scaling=None, delete_service_on_destroy=None, deployment=None, entrypoint=None, env_variables=None, handlers=None, inbound_services=None, instance_class=None, libraries=None, manual_scaling=None, noop_on_destroy=None, project=None, runtime=None, runtime_api_version=None, service=None, threadsafe=None, version_id=None, __props__=None);
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.
opts ResourceOptions
A bag of options that control this 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.

StandardAppVersion Resource Properties

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

Inputs

The StandardAppVersion resource accepts the following input properties:

Deployment StandardAppVersionDeploymentArgs

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

Runtime string

Desired runtime. Example python27.

Service string

AppEngine service resource

AutomaticScaling StandardAppVersionAutomaticScalingArgs

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

BasicScaling StandardAppVersionBasicScalingArgs

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

DeleteServiceOnDestroy bool

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

Entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables Dictionary<string, string>

Environment variables available to the application.

Handlers List<StandardAppVersionHandlerArgs>

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

InboundServices List<string>

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

InstanceClass string

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

Libraries List<StandardAppVersionLibraryArgs>

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

ManualScaling StandardAppVersionManualScalingArgs

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

NoopOnDestroy bool

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

Project string

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

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

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-”.

Deployment StandardAppVersionDeployment

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

Runtime string

Desired runtime. Example python27.

Service string

AppEngine service resource

AutomaticScaling StandardAppVersionAutomaticScaling

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

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. Structure is documented below.

DeleteServiceOnDestroy bool

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

Entrypoint StandardAppVersionEntrypoint

The entrypoint for the application. Structure is documented below.

EnvVariables map[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. Structure is documented below.

InboundServices []string

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

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. Structure is documented below.

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. Structure is documented below.

NoopOnDestroy bool

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

Project string

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

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

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-”.

deployment StandardAppVersionDeployment

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

runtime string

Desired runtime. Example python27.

service string

AppEngine service resource

automaticScaling StandardAppVersionAutomaticScaling

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

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. Structure is documented below.

deleteServiceOnDestroy boolean

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

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. Structure is documented below.

inboundServices string[]

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

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. Structure is documented below.

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. Structure is documented below.

noopOnDestroy boolean

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

project string

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

runtimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

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-”.

deployment Dict[StandardAppVersionDeployment]

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

runtime str

Desired runtime. Example python27.

service str

AppEngine service resource

automatic_scaling Dict[StandardAppVersionAutomaticScaling]

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

basic_scaling Dict[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. Structure is documented below.

delete_service_on_destroy bool

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

entrypoint Dict[StandardAppVersionEntrypoint]

The entrypoint for the application. Structure is documented below.

env_variables Dict[str, str]

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. Structure is documented below.

inbound_services List[str]

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

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 List[StandardAppVersionLibrary]

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

manual_scaling Dict[StandardAppVersionManualScaling]

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

noop_on_destroy bool

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

project str

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

runtime_api_version str

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

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-”.

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

Name of the library. Example “django”.

Id string
The provider-assigned unique ID for this managed resource.
Name string

Name of the library. Example “django”.

id string
The provider-assigned unique ID for this managed resource.
name string

Name of the library. Example “django”.

id str
The provider-assigned unique ID for this managed resource.
name str

Name of the library. Example “django”.

Look up an Existing StandardAppVersion Resource

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

public static get(name: string, id: Input<ID>, state?: StandardAppVersionState, opts?: CustomResourceOptions): StandardAppVersion
static get(resource_name, id, opts=None, automatic_scaling=None, basic_scaling=None, delete_service_on_destroy=None, deployment=None, entrypoint=None, env_variables=None, handlers=None, inbound_services=None, instance_class=None, libraries=None, manual_scaling=None, name=None, noop_on_destroy=None, project=None, runtime=None, runtime_api_version=None, service=None, threadsafe=None, version_id=None, __props__=None);
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)
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.

The following state arguments are supported:

AutomaticScaling StandardAppVersionAutomaticScalingArgs

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

BasicScaling StandardAppVersionBasicScalingArgs

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

DeleteServiceOnDestroy bool

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

Deployment StandardAppVersionDeploymentArgs

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

Entrypoint StandardAppVersionEntrypointArgs

The entrypoint for the application. Structure is documented below.

EnvVariables Dictionary<string, string>

Environment variables available to the application.

Handlers List<StandardAppVersionHandlerArgs>

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

InboundServices List<string>

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

InstanceClass string

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

Libraries List<StandardAppVersionLibraryArgs>

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

ManualScaling StandardAppVersionManualScalingArgs

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

Name string

Name of the library. Example “django”.

NoopOnDestroy bool

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

Project string

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

Runtime string

Desired runtime. Example python27.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

Service string

AppEngine service resource

Threadsafe bool

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

VersionId string

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

AutomaticScaling StandardAppVersionAutomaticScaling

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

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. Structure is documented below.

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 map[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. Structure is documented below.

InboundServices []string

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

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. Structure is documented below.

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. Structure is documented below.

Name string

Name of the library. Example “django”.

NoopOnDestroy bool

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

Project string

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

Runtime string

Desired runtime. Example python27.

RuntimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

Service string

AppEngine service resource

Threadsafe bool

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

VersionId string

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

automaticScaling StandardAppVersionAutomaticScaling

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

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. Structure is documented below.

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. Structure is documented below.

inboundServices string[]

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

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. Structure is documented below.

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. Structure is documented below.

name string

Name of the library. Example “django”.

noopOnDestroy boolean

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

project string

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

runtime string

Desired runtime. Example python27.

runtimeApiVersion string

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

service string

AppEngine service resource

threadsafe boolean

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

versionId string

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

automatic_scaling Dict[StandardAppVersionAutomaticScaling]

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

basic_scaling Dict[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. Structure is documented below.

delete_service_on_destroy bool

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

deployment Dict[StandardAppVersionDeployment]

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

entrypoint Dict[StandardAppVersionEntrypoint]

The entrypoint for the application. Structure is documented below.

env_variables Dict[str, str]

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. Structure is documented below.

inbound_services List[str]

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

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 List[StandardAppVersionLibrary]

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

manual_scaling Dict[StandardAppVersionManualScaling]

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

name str

Name of the library. Example “django”.

noop_on_destroy bool

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

project str

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

runtime str

Desired runtime. Example python27.

runtime_api_version str

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref

service str

AppEngine service resource

threadsafe bool

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

version_id str

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

Supporting Types

StandardAppVersionAutomaticScaling

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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 StandardAppVersionAutomaticScalingStandardSchedulerSettingsArgs

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

maxConcurrentRequests float

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

maxIdleInstances float

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

maxPendingLatency 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”.

minIdleInstances float

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

minPendingLatency 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”.

standardSchedulerSettings Dict[StandardAppVersionAutomaticScalingStandardSchedulerSettings]

Scheduler settings for standard environment. Structure is documented below.

StandardAppVersionAutomaticScalingStandardSchedulerSettings

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

MaxInstances int

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

MinInstances int

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

TargetCpuUtilization double

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

TargetThroughputUtilization double

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

MaxInstances int

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

MinInstances int

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

TargetCpuUtilization float64

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

TargetThroughputUtilization float64

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

maxInstances number

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

minInstances number

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

targetCpuUtilization number

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

targetThroughputUtilization number

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

max_instances float

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

minInstances float

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

targetCpuUtilization 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.

targetThroughputUtilization 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.

StandardAppVersionBasicScaling

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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

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

idleTimeout 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.

StandardAppVersionDeployment

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Files List<StandardAppVersionDeploymentFileArgs>

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 StandardAppVersionDeploymentZipArgs

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 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 Dict[StandardAppVersionDeploymentZip]

Zip File Structure is documented below.

StandardAppVersionDeploymentFile

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

Name of the library. Example “django”.

SourceUrl string

Source URL

Sha1Sum string

SHA1 checksum of the file

Name string

Name of the library. Example “django”.

SourceUrl string

Source URL

Sha1Sum string

SHA1 checksum of the file

name string

Name of the library. Example “django”.

sourceUrl string

Source URL

sha1Sum string

SHA1 checksum of the file

name str

Name of the library. Example “django”.

sourceUrl str

Source URL

sha1Sum str

SHA1 checksum of the file

StandardAppVersionDeploymentZip

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

SourceUrl string

Source URL

FilesCount int

files count

SourceUrl string

Source URL

FilesCount int

files count

sourceUrl string

Source URL

filesCount number

files count

sourceUrl str

Source URL

filesCount float

files count

StandardAppVersionEntrypoint

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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.

StandardAppVersionHandler

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AuthFailAction string

Actions to take when the user is not logged in.

Login string

Methods to restrict access to a URL based on login status.

RedirectHttpResponseCode string

30x code to use when performing redirects for the secure field.

Script StandardAppVersionHandlerScriptArgs

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.

StaticFiles StandardAppVersionHandlerStaticFilesArgs

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.

Login string

Methods to restrict access to a URL based on login status.

RedirectHttpResponseCode string

30x code to use when performing redirects for the secure field.

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.

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.

login string

Methods to restrict access to a URL based on login status.

redirectHttpResponseCode string

30x code to use when performing redirects for the secure field.

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.

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 str

Actions to take when the user is not logged in.

login str

Methods to restrict access to a URL based on login status.

redirectHttpResponseCode str

30x code to use when performing redirects for the secure field.

script Dict[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 str

Security (HTTPS) enforcement for this URL.

staticFiles Dict[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 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.

StandardAppVersionHandlerScript

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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 str

Path to the script from the application root directory.

StandardAppVersionHandlerStaticFiles

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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 {[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.

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 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”.

httpHeaders Dict[str, str]

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

mimeType 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.

requireMatchingFile bool

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

uploadPathRegex str

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

StandardAppVersionLibrary

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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”.

StandardAppVersionManualScaling

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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

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.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.