pulumiverse-scaleway 1.17.0a1730194779__py3-none-any.whl → 1.18.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +9 -0
- pulumiverse_scaleway/_inputs.py +133 -107
- pulumiverse_scaleway/account_project.py +17 -17
- pulumiverse_scaleway/account_ssh_key.py +8 -4
- pulumiverse_scaleway/container.py +146 -160
- pulumiverse_scaleway/container_cron.py +42 -77
- pulumiverse_scaleway/container_domain.py +30 -24
- pulumiverse_scaleway/container_namespace.py +42 -42
- pulumiverse_scaleway/container_token.py +36 -38
- pulumiverse_scaleway/container_trigger.py +45 -43
- pulumiverse_scaleway/function.py +112 -154
- pulumiverse_scaleway/function_cron.py +42 -60
- pulumiverse_scaleway/function_domain.py +56 -47
- pulumiverse_scaleway/function_namespace.py +49 -49
- pulumiverse_scaleway/function_token.py +36 -38
- pulumiverse_scaleway/function_trigger.py +45 -43
- pulumiverse_scaleway/get_account_project.py +14 -8
- pulumiverse_scaleway/get_account_ssh_key.py +14 -10
- pulumiverse_scaleway/get_availability_zones.py +17 -9
- pulumiverse_scaleway/get_container.py +50 -30
- pulumiverse_scaleway/get_container_namespace.py +26 -16
- pulumiverse_scaleway/get_function.py +20 -12
- pulumiverse_scaleway/get_function_namespace.py +14 -14
- pulumiverse_scaleway/get_object_bucket.py +22 -10
- pulumiverse_scaleway/get_object_bucket_policy.py +15 -9
- pulumiverse_scaleway/get_tem_domain.py +12 -1
- pulumiverse_scaleway/instance_server.py +32 -0
- pulumiverse_scaleway/object_bucket.py +67 -81
- pulumiverse_scaleway/object_bucket_acl.py +21 -17
- pulumiverse_scaleway/object_bucket_lock_configuration.py +21 -19
- pulumiverse_scaleway/object_bucket_policy.py +10 -8
- pulumiverse_scaleway/object_bucket_website_configuration.py +24 -22
- pulumiverse_scaleway/object_item.py +78 -62
- pulumiverse_scaleway/outputs.py +102 -73
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/sdb_database.py +26 -22
- pulumiverse_scaleway/tem_domain.py +75 -0
- pulumiverse_scaleway/vpc_private_network.py +2 -2
- pulumiverse_scaleway/vpc_route.py +577 -0
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/RECORD +43 -42
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/top_level.txt +0 -0
pulumiverse_scaleway/function.py
CHANGED
|
@@ -40,25 +40,25 @@ class FunctionArgs:
|
|
|
40
40
|
zip_hash: Optional[pulumi.Input[str]] = None):
|
|
41
41
|
"""
|
|
42
42
|
The set of arguments for constructing a Function resource.
|
|
43
|
-
:param pulumi.Input[str] handler: Handler of the function
|
|
44
|
-
:param pulumi.Input[str] namespace_id: The
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
:param pulumi.Input[str] handler: Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
|
|
44
|
+
:param pulumi.Input[str] namespace_id: The Functions namespace ID of the function.
|
|
45
|
+
|
|
46
|
+
> **Important** Updating the `name` argument will recreate the function.
|
|
47
|
+
:param pulumi.Input[str] privacy: The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
|
|
48
|
+
:param pulumi.Input[str] runtime: Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
|
|
47
49
|
:param pulumi.Input[str] description: The description of the function.
|
|
48
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variables of the function.
|
|
50
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
|
|
49
51
|
:param pulumi.Input[str] http_option: HTTP traffic configuration
|
|
50
|
-
:param pulumi.Input[int] max_scale:
|
|
51
|
-
:param pulumi.Input[int] memory_limit:
|
|
52
|
-
:param pulumi.Input[int] min_scale:
|
|
53
|
-
:param pulumi.Input[str] name: The unique name of the function.
|
|
54
|
-
|
|
55
|
-
> **Important** Updates to `name` will recreate the function.
|
|
56
|
-
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with.
|
|
52
|
+
:param pulumi.Input[int] max_scale: The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `max_scale` value.
|
|
53
|
+
:param pulumi.Input[int] memory_limit: The memory resources in MB to allocate to each function. Defaults to 256 MB.
|
|
54
|
+
:param pulumi.Input[int] min_scale: The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `min_scale` greater than 0 will cause your function to run constantly.
|
|
55
|
+
:param pulumi.Input[str] name: The unique name of the function name.
|
|
56
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the functions namespace is associated with.
|
|
57
57
|
:param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
|
|
58
58
|
:param pulumi.Input[str] sandbox: Execution environment of the function.
|
|
59
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets)
|
|
60
|
-
:param pulumi.Input[int] timeout:
|
|
61
|
-
:param pulumi.Input[str] zip_file:
|
|
59
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
|
|
60
|
+
:param pulumi.Input[int] timeout: The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
|
|
61
|
+
:param pulumi.Input[str] zip_file: Path to the zip file containing your function sources to upload.
|
|
62
62
|
:param pulumi.Input[str] zip_hash: The hash of your source zip file, changing it will re-apply function. Can be any string
|
|
63
63
|
"""
|
|
64
64
|
pulumi.set(__self__, "handler", handler)
|
|
@@ -100,7 +100,7 @@ class FunctionArgs:
|
|
|
100
100
|
@pulumi.getter
|
|
101
101
|
def handler(self) -> pulumi.Input[str]:
|
|
102
102
|
"""
|
|
103
|
-
Handler of the function
|
|
103
|
+
Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
|
|
104
104
|
"""
|
|
105
105
|
return pulumi.get(self, "handler")
|
|
106
106
|
|
|
@@ -112,7 +112,9 @@ class FunctionArgs:
|
|
|
112
112
|
@pulumi.getter(name="namespaceId")
|
|
113
113
|
def namespace_id(self) -> pulumi.Input[str]:
|
|
114
114
|
"""
|
|
115
|
-
The
|
|
115
|
+
The Functions namespace ID of the function.
|
|
116
|
+
|
|
117
|
+
> **Important** Updating the `name` argument will recreate the function.
|
|
116
118
|
"""
|
|
117
119
|
return pulumi.get(self, "namespace_id")
|
|
118
120
|
|
|
@@ -124,7 +126,7 @@ class FunctionArgs:
|
|
|
124
126
|
@pulumi.getter
|
|
125
127
|
def privacy(self) -> pulumi.Input[str]:
|
|
126
128
|
"""
|
|
127
|
-
|
|
129
|
+
The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
|
|
128
130
|
"""
|
|
129
131
|
return pulumi.get(self, "privacy")
|
|
130
132
|
|
|
@@ -136,7 +138,7 @@ class FunctionArgs:
|
|
|
136
138
|
@pulumi.getter
|
|
137
139
|
def runtime(self) -> pulumi.Input[str]:
|
|
138
140
|
"""
|
|
139
|
-
Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-
|
|
141
|
+
Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
|
|
140
142
|
"""
|
|
141
143
|
return pulumi.get(self, "runtime")
|
|
142
144
|
|
|
@@ -169,7 +171,7 @@ class FunctionArgs:
|
|
|
169
171
|
@pulumi.getter(name="environmentVariables")
|
|
170
172
|
def environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
171
173
|
"""
|
|
172
|
-
The environment variables of the function.
|
|
174
|
+
The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
|
|
173
175
|
"""
|
|
174
176
|
return pulumi.get(self, "environment_variables")
|
|
175
177
|
|
|
@@ -193,7 +195,7 @@ class FunctionArgs:
|
|
|
193
195
|
@pulumi.getter(name="maxScale")
|
|
194
196
|
def max_scale(self) -> Optional[pulumi.Input[int]]:
|
|
195
197
|
"""
|
|
196
|
-
|
|
198
|
+
The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `max_scale` value.
|
|
197
199
|
"""
|
|
198
200
|
return pulumi.get(self, "max_scale")
|
|
199
201
|
|
|
@@ -205,7 +207,7 @@ class FunctionArgs:
|
|
|
205
207
|
@pulumi.getter(name="memoryLimit")
|
|
206
208
|
def memory_limit(self) -> Optional[pulumi.Input[int]]:
|
|
207
209
|
"""
|
|
208
|
-
|
|
210
|
+
The memory resources in MB to allocate to each function. Defaults to 256 MB.
|
|
209
211
|
"""
|
|
210
212
|
return pulumi.get(self, "memory_limit")
|
|
211
213
|
|
|
@@ -217,7 +219,7 @@ class FunctionArgs:
|
|
|
217
219
|
@pulumi.getter(name="minScale")
|
|
218
220
|
def min_scale(self) -> Optional[pulumi.Input[int]]:
|
|
219
221
|
"""
|
|
220
|
-
|
|
222
|
+
The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `min_scale` greater than 0 will cause your function to run constantly.
|
|
221
223
|
"""
|
|
222
224
|
return pulumi.get(self, "min_scale")
|
|
223
225
|
|
|
@@ -229,9 +231,7 @@ class FunctionArgs:
|
|
|
229
231
|
@pulumi.getter
|
|
230
232
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
231
233
|
"""
|
|
232
|
-
The unique name of the function.
|
|
233
|
-
|
|
234
|
-
> **Important** Updates to `name` will recreate the function.
|
|
234
|
+
The unique name of the function name.
|
|
235
235
|
"""
|
|
236
236
|
return pulumi.get(self, "name")
|
|
237
237
|
|
|
@@ -243,7 +243,7 @@ class FunctionArgs:
|
|
|
243
243
|
@pulumi.getter(name="projectId")
|
|
244
244
|
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
245
245
|
"""
|
|
246
|
-
`project_id`) The ID of the project the namespace is associated with.
|
|
246
|
+
`project_id`) The ID of the project the functions namespace is associated with.
|
|
247
247
|
"""
|
|
248
248
|
return pulumi.get(self, "project_id")
|
|
249
249
|
|
|
@@ -279,7 +279,7 @@ class FunctionArgs:
|
|
|
279
279
|
@pulumi.getter(name="secretEnvironmentVariables")
|
|
280
280
|
def secret_environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
281
281
|
"""
|
|
282
|
-
The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets)
|
|
282
|
+
The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
|
|
283
283
|
"""
|
|
284
284
|
return pulumi.get(self, "secret_environment_variables")
|
|
285
285
|
|
|
@@ -291,7 +291,7 @@ class FunctionArgs:
|
|
|
291
291
|
@pulumi.getter
|
|
292
292
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
293
293
|
"""
|
|
294
|
-
|
|
294
|
+
The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
|
|
295
295
|
"""
|
|
296
296
|
return pulumi.get(self, "timeout")
|
|
297
297
|
|
|
@@ -303,7 +303,7 @@ class FunctionArgs:
|
|
|
303
303
|
@pulumi.getter(name="zipFile")
|
|
304
304
|
def zip_file(self) -> Optional[pulumi.Input[str]]:
|
|
305
305
|
"""
|
|
306
|
-
|
|
306
|
+
Path to the zip file containing your function sources to upload.
|
|
307
307
|
"""
|
|
308
308
|
return pulumi.get(self, "zip_file")
|
|
309
309
|
|
|
@@ -351,28 +351,28 @@ class _FunctionState:
|
|
|
351
351
|
zip_hash: Optional[pulumi.Input[str]] = None):
|
|
352
352
|
"""
|
|
353
353
|
Input properties used for looking up and filtering Function resources.
|
|
354
|
-
:param pulumi.Input[int] cpu_limit: The CPU limit in
|
|
354
|
+
:param pulumi.Input[int] cpu_limit: The CPU limit in mVCPU for your function.
|
|
355
355
|
:param pulumi.Input[str] description: The description of the function.
|
|
356
|
-
:param pulumi.Input[str] domain_name: The native domain name of the function
|
|
357
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variables of the function.
|
|
358
|
-
:param pulumi.Input[str] handler: Handler of the function
|
|
356
|
+
:param pulumi.Input[str] domain_name: The native domain name of the function.
|
|
357
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
|
|
358
|
+
:param pulumi.Input[str] handler: Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
|
|
359
359
|
:param pulumi.Input[str] http_option: HTTP traffic configuration
|
|
360
|
-
:param pulumi.Input[int] max_scale:
|
|
361
|
-
:param pulumi.Input[int] memory_limit:
|
|
362
|
-
:param pulumi.Input[int] min_scale:
|
|
363
|
-
:param pulumi.Input[str] name: The unique name of the function.
|
|
360
|
+
:param pulumi.Input[int] max_scale: The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `max_scale` value.
|
|
361
|
+
:param pulumi.Input[int] memory_limit: The memory resources in MB to allocate to each function. Defaults to 256 MB.
|
|
362
|
+
:param pulumi.Input[int] min_scale: The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `min_scale` greater than 0 will cause your function to run constantly.
|
|
363
|
+
:param pulumi.Input[str] name: The unique name of the function name.
|
|
364
|
+
:param pulumi.Input[str] namespace_id: The Functions namespace ID of the function.
|
|
364
365
|
|
|
365
|
-
> **Important**
|
|
366
|
-
:param pulumi.Input[str] namespace_id: The function namespace ID of the function.
|
|
366
|
+
> **Important** Updating the `name` argument will recreate the function.
|
|
367
367
|
:param pulumi.Input[str] organization_id: The organization ID the function is associated with.
|
|
368
|
-
:param pulumi.Input[str] privacy:
|
|
369
|
-
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with.
|
|
368
|
+
:param pulumi.Input[str] privacy: The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
|
|
369
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the functions namespace is associated with.
|
|
370
370
|
:param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
|
|
371
|
-
:param pulumi.Input[str] runtime: Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-
|
|
371
|
+
:param pulumi.Input[str] runtime: Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
|
|
372
372
|
:param pulumi.Input[str] sandbox: Execution environment of the function.
|
|
373
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets)
|
|
374
|
-
:param pulumi.Input[int] timeout:
|
|
375
|
-
:param pulumi.Input[str] zip_file:
|
|
373
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
|
|
374
|
+
:param pulumi.Input[int] timeout: The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
|
|
375
|
+
:param pulumi.Input[str] zip_file: Path to the zip file containing your function sources to upload.
|
|
376
376
|
:param pulumi.Input[str] zip_hash: The hash of your source zip file, changing it will re-apply function. Can be any string
|
|
377
377
|
"""
|
|
378
378
|
if cpu_limit is not None:
|
|
@@ -424,7 +424,7 @@ class _FunctionState:
|
|
|
424
424
|
@pulumi.getter(name="cpuLimit")
|
|
425
425
|
def cpu_limit(self) -> Optional[pulumi.Input[int]]:
|
|
426
426
|
"""
|
|
427
|
-
The CPU limit in
|
|
427
|
+
The CPU limit in mVCPU for your function.
|
|
428
428
|
"""
|
|
429
429
|
return pulumi.get(self, "cpu_limit")
|
|
430
430
|
|
|
@@ -457,7 +457,7 @@ class _FunctionState:
|
|
|
457
457
|
@pulumi.getter(name="domainName")
|
|
458
458
|
def domain_name(self) -> Optional[pulumi.Input[str]]:
|
|
459
459
|
"""
|
|
460
|
-
The native domain name of the function
|
|
460
|
+
The native domain name of the function.
|
|
461
461
|
"""
|
|
462
462
|
return pulumi.get(self, "domain_name")
|
|
463
463
|
|
|
@@ -469,7 +469,7 @@ class _FunctionState:
|
|
|
469
469
|
@pulumi.getter(name="environmentVariables")
|
|
470
470
|
def environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
471
471
|
"""
|
|
472
|
-
The environment variables of the function.
|
|
472
|
+
The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
|
|
473
473
|
"""
|
|
474
474
|
return pulumi.get(self, "environment_variables")
|
|
475
475
|
|
|
@@ -481,7 +481,7 @@ class _FunctionState:
|
|
|
481
481
|
@pulumi.getter
|
|
482
482
|
def handler(self) -> Optional[pulumi.Input[str]]:
|
|
483
483
|
"""
|
|
484
|
-
Handler of the function
|
|
484
|
+
Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
|
|
485
485
|
"""
|
|
486
486
|
return pulumi.get(self, "handler")
|
|
487
487
|
|
|
@@ -505,7 +505,7 @@ class _FunctionState:
|
|
|
505
505
|
@pulumi.getter(name="maxScale")
|
|
506
506
|
def max_scale(self) -> Optional[pulumi.Input[int]]:
|
|
507
507
|
"""
|
|
508
|
-
|
|
508
|
+
The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `max_scale` value.
|
|
509
509
|
"""
|
|
510
510
|
return pulumi.get(self, "max_scale")
|
|
511
511
|
|
|
@@ -517,7 +517,7 @@ class _FunctionState:
|
|
|
517
517
|
@pulumi.getter(name="memoryLimit")
|
|
518
518
|
def memory_limit(self) -> Optional[pulumi.Input[int]]:
|
|
519
519
|
"""
|
|
520
|
-
|
|
520
|
+
The memory resources in MB to allocate to each function. Defaults to 256 MB.
|
|
521
521
|
"""
|
|
522
522
|
return pulumi.get(self, "memory_limit")
|
|
523
523
|
|
|
@@ -529,7 +529,7 @@ class _FunctionState:
|
|
|
529
529
|
@pulumi.getter(name="minScale")
|
|
530
530
|
def min_scale(self) -> Optional[pulumi.Input[int]]:
|
|
531
531
|
"""
|
|
532
|
-
|
|
532
|
+
The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `min_scale` greater than 0 will cause your function to run constantly.
|
|
533
533
|
"""
|
|
534
534
|
return pulumi.get(self, "min_scale")
|
|
535
535
|
|
|
@@ -541,9 +541,7 @@ class _FunctionState:
|
|
|
541
541
|
@pulumi.getter
|
|
542
542
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
543
543
|
"""
|
|
544
|
-
The unique name of the function.
|
|
545
|
-
|
|
546
|
-
> **Important** Updates to `name` will recreate the function.
|
|
544
|
+
The unique name of the function name.
|
|
547
545
|
"""
|
|
548
546
|
return pulumi.get(self, "name")
|
|
549
547
|
|
|
@@ -555,7 +553,9 @@ class _FunctionState:
|
|
|
555
553
|
@pulumi.getter(name="namespaceId")
|
|
556
554
|
def namespace_id(self) -> Optional[pulumi.Input[str]]:
|
|
557
555
|
"""
|
|
558
|
-
The
|
|
556
|
+
The Functions namespace ID of the function.
|
|
557
|
+
|
|
558
|
+
> **Important** Updating the `name` argument will recreate the function.
|
|
559
559
|
"""
|
|
560
560
|
return pulumi.get(self, "namespace_id")
|
|
561
561
|
|
|
@@ -579,7 +579,7 @@ class _FunctionState:
|
|
|
579
579
|
@pulumi.getter
|
|
580
580
|
def privacy(self) -> Optional[pulumi.Input[str]]:
|
|
581
581
|
"""
|
|
582
|
-
|
|
582
|
+
The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
|
|
583
583
|
"""
|
|
584
584
|
return pulumi.get(self, "privacy")
|
|
585
585
|
|
|
@@ -591,7 +591,7 @@ class _FunctionState:
|
|
|
591
591
|
@pulumi.getter(name="projectId")
|
|
592
592
|
def project_id(self) -> Optional[pulumi.Input[str]]:
|
|
593
593
|
"""
|
|
594
|
-
`project_id`) The ID of the project the namespace is associated with.
|
|
594
|
+
`project_id`) The ID of the project the functions namespace is associated with.
|
|
595
595
|
"""
|
|
596
596
|
return pulumi.get(self, "project_id")
|
|
597
597
|
|
|
@@ -615,7 +615,7 @@ class _FunctionState:
|
|
|
615
615
|
@pulumi.getter
|
|
616
616
|
def runtime(self) -> Optional[pulumi.Input[str]]:
|
|
617
617
|
"""
|
|
618
|
-
Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-
|
|
618
|
+
Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
|
|
619
619
|
"""
|
|
620
620
|
return pulumi.get(self, "runtime")
|
|
621
621
|
|
|
@@ -639,7 +639,7 @@ class _FunctionState:
|
|
|
639
639
|
@pulumi.getter(name="secretEnvironmentVariables")
|
|
640
640
|
def secret_environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
641
641
|
"""
|
|
642
|
-
The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets)
|
|
642
|
+
The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
|
|
643
643
|
"""
|
|
644
644
|
return pulumi.get(self, "secret_environment_variables")
|
|
645
645
|
|
|
@@ -651,7 +651,7 @@ class _FunctionState:
|
|
|
651
651
|
@pulumi.getter
|
|
652
652
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
653
653
|
"""
|
|
654
|
-
|
|
654
|
+
The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
|
|
655
655
|
"""
|
|
656
656
|
return pulumi.get(self, "timeout")
|
|
657
657
|
|
|
@@ -663,7 +663,7 @@ class _FunctionState:
|
|
|
663
663
|
@pulumi.getter(name="zipFile")
|
|
664
664
|
def zip_file(self) -> Optional[pulumi.Input[str]]:
|
|
665
665
|
"""
|
|
666
|
-
|
|
666
|
+
Path to the zip file containing your function sources to upload.
|
|
667
667
|
"""
|
|
668
668
|
return pulumi.get(self, "zip_file")
|
|
669
669
|
|
|
@@ -710,30 +710,9 @@ class Function(pulumi.CustomResource):
|
|
|
710
710
|
zip_hash: Optional[pulumi.Input[str]] = None,
|
|
711
711
|
__props__=None):
|
|
712
712
|
"""
|
|
713
|
-
Creates and manages Scaleway Functions.
|
|
714
|
-
For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions).
|
|
715
|
-
|
|
716
|
-
## Example Usage
|
|
717
|
-
|
|
718
|
-
### Basic
|
|
719
|
-
|
|
720
|
-
```python
|
|
721
|
-
import pulumi
|
|
722
|
-
import pulumiverse_scaleway as scaleway
|
|
723
|
-
|
|
724
|
-
main = scaleway.FunctionNamespace("main",
|
|
725
|
-
name="main-function-namespace",
|
|
726
|
-
description="Main function namespace")
|
|
727
|
-
main_function = scaleway.Function("main",
|
|
728
|
-
namespace_id=main.id,
|
|
729
|
-
runtime="go118",
|
|
730
|
-
handler="Handle",
|
|
731
|
-
privacy="private")
|
|
732
|
-
```
|
|
733
|
-
|
|
734
713
|
## Import
|
|
735
714
|
|
|
736
|
-
Functions can be imported using
|
|
715
|
+
Functions can be imported using, `{region}/{id}`, as shown below:
|
|
737
716
|
|
|
738
717
|
bash
|
|
739
718
|
|
|
@@ -744,24 +723,24 @@ class Function(pulumi.CustomResource):
|
|
|
744
723
|
:param str resource_name: The name of the resource.
|
|
745
724
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
746
725
|
:param pulumi.Input[str] description: The description of the function.
|
|
747
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variables of the function.
|
|
748
|
-
:param pulumi.Input[str] handler: Handler of the function
|
|
726
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
|
|
727
|
+
:param pulumi.Input[str] handler: Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
|
|
749
728
|
:param pulumi.Input[str] http_option: HTTP traffic configuration
|
|
750
|
-
:param pulumi.Input[int] max_scale:
|
|
751
|
-
:param pulumi.Input[int] memory_limit:
|
|
752
|
-
:param pulumi.Input[int] min_scale:
|
|
753
|
-
:param pulumi.Input[str] name: The unique name of the function.
|
|
729
|
+
:param pulumi.Input[int] max_scale: The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `max_scale` value.
|
|
730
|
+
:param pulumi.Input[int] memory_limit: The memory resources in MB to allocate to each function. Defaults to 256 MB.
|
|
731
|
+
:param pulumi.Input[int] min_scale: The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `min_scale` greater than 0 will cause your function to run constantly.
|
|
732
|
+
:param pulumi.Input[str] name: The unique name of the function name.
|
|
733
|
+
:param pulumi.Input[str] namespace_id: The Functions namespace ID of the function.
|
|
754
734
|
|
|
755
|
-
> **Important**
|
|
756
|
-
:param pulumi.Input[str]
|
|
757
|
-
:param pulumi.Input[str]
|
|
758
|
-
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with.
|
|
735
|
+
> **Important** Updating the `name` argument will recreate the function.
|
|
736
|
+
:param pulumi.Input[str] privacy: The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
|
|
737
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the functions namespace is associated with.
|
|
759
738
|
:param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
|
|
760
|
-
:param pulumi.Input[str] runtime: Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-
|
|
739
|
+
:param pulumi.Input[str] runtime: Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
|
|
761
740
|
:param pulumi.Input[str] sandbox: Execution environment of the function.
|
|
762
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets)
|
|
763
|
-
:param pulumi.Input[int] timeout:
|
|
764
|
-
:param pulumi.Input[str] zip_file:
|
|
741
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
|
|
742
|
+
:param pulumi.Input[int] timeout: The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
|
|
743
|
+
:param pulumi.Input[str] zip_file: Path to the zip file containing your function sources to upload.
|
|
765
744
|
:param pulumi.Input[str] zip_hash: The hash of your source zip file, changing it will re-apply function. Can be any string
|
|
766
745
|
"""
|
|
767
746
|
...
|
|
@@ -771,30 +750,9 @@ class Function(pulumi.CustomResource):
|
|
|
771
750
|
args: FunctionArgs,
|
|
772
751
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
773
752
|
"""
|
|
774
|
-
Creates and manages Scaleway Functions.
|
|
775
|
-
For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions).
|
|
776
|
-
|
|
777
|
-
## Example Usage
|
|
778
|
-
|
|
779
|
-
### Basic
|
|
780
|
-
|
|
781
|
-
```python
|
|
782
|
-
import pulumi
|
|
783
|
-
import pulumiverse_scaleway as scaleway
|
|
784
|
-
|
|
785
|
-
main = scaleway.FunctionNamespace("main",
|
|
786
|
-
name="main-function-namespace",
|
|
787
|
-
description="Main function namespace")
|
|
788
|
-
main_function = scaleway.Function("main",
|
|
789
|
-
namespace_id=main.id,
|
|
790
|
-
runtime="go118",
|
|
791
|
-
handler="Handle",
|
|
792
|
-
privacy="private")
|
|
793
|
-
```
|
|
794
|
-
|
|
795
753
|
## Import
|
|
796
754
|
|
|
797
|
-
Functions can be imported using
|
|
755
|
+
Functions can be imported using, `{region}/{id}`, as shown below:
|
|
798
756
|
|
|
799
757
|
bash
|
|
800
758
|
|
|
@@ -916,28 +874,28 @@ class Function(pulumi.CustomResource):
|
|
|
916
874
|
:param str resource_name: The unique name of the resulting resource.
|
|
917
875
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
918
876
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
919
|
-
:param pulumi.Input[int] cpu_limit: The CPU limit in
|
|
877
|
+
:param pulumi.Input[int] cpu_limit: The CPU limit in mVCPU for your function.
|
|
920
878
|
:param pulumi.Input[str] description: The description of the function.
|
|
921
|
-
:param pulumi.Input[str] domain_name: The native domain name of the function
|
|
922
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variables of the function.
|
|
923
|
-
:param pulumi.Input[str] handler: Handler of the function
|
|
879
|
+
:param pulumi.Input[str] domain_name: The native domain name of the function.
|
|
880
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
|
|
881
|
+
:param pulumi.Input[str] handler: Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
|
|
924
882
|
:param pulumi.Input[str] http_option: HTTP traffic configuration
|
|
925
|
-
:param pulumi.Input[int] max_scale:
|
|
926
|
-
:param pulumi.Input[int] memory_limit:
|
|
927
|
-
:param pulumi.Input[int] min_scale:
|
|
928
|
-
:param pulumi.Input[str] name: The unique name of the function.
|
|
883
|
+
:param pulumi.Input[int] max_scale: The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `max_scale` value.
|
|
884
|
+
:param pulumi.Input[int] memory_limit: The memory resources in MB to allocate to each function. Defaults to 256 MB.
|
|
885
|
+
:param pulumi.Input[int] min_scale: The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `min_scale` greater than 0 will cause your function to run constantly.
|
|
886
|
+
:param pulumi.Input[str] name: The unique name of the function name.
|
|
887
|
+
:param pulumi.Input[str] namespace_id: The Functions namespace ID of the function.
|
|
929
888
|
|
|
930
|
-
> **Important**
|
|
931
|
-
:param pulumi.Input[str] namespace_id: The function namespace ID of the function.
|
|
889
|
+
> **Important** Updating the `name` argument will recreate the function.
|
|
932
890
|
:param pulumi.Input[str] organization_id: The organization ID the function is associated with.
|
|
933
|
-
:param pulumi.Input[str] privacy:
|
|
934
|
-
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with.
|
|
891
|
+
:param pulumi.Input[str] privacy: The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
|
|
892
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the functions namespace is associated with.
|
|
935
893
|
:param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
|
|
936
|
-
:param pulumi.Input[str] runtime: Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-
|
|
894
|
+
:param pulumi.Input[str] runtime: Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
|
|
937
895
|
:param pulumi.Input[str] sandbox: Execution environment of the function.
|
|
938
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets)
|
|
939
|
-
:param pulumi.Input[int] timeout:
|
|
940
|
-
:param pulumi.Input[str] zip_file:
|
|
896
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
|
|
897
|
+
:param pulumi.Input[int] timeout: The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
|
|
898
|
+
:param pulumi.Input[str] zip_file: Path to the zip file containing your function sources to upload.
|
|
941
899
|
:param pulumi.Input[str] zip_hash: The hash of your source zip file, changing it will re-apply function. Can be any string
|
|
942
900
|
"""
|
|
943
901
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -972,7 +930,7 @@ class Function(pulumi.CustomResource):
|
|
|
972
930
|
@pulumi.getter(name="cpuLimit")
|
|
973
931
|
def cpu_limit(self) -> pulumi.Output[int]:
|
|
974
932
|
"""
|
|
975
|
-
The CPU limit in
|
|
933
|
+
The CPU limit in mVCPU for your function.
|
|
976
934
|
"""
|
|
977
935
|
return pulumi.get(self, "cpu_limit")
|
|
978
936
|
|
|
@@ -993,7 +951,7 @@ class Function(pulumi.CustomResource):
|
|
|
993
951
|
@pulumi.getter(name="domainName")
|
|
994
952
|
def domain_name(self) -> pulumi.Output[str]:
|
|
995
953
|
"""
|
|
996
|
-
The native domain name of the function
|
|
954
|
+
The native domain name of the function.
|
|
997
955
|
"""
|
|
998
956
|
return pulumi.get(self, "domain_name")
|
|
999
957
|
|
|
@@ -1001,7 +959,7 @@ class Function(pulumi.CustomResource):
|
|
|
1001
959
|
@pulumi.getter(name="environmentVariables")
|
|
1002
960
|
def environment_variables(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
1003
961
|
"""
|
|
1004
|
-
The environment variables of the function.
|
|
962
|
+
The [environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#environment-variables) of the function.
|
|
1005
963
|
"""
|
|
1006
964
|
return pulumi.get(self, "environment_variables")
|
|
1007
965
|
|
|
@@ -1009,7 +967,7 @@ class Function(pulumi.CustomResource):
|
|
|
1009
967
|
@pulumi.getter
|
|
1010
968
|
def handler(self) -> pulumi.Output[str]:
|
|
1011
969
|
"""
|
|
1012
|
-
Handler of the function
|
|
970
|
+
Handler of the function, depends on the runtime. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-create-a-new-function) for the list of supported runtimes.
|
|
1013
971
|
"""
|
|
1014
972
|
return pulumi.get(self, "handler")
|
|
1015
973
|
|
|
@@ -1025,7 +983,7 @@ class Function(pulumi.CustomResource):
|
|
|
1025
983
|
@pulumi.getter(name="maxScale")
|
|
1026
984
|
def max_scale(self) -> pulumi.Output[Optional[int]]:
|
|
1027
985
|
"""
|
|
1028
|
-
|
|
986
|
+
The maximum number of instances this function can scale to. Default to 20. Your function will scale automatically based on the incoming workload, but will never exceed the configured `max_scale` value.
|
|
1029
987
|
"""
|
|
1030
988
|
return pulumi.get(self, "max_scale")
|
|
1031
989
|
|
|
@@ -1033,7 +991,7 @@ class Function(pulumi.CustomResource):
|
|
|
1033
991
|
@pulumi.getter(name="memoryLimit")
|
|
1034
992
|
def memory_limit(self) -> pulumi.Output[Optional[int]]:
|
|
1035
993
|
"""
|
|
1036
|
-
|
|
994
|
+
The memory resources in MB to allocate to each function. Defaults to 256 MB.
|
|
1037
995
|
"""
|
|
1038
996
|
return pulumi.get(self, "memory_limit")
|
|
1039
997
|
|
|
@@ -1041,7 +999,7 @@ class Function(pulumi.CustomResource):
|
|
|
1041
999
|
@pulumi.getter(name="minScale")
|
|
1042
1000
|
def min_scale(self) -> pulumi.Output[Optional[int]]:
|
|
1043
1001
|
"""
|
|
1044
|
-
|
|
1002
|
+
The minimum number of function instances running continuously. Defaults to 0. Functions are billed when executed, and using a `min_scale` greater than 0 will cause your function to run constantly.
|
|
1045
1003
|
"""
|
|
1046
1004
|
return pulumi.get(self, "min_scale")
|
|
1047
1005
|
|
|
@@ -1049,9 +1007,7 @@ class Function(pulumi.CustomResource):
|
|
|
1049
1007
|
@pulumi.getter
|
|
1050
1008
|
def name(self) -> pulumi.Output[str]:
|
|
1051
1009
|
"""
|
|
1052
|
-
The unique name of the function.
|
|
1053
|
-
|
|
1054
|
-
> **Important** Updates to `name` will recreate the function.
|
|
1010
|
+
The unique name of the function name.
|
|
1055
1011
|
"""
|
|
1056
1012
|
return pulumi.get(self, "name")
|
|
1057
1013
|
|
|
@@ -1059,7 +1015,9 @@ class Function(pulumi.CustomResource):
|
|
|
1059
1015
|
@pulumi.getter(name="namespaceId")
|
|
1060
1016
|
def namespace_id(self) -> pulumi.Output[str]:
|
|
1061
1017
|
"""
|
|
1062
|
-
The
|
|
1018
|
+
The Functions namespace ID of the function.
|
|
1019
|
+
|
|
1020
|
+
> **Important** Updating the `name` argument will recreate the function.
|
|
1063
1021
|
"""
|
|
1064
1022
|
return pulumi.get(self, "namespace_id")
|
|
1065
1023
|
|
|
@@ -1075,7 +1033,7 @@ class Function(pulumi.CustomResource):
|
|
|
1075
1033
|
@pulumi.getter
|
|
1076
1034
|
def privacy(self) -> pulumi.Output[str]:
|
|
1077
1035
|
"""
|
|
1078
|
-
|
|
1036
|
+
The privacy type defines the way to authenticate to your function. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-functions/#protocol-9dd4c8).
|
|
1079
1037
|
"""
|
|
1080
1038
|
return pulumi.get(self, "privacy")
|
|
1081
1039
|
|
|
@@ -1083,7 +1041,7 @@ class Function(pulumi.CustomResource):
|
|
|
1083
1041
|
@pulumi.getter(name="projectId")
|
|
1084
1042
|
def project_id(self) -> pulumi.Output[str]:
|
|
1085
1043
|
"""
|
|
1086
|
-
`project_id`) The ID of the project the namespace is associated with.
|
|
1044
|
+
`project_id`) The ID of the project the functions namespace is associated with.
|
|
1087
1045
|
"""
|
|
1088
1046
|
return pulumi.get(self, "project_id")
|
|
1089
1047
|
|
|
@@ -1099,7 +1057,7 @@ class Function(pulumi.CustomResource):
|
|
|
1099
1057
|
@pulumi.getter
|
|
1100
1058
|
def runtime(self) -> pulumi.Output[str]:
|
|
1101
1059
|
"""
|
|
1102
|
-
Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-
|
|
1060
|
+
Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#path-functions-get-a-function)
|
|
1103
1061
|
"""
|
|
1104
1062
|
return pulumi.get(self, "runtime")
|
|
1105
1063
|
|
|
@@ -1115,7 +1073,7 @@ class Function(pulumi.CustomResource):
|
|
|
1115
1073
|
@pulumi.getter(name="secretEnvironmentVariables")
|
|
1116
1074
|
def secret_environment_variables(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
1117
1075
|
"""
|
|
1118
|
-
The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets)
|
|
1076
|
+
The [secret environment variables](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) of the function.
|
|
1119
1077
|
"""
|
|
1120
1078
|
return pulumi.get(self, "secret_environment_variables")
|
|
1121
1079
|
|
|
@@ -1123,7 +1081,7 @@ class Function(pulumi.CustomResource):
|
|
|
1123
1081
|
@pulumi.getter
|
|
1124
1082
|
def timeout(self) -> pulumi.Output[int]:
|
|
1125
1083
|
"""
|
|
1126
|
-
|
|
1084
|
+
The maximum amount of time your function can spend processing a request before being stopped. Defaults to 300s.
|
|
1127
1085
|
"""
|
|
1128
1086
|
return pulumi.get(self, "timeout")
|
|
1129
1087
|
|
|
@@ -1131,7 +1089,7 @@ class Function(pulumi.CustomResource):
|
|
|
1131
1089
|
@pulumi.getter(name="zipFile")
|
|
1132
1090
|
def zip_file(self) -> pulumi.Output[Optional[str]]:
|
|
1133
1091
|
"""
|
|
1134
|
-
|
|
1092
|
+
Path to the zip file containing your function sources to upload.
|
|
1135
1093
|
"""
|
|
1136
1094
|
return pulumi.get(self, "zip_file")
|
|
1137
1095
|
|