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:
- API documentation
- How-to Guides
Create a StandardAppVersion Resource
new StandardAppVersion(name: string, args: StandardAppVersionArgs, opts?: CustomResourceOptions);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);func NewStandardAppVersion(ctx *Context, name string, args StandardAppVersionArgs, opts ...ResourceOption) (*StandardAppVersion, error)public StandardAppVersion(string name, StandardAppVersionArgs args, CustomResourceOptions? opts = null)- 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
Standard
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- Runtime string
Desired runtime. Example python27.
- Service string
AppEngine service resource
- Automatic
Scaling StandardApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- Basic
Scaling StandardApp Version Basic Scaling Args 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 boolOn Destroy If set to
true, the service will be deleted if it is the last version.- Entrypoint
Standard
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- Env
Variables Dictionary<string, string> Environment variables available to the application.
- Handlers
List<Standard
App Version Handler Args> 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<string> Before an application can receive email or XMPP messages, the application must be configured to enable the service.
- Instance
Class 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<Standard
App Version Library Args> Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.
- Manual
Scaling StandardApp Version Manual Scaling Args 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 boolDestroy 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
Api stringVersion 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 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
Standard
App Version Deployment Code and application artifacts that make up this version. Structure is documented below.
- Runtime string
Desired runtime. Example python27.
- Service string
AppEngine service resource
- Automatic
Scaling StandardApp Version Automatic Scaling Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- Basic
Scaling StandardApp Version Basic Scaling 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 boolOn Destroy If set to
true, the service will be deleted if it is the last version.- Entrypoint
Standard
App Version Entrypoint The entrypoint for the application. Structure is documented below.
- Env
Variables map[string]string Environment variables available to the application.
- Handlers
[]Standard
App Version Handler 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 []string Before an application can receive email or XMPP messages, the application must be configured to enable the service.
- Instance
Class 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
[]Standard
App Version Library Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.
- Manual
Scaling StandardApp Version Manual Scaling 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 boolDestroy 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
Api stringVersion 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 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
Standard
App Version Deployment Code and application artifacts that make up this version. Structure is documented below.
- runtime string
Desired runtime. Example python27.
- service string
AppEngine service resource
- automatic
Scaling StandardApp Version Automatic Scaling Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- basic
Scaling StandardApp Version Basic Scaling 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 booleanOn Destroy If set to
true, the service will be deleted if it is the last version.- entrypoint
Standard
App Version Entrypoint The entrypoint for the application. Structure is documented below.
- env
Variables {[key: string]: string} Environment variables available to the application.
- handlers
Standard
App Version Handler[] 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 string[] Before an application can receive email or XMPP messages, the application must be configured to enable the service.
- instance
Class 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
Standard
App Version Library[] Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.
- manual
Scaling StandardApp Version Manual Scaling 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 booleanDestroy 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
Api stringVersion 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.
- version
Id 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[Standard
App Version Deployment] 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[StandardApp Version Automatic Scaling] Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- basic_
scaling Dict[StandardApp Version Basic Scaling] 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_ boolon_ destroy If set to
true, the service will be deleted if it is the last version.- entrypoint
Dict[Standard
App Version Entrypoint] The entrypoint for the application. Structure is documented below.
- env_
variables Dict[str, str] Environment variables available to the application.
- handlers
List[Standard
App Version Handler] 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[Standard
App Version Library] Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.
- manual_
scaling Dict[StandardApp Version Manual Scaling] 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_ booldestroy 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_ strversion 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:
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): StandardAppVersionstatic 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:
- Automatic
Scaling StandardApp Version Automatic Scaling Args Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- Basic
Scaling StandardApp Version Basic Scaling Args 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 boolOn Destroy If set to
true, the service will be deleted if it is the last version.- Deployment
Standard
App Version Deployment Args Code and application artifacts that make up this version. Structure is documented below.
- Entrypoint
Standard
App Version Entrypoint Args The entrypoint for the application. Structure is documented below.
- Env
Variables Dictionary<string, string> Environment variables available to the application.
- Handlers
List<Standard
App Version Handler Args> 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<string> Before an application can receive email or XMPP messages, the application must be configured to enable the service.
- Instance
Class 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<Standard
App Version Library Args> Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.
- Manual
Scaling StandardApp Version Manual Scaling Args 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”.
- Noop
On boolDestroy 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.
- Runtime
Api stringVersion 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.
- Version
Id 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 StandardApp Version Automatic Scaling Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- Basic
Scaling StandardApp Version Basic Scaling 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 boolOn Destroy If set to
true, the service will be deleted if it is the last version.- Deployment
Standard
App Version Deployment Code and application artifacts that make up this version. Structure is documented below.
- Entrypoint
Standard
App Version Entrypoint The entrypoint for the application. Structure is documented below.
- Env
Variables map[string]string Environment variables available to the application.
- Handlers
[]Standard
App Version Handler 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 []string Before an application can receive email or XMPP messages, the application must be configured to enable the service.
- Instance
Class 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
[]Standard
App Version Library Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.
- Manual
Scaling StandardApp Version Manual Scaling 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”.
- Noop
On boolDestroy 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.
- Runtime
Api stringVersion 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.
- Version
Id 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 StandardApp Version Automatic Scaling Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- basic
Scaling StandardApp Version Basic Scaling 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 booleanOn Destroy If set to
true, the service will be deleted if it is the last version.- deployment
Standard
App Version Deployment Code and application artifacts that make up this version. Structure is documented below.
- entrypoint
Standard
App Version Entrypoint The entrypoint for the application. Structure is documented below.
- env
Variables {[key: string]: string} Environment variables available to the application.
- handlers
Standard
App Version Handler[] 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 string[] Before an application can receive email or XMPP messages, the application must be configured to enable the service.
- instance
Class 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
Standard
App Version Library[] Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.
- manual
Scaling StandardApp Version Manual Scaling 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”.
- noop
On booleanDestroy 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.
- runtime
Api stringVersion 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.
- version
Id 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[StandardApp Version Automatic Scaling] Automatic scaling is based on request rate, response latencies, and other application metrics. Structure is documented below.
- basic_
scaling Dict[StandardApp Version Basic Scaling] 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_ boolon_ destroy If set to
true, the service will be deleted if it is the last version.- deployment
Dict[Standard
App Version Deployment] Code and application artifacts that make up this version. Structure is documented below.
- entrypoint
Dict[Standard
App Version Entrypoint] The entrypoint for the application. Structure is documented below.
- env_
variables Dict[str, str] Environment variables available to the application.
- handlers
List[Standard
App Version Handler] 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[Standard
App Version Library] Configuration for third-party Python runtime libraries that are required by the application. Structure is documented below.
- manual_
scaling Dict[StandardApp Version Manual Scaling] 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_ booldestroy 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_ strversion 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
- Max
Concurrent intRequests 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 intInstances Maximum number of idle instances that should be maintained for this version.
- Max
Pending stringLatency 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 intInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- Min
Pending stringLatency 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 StandardSettings App Version Automatic Scaling Standard Scheduler Settings Args Scheduler settings for standard environment. Structure is documented below.
- Max
Concurrent intRequests 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 intInstances Maximum number of idle instances that should be maintained for this version.
- Max
Pending stringLatency 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 intInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- Min
Pending stringLatency 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 StandardSettings App Version Automatic Scaling Standard Scheduler Settings Scheduler settings for standard environment. Structure is documented below.
- max
Concurrent numberRequests 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 numberInstances Maximum number of idle instances that should be maintained for this version.
- max
Pending stringLatency 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 numberInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min
Pending stringLatency 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 StandardSettings App Version Automatic Scaling Standard Scheduler Settings Scheduler settings for standard environment. Structure is documented below.
- max
Concurrent floatRequests 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 floatInstances Maximum number of idle instances that should be maintained for this version.
- max
Pending strLatency 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 floatInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
- min
Pending strLatency 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 Dict[StandardSettings App Version Automatic Scaling Standard Scheduler Settings] Scheduler settings for standard environment. Structure is documented below.
StandardAppVersionAutomaticScalingStandardSchedulerSettings
- Max
Instances int Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].
- Min
Instances int Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.
- Target
Cpu doubleUtilization 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 doubleUtilization Target throughput utilization ratio to maintain when scaling. Should be a value in the range [0.50, 0.95], zero, or a negative value.
- Max
Instances int Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].
- Min
Instances int Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.
- Target
Cpu float64Utilization 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 float64Utilization 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 number Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].
- min
Instances number Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.
- target
Cpu numberUtilization 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 numberUtilization 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].
- min
Instances float Minimum number of instances to run for this version. Set to zero to disable minInstances configuration.
- target
Cpu floatUtilization 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 floatUtilization 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
- Max
Instances int Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].
- Idle
Timeout 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 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 number Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].
- idle
Timeout 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].
- 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.
StandardAppVersionDeployment
- Files
List<Standard
App Version Deployment File Args> 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
Standard
App Version Deployment Zip Args Zip File Structure is documented below.
- Files
[]Standard
App Version Deployment File 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
Standard
App Version Deployment Zip Zip File Structure is documented below.
- files
Standard
App Version Deployment File[] 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
Standard
App Version Deployment Zip Zip File Structure is documented below.
- files
List[Standard
App Version Deployment File] 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[Standard
App Version Deployment Zip] Zip File Structure is documented below.
StandardAppVersionDeploymentFile
StandardAppVersionDeploymentZip
- Source
Url string Source URL
- Files
Count int files count
- Source
Url string Source URL
- Files
Count int files count
- source
Url string Source URL
- files
Count number files count
- source
Url str Source URL
- files
Count float files count
StandardAppVersionEntrypoint
StandardAppVersionHandler
- Auth
Fail stringAction Actions to take when the user is not logged in.
- Login string
Methods to restrict access to a URL based on login status.
- Redirect
Http stringResponse Code 30x code to use when performing redirects for the secure field.
- Script
Standard
App Version Handler Script Args 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 string Security (HTTPS) enforcement for this URL.
- Static
Files StandardApp Version Handler Static Files Args 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 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 stringAction Actions to take when the user is not logged in.
- Login string
Methods to restrict access to a URL based on login status.
- Redirect
Http stringResponse Code 30x code to use when performing redirects for the secure field.
- Script
Standard
App Version Handler Script 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 string Security (HTTPS) enforcement for this URL.
- Static
Files StandardApp Version Handler Static Files 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 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 stringAction Actions to take when the user is not logged in.
- login string
Methods to restrict access to a URL based on login status.
- redirect
Http stringResponse Code 30x code to use when performing redirects for the secure field.
- script
Standard
App Version Handler Script 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 string Security (HTTPS) enforcement for this URL.
- static
Files StandardApp Version Handler Static Files 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 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 strAction Actions to take when the user is not logged in.
- login str
Methods to restrict access to a URL based on login status.
- redirect
Http strResponse Code 30x code to use when performing redirects for the secure field.
- script
Dict[Standard
App Version Handler Script] 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.
- static
Files Dict[StandardApp Version Handler Static Files] 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.
StandardAppVersionHandlerScript
- Script
Path string Path to the script from the application root directory.
- Script
Path string Path to the script from the application root directory.
- script
Path string Path to the script from the application root directory.
- script
Path str Path to the script from the application root directory.
StandardAppVersionHandlerStaticFiles
- 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 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”.
- Http
Headers Dictionary<string, string> HTTP headers to use for all responses from these URLs. An object containing a list of “key:value” value pairs.“.
- Mime
Type 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.
- Require
Matching boolFile Whether this handler should match the request if the file referenced by the handler does not exist.
- Upload
Path stringRegex 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 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”.
- Http
Headers map[string]string HTTP headers to use for all responses from these URLs. An object containing a list of “key:value” value pairs.“.
- Mime
Type 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.
- Require
Matching boolFile Whether this handler should match the request if the file referenced by the handler does not exist.
- Upload
Path stringRegex Regular expression that matches the file paths for all files that should be referenced by this handler.
- application
Readable 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”.
- http
Headers {[key: string]: string} HTTP headers to use for all responses from these URLs. An object containing a list of “key:value” value pairs.“.
- mime
Type 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.
- require
Matching booleanFile Whether this handler should match the request if the file referenced by the handler does not exist.
- upload
Path stringRegex 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 Dict[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 boolFile Whether this handler should match the request if the file referenced by the handler does not exist.
- upload
Path strRegex Regular expression that matches the file paths for all files that should be referenced by this handler.
StandardAppVersionLibrary
StandardAppVersionManualScaling
- Instances int
Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]to prevent drift detection.
- Instances int
Number of instances to assign to the service at the start. Note: When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2 Modules API set_num_instances() you must use
lifecycle.ignore_changes = ["manual_scaling"[0].instances]to prevent drift detection.
- instances 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-betaTerraform Provider.