pulumiverse-vercel 0.15.0__tar.gz

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.
Files changed (31) hide show
  1. pulumiverse_vercel-0.15.0/PKG-INFO +69 -0
  2. pulumiverse_vercel-0.15.0/README.md +55 -0
  3. pulumiverse_vercel-0.15.0/pulumiverse_vercel/__init__.py +102 -0
  4. pulumiverse_vercel-0.15.0/pulumiverse_vercel/_inputs.py +395 -0
  5. pulumiverse_vercel-0.15.0/pulumiverse_vercel/_utilities.py +250 -0
  6. pulumiverse_vercel-0.15.0/pulumiverse_vercel/alias.py +245 -0
  7. pulumiverse_vercel-0.15.0/pulumiverse_vercel/config/__init__.py +8 -0
  8. pulumiverse_vercel-0.15.0/pulumiverse_vercel/config/vars.py +33 -0
  9. pulumiverse_vercel-0.15.0/pulumiverse_vercel/deployment.py +585 -0
  10. pulumiverse_vercel-0.15.0/pulumiverse_vercel/dns_record.py +675 -0
  11. pulumiverse_vercel-0.15.0/pulumiverse_vercel/get_alias.py +121 -0
  12. pulumiverse_vercel-0.15.0/pulumiverse_vercel/get_file.py +122 -0
  13. pulumiverse_vercel-0.15.0/pulumiverse_vercel/get_prebuilt_project.py +90 -0
  14. pulumiverse_vercel-0.15.0/pulumiverse_vercel/get_project.py +308 -0
  15. pulumiverse_vercel-0.15.0/pulumiverse_vercel/get_project_directory.py +90 -0
  16. pulumiverse_vercel-0.15.0/pulumiverse_vercel/outputs.py +525 -0
  17. pulumiverse_vercel-0.15.0/pulumiverse_vercel/project.py +946 -0
  18. pulumiverse_vercel-0.15.0/pulumiverse_vercel/project_domain.py +460 -0
  19. pulumiverse_vercel-0.15.0/pulumiverse_vercel/project_environment_variable.py +464 -0
  20. pulumiverse_vercel-0.15.0/pulumiverse_vercel/provider.py +144 -0
  21. pulumiverse_vercel-0.15.0/pulumiverse_vercel/pulumi-plugin.json +5 -0
  22. pulumiverse_vercel-0.15.0/pulumiverse_vercel/py.typed +0 -0
  23. pulumiverse_vercel-0.15.0/pulumiverse_vercel/shared_environment_variable.py +401 -0
  24. pulumiverse_vercel-0.15.0/pulumiverse_vercel.egg-info/PKG-INFO +69 -0
  25. pulumiverse_vercel-0.15.0/pulumiverse_vercel.egg-info/SOURCES.txt +29 -0
  26. pulumiverse_vercel-0.15.0/pulumiverse_vercel.egg-info/dependency_links.txt +1 -0
  27. pulumiverse_vercel-0.15.0/pulumiverse_vercel.egg-info/not-zip-safe +1 -0
  28. pulumiverse_vercel-0.15.0/pulumiverse_vercel.egg-info/requires.txt +3 -0
  29. pulumiverse_vercel-0.15.0/pulumiverse_vercel.egg-info/top_level.txt +1 -0
  30. pulumiverse_vercel-0.15.0/setup.cfg +4 -0
  31. pulumiverse_vercel-0.15.0/setup.py +65 -0
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.1
2
+ Name: pulumiverse_vercel
3
+ Version: 0.15.0
4
+ Summary: UNKNOWN
5
+ Home-page: UNKNOWN
6
+ License: Apache-2.0
7
+ Project-URL: Repository, https://github.com/pulumiverse/pulumi-vercel
8
+ Keywords: pulumi vercel category/cloud
9
+ Platform: UNKNOWN
10
+ Requires-Python: >=3.7
11
+ Description-Content-Type: text/markdown
12
+
13
+ # Vercel Resource Provider
14
+
15
+ The Vercel Resource Provider lets you manage [Vercel](https://vercel.com) resources.
16
+
17
+ ## Installing
18
+
19
+ This package is available for several languages/platforms:
20
+
21
+ ### Node.js (JavaScript/TypeScript)
22
+
23
+ To use from JavaScript or TypeScript in Node.js, install using either `npm`:
24
+
25
+ ```bash
26
+ npm install @pulumi/vercel
27
+ ```
28
+
29
+ or `yarn`:
30
+
31
+ ```bash
32
+ yarn add @pulumi/vercel
33
+ ```
34
+
35
+ ### Python
36
+
37
+ To use from Python, install using `pip`:
38
+
39
+ ```bash
40
+ pip install pulumi_vercel
41
+ ```
42
+
43
+ ### Go
44
+
45
+ To use from Go, use `go get` to grab the latest version of the library:
46
+
47
+ ```bash
48
+ go get github.com/pulumiverse/pulumi-vercel/sdk/go/...
49
+ ```
50
+
51
+ ### .NET
52
+
53
+ To use from .NET, install using `dotnet add package`:
54
+
55
+ ```bash
56
+ dotnet add package Pulumi.vercel
57
+ ```
58
+
59
+ ## Configuration
60
+
61
+ The following configuration points are available for the `vercel` provider:
62
+
63
+ - `vercel:apiKey` (environment: `VERCEL_API_KEY`) - the API key for `vercel`
64
+
65
+ ## Reference
66
+
67
+ For detailed reference documentation, please visit [the Pulumi registry](https://www.pulumi.com/registry/packages/vercel/api-docs/).
68
+
69
+
@@ -0,0 +1,55 @@
1
+ # Vercel Resource Provider
2
+
3
+ The Vercel Resource Provider lets you manage [Vercel](https://vercel.com) resources.
4
+
5
+ ## Installing
6
+
7
+ This package is available for several languages/platforms:
8
+
9
+ ### Node.js (JavaScript/TypeScript)
10
+
11
+ To use from JavaScript or TypeScript in Node.js, install using either `npm`:
12
+
13
+ ```bash
14
+ npm install @pulumi/vercel
15
+ ```
16
+
17
+ or `yarn`:
18
+
19
+ ```bash
20
+ yarn add @pulumi/vercel
21
+ ```
22
+
23
+ ### Python
24
+
25
+ To use from Python, install using `pip`:
26
+
27
+ ```bash
28
+ pip install pulumi_vercel
29
+ ```
30
+
31
+ ### Go
32
+
33
+ To use from Go, use `go get` to grab the latest version of the library:
34
+
35
+ ```bash
36
+ go get github.com/pulumiverse/pulumi-vercel/sdk/go/...
37
+ ```
38
+
39
+ ### .NET
40
+
41
+ To use from .NET, install using `dotnet add package`:
42
+
43
+ ```bash
44
+ dotnet add package Pulumi.vercel
45
+ ```
46
+
47
+ ## Configuration
48
+
49
+ The following configuration points are available for the `vercel` provider:
50
+
51
+ - `vercel:apiKey` (environment: `VERCEL_API_KEY`) - the API key for `vercel`
52
+
53
+ ## Reference
54
+
55
+ For detailed reference documentation, please visit [the Pulumi registry](https://www.pulumi.com/registry/packages/vercel/api-docs/).
@@ -0,0 +1,102 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ from . import _utilities
6
+ import typing
7
+ # Export this package's modules as members:
8
+ from .alias import *
9
+ from .deployment import *
10
+ from .dns_record import *
11
+ from .get_alias import *
12
+ from .get_file import *
13
+ from .get_prebuilt_project import *
14
+ from .get_project import *
15
+ from .get_project_directory import *
16
+ from .project import *
17
+ from .project_domain import *
18
+ from .project_environment_variable import *
19
+ from .provider import *
20
+ from .shared_environment_variable import *
21
+ from ._inputs import *
22
+ from . import outputs
23
+
24
+ # Make subpackages available:
25
+ if typing.TYPE_CHECKING:
26
+ import pulumiverse_vercel.config as __config
27
+ config = __config
28
+ else:
29
+ config = _utilities.lazy_import('pulumiverse_vercel.config')
30
+
31
+ _utilities.register(
32
+ resource_modules="""
33
+ [
34
+ {
35
+ "pkg": "vercel",
36
+ "mod": "index/alias",
37
+ "fqn": "pulumiverse_vercel",
38
+ "classes": {
39
+ "vercel:index/alias:Alias": "Alias"
40
+ }
41
+ },
42
+ {
43
+ "pkg": "vercel",
44
+ "mod": "index/deployment",
45
+ "fqn": "pulumiverse_vercel",
46
+ "classes": {
47
+ "vercel:index/deployment:Deployment": "Deployment"
48
+ }
49
+ },
50
+ {
51
+ "pkg": "vercel",
52
+ "mod": "index/dnsRecord",
53
+ "fqn": "pulumiverse_vercel",
54
+ "classes": {
55
+ "vercel:index/dnsRecord:DnsRecord": "DnsRecord"
56
+ }
57
+ },
58
+ {
59
+ "pkg": "vercel",
60
+ "mod": "index/project",
61
+ "fqn": "pulumiverse_vercel",
62
+ "classes": {
63
+ "vercel:index/project:Project": "Project"
64
+ }
65
+ },
66
+ {
67
+ "pkg": "vercel",
68
+ "mod": "index/projectDomain",
69
+ "fqn": "pulumiverse_vercel",
70
+ "classes": {
71
+ "vercel:index/projectDomain:ProjectDomain": "ProjectDomain"
72
+ }
73
+ },
74
+ {
75
+ "pkg": "vercel",
76
+ "mod": "index/projectEnvironmentVariable",
77
+ "fqn": "pulumiverse_vercel",
78
+ "classes": {
79
+ "vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable": "ProjectEnvironmentVariable"
80
+ }
81
+ },
82
+ {
83
+ "pkg": "vercel",
84
+ "mod": "index/sharedEnvironmentVariable",
85
+ "fqn": "pulumiverse_vercel",
86
+ "classes": {
87
+ "vercel:index/sharedEnvironmentVariable:SharedEnvironmentVariable": "SharedEnvironmentVariable"
88
+ }
89
+ }
90
+ ]
91
+ """,
92
+ resource_packages="""
93
+ [
94
+ {
95
+ "pkg": "vercel",
96
+ "token": "pulumi:providers:vercel",
97
+ "fqn": "pulumiverse_vercel",
98
+ "class": "Provider"
99
+ }
100
+ ]
101
+ """
102
+ )
@@ -0,0 +1,395 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+
12
+ __all__ = [
13
+ 'DeploymentProjectSettingsArgs',
14
+ 'DnsRecordSrvArgs',
15
+ 'ProjectEnvironmentArgs',
16
+ 'ProjectGitRepositoryArgs',
17
+ 'ProjectPasswordProtectionArgs',
18
+ 'ProjectVercelAuthenticationArgs',
19
+ 'GetProjectPasswordProtectionArgs',
20
+ ]
21
+
22
+ @pulumi.input_type
23
+ class DeploymentProjectSettingsArgs:
24
+ def __init__(__self__, *,
25
+ build_command: Optional[pulumi.Input[str]] = None,
26
+ framework: Optional[pulumi.Input[str]] = None,
27
+ install_command: Optional[pulumi.Input[str]] = None,
28
+ output_directory: Optional[pulumi.Input[str]] = None,
29
+ root_directory: Optional[pulumi.Input[str]] = None):
30
+ """
31
+ :param pulumi.Input[str] build_command: The build command for this deployment. If omitted, this value will be taken from the project or automatically detected.
32
+ :param pulumi.Input[str] framework: The framework that is being used for this deployment. If omitted, no framework is selected.
33
+ :param pulumi.Input[str] install_command: The install command for this deployment. If omitted, this value will be taken from the project or automatically detected.
34
+ :param pulumi.Input[str] output_directory: The output directory of the deployment. If omitted, this value will be taken from the project or automatically detected.
35
+ :param pulumi.Input[str] root_directory: The name of a directory or relative path to the source code of your project. When null is used it will default to the project root.
36
+ """
37
+ if build_command is not None:
38
+ pulumi.set(__self__, "build_command", build_command)
39
+ if framework is not None:
40
+ pulumi.set(__self__, "framework", framework)
41
+ if install_command is not None:
42
+ pulumi.set(__self__, "install_command", install_command)
43
+ if output_directory is not None:
44
+ pulumi.set(__self__, "output_directory", output_directory)
45
+ if root_directory is not None:
46
+ pulumi.set(__self__, "root_directory", root_directory)
47
+
48
+ @property
49
+ @pulumi.getter(name="buildCommand")
50
+ def build_command(self) -> Optional[pulumi.Input[str]]:
51
+ """
52
+ The build command for this deployment. If omitted, this value will be taken from the project or automatically detected.
53
+ """
54
+ return pulumi.get(self, "build_command")
55
+
56
+ @build_command.setter
57
+ def build_command(self, value: Optional[pulumi.Input[str]]):
58
+ pulumi.set(self, "build_command", value)
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def framework(self) -> Optional[pulumi.Input[str]]:
63
+ """
64
+ The framework that is being used for this deployment. If omitted, no framework is selected.
65
+ """
66
+ return pulumi.get(self, "framework")
67
+
68
+ @framework.setter
69
+ def framework(self, value: Optional[pulumi.Input[str]]):
70
+ pulumi.set(self, "framework", value)
71
+
72
+ @property
73
+ @pulumi.getter(name="installCommand")
74
+ def install_command(self) -> Optional[pulumi.Input[str]]:
75
+ """
76
+ The install command for this deployment. If omitted, this value will be taken from the project or automatically detected.
77
+ """
78
+ return pulumi.get(self, "install_command")
79
+
80
+ @install_command.setter
81
+ def install_command(self, value: Optional[pulumi.Input[str]]):
82
+ pulumi.set(self, "install_command", value)
83
+
84
+ @property
85
+ @pulumi.getter(name="outputDirectory")
86
+ def output_directory(self) -> Optional[pulumi.Input[str]]:
87
+ """
88
+ The output directory of the deployment. If omitted, this value will be taken from the project or automatically detected.
89
+ """
90
+ return pulumi.get(self, "output_directory")
91
+
92
+ @output_directory.setter
93
+ def output_directory(self, value: Optional[pulumi.Input[str]]):
94
+ pulumi.set(self, "output_directory", value)
95
+
96
+ @property
97
+ @pulumi.getter(name="rootDirectory")
98
+ def root_directory(self) -> Optional[pulumi.Input[str]]:
99
+ """
100
+ The name of a directory or relative path to the source code of your project. When null is used it will default to the project root.
101
+ """
102
+ return pulumi.get(self, "root_directory")
103
+
104
+ @root_directory.setter
105
+ def root_directory(self, value: Optional[pulumi.Input[str]]):
106
+ pulumi.set(self, "root_directory", value)
107
+
108
+
109
+ @pulumi.input_type
110
+ class DnsRecordSrvArgs:
111
+ def __init__(__self__, *,
112
+ port: pulumi.Input[int],
113
+ priority: pulumi.Input[int],
114
+ target: pulumi.Input[str],
115
+ weight: pulumi.Input[int]):
116
+ """
117
+ :param pulumi.Input[int] port: The TCP or UDP port on which the service is to be found.
118
+ :param pulumi.Input[int] priority: The priority of the target host, lower value means more preferred.
119
+ :param pulumi.Input[str] target: The canonical hostname of the machine providing the service, ending in a dot.
120
+ :param pulumi.Input[int] weight: A relative weight for records with the same priority, higher value means higher chance of getting picked.
121
+ """
122
+ pulumi.set(__self__, "port", port)
123
+ pulumi.set(__self__, "priority", priority)
124
+ pulumi.set(__self__, "target", target)
125
+ pulumi.set(__self__, "weight", weight)
126
+
127
+ @property
128
+ @pulumi.getter
129
+ def port(self) -> pulumi.Input[int]:
130
+ """
131
+ The TCP or UDP port on which the service is to be found.
132
+ """
133
+ return pulumi.get(self, "port")
134
+
135
+ @port.setter
136
+ def port(self, value: pulumi.Input[int]):
137
+ pulumi.set(self, "port", value)
138
+
139
+ @property
140
+ @pulumi.getter
141
+ def priority(self) -> pulumi.Input[int]:
142
+ """
143
+ The priority of the target host, lower value means more preferred.
144
+ """
145
+ return pulumi.get(self, "priority")
146
+
147
+ @priority.setter
148
+ def priority(self, value: pulumi.Input[int]):
149
+ pulumi.set(self, "priority", value)
150
+
151
+ @property
152
+ @pulumi.getter
153
+ def target(self) -> pulumi.Input[str]:
154
+ """
155
+ The canonical hostname of the machine providing the service, ending in a dot.
156
+ """
157
+ return pulumi.get(self, "target")
158
+
159
+ @target.setter
160
+ def target(self, value: pulumi.Input[str]):
161
+ pulumi.set(self, "target", value)
162
+
163
+ @property
164
+ @pulumi.getter
165
+ def weight(self) -> pulumi.Input[int]:
166
+ """
167
+ A relative weight for records with the same priority, higher value means higher chance of getting picked.
168
+ """
169
+ return pulumi.get(self, "weight")
170
+
171
+ @weight.setter
172
+ def weight(self, value: pulumi.Input[int]):
173
+ pulumi.set(self, "weight", value)
174
+
175
+
176
+ @pulumi.input_type
177
+ class ProjectEnvironmentArgs:
178
+ def __init__(__self__, *,
179
+ key: pulumi.Input[str],
180
+ targets: pulumi.Input[Sequence[pulumi.Input[str]]],
181
+ value: pulumi.Input[str],
182
+ git_branch: Optional[pulumi.Input[str]] = None,
183
+ id: Optional[pulumi.Input[str]] = None):
184
+ """
185
+ :param pulumi.Input[str] key: The name of the Environment Variable.
186
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] targets: The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
187
+ :param pulumi.Input[str] value: The value of the Environment Variable.
188
+ :param pulumi.Input[str] git_branch: The git branch of the Environment Variable.
189
+ :param pulumi.Input[str] id: The ID of the Environment Variable.
190
+ """
191
+ pulumi.set(__self__, "key", key)
192
+ pulumi.set(__self__, "targets", targets)
193
+ pulumi.set(__self__, "value", value)
194
+ if git_branch is not None:
195
+ pulumi.set(__self__, "git_branch", git_branch)
196
+ if id is not None:
197
+ pulumi.set(__self__, "id", id)
198
+
199
+ @property
200
+ @pulumi.getter
201
+ def key(self) -> pulumi.Input[str]:
202
+ """
203
+ The name of the Environment Variable.
204
+ """
205
+ return pulumi.get(self, "key")
206
+
207
+ @key.setter
208
+ def key(self, value: pulumi.Input[str]):
209
+ pulumi.set(self, "key", value)
210
+
211
+ @property
212
+ @pulumi.getter
213
+ def targets(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
214
+ """
215
+ The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
216
+ """
217
+ return pulumi.get(self, "targets")
218
+
219
+ @targets.setter
220
+ def targets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
221
+ pulumi.set(self, "targets", value)
222
+
223
+ @property
224
+ @pulumi.getter
225
+ def value(self) -> pulumi.Input[str]:
226
+ """
227
+ The value of the Environment Variable.
228
+ """
229
+ return pulumi.get(self, "value")
230
+
231
+ @value.setter
232
+ def value(self, value: pulumi.Input[str]):
233
+ pulumi.set(self, "value", value)
234
+
235
+ @property
236
+ @pulumi.getter(name="gitBranch")
237
+ def git_branch(self) -> Optional[pulumi.Input[str]]:
238
+ """
239
+ The git branch of the Environment Variable.
240
+ """
241
+ return pulumi.get(self, "git_branch")
242
+
243
+ @git_branch.setter
244
+ def git_branch(self, value: Optional[pulumi.Input[str]]):
245
+ pulumi.set(self, "git_branch", value)
246
+
247
+ @property
248
+ @pulumi.getter
249
+ def id(self) -> Optional[pulumi.Input[str]]:
250
+ """
251
+ The ID of the Environment Variable.
252
+ """
253
+ return pulumi.get(self, "id")
254
+
255
+ @id.setter
256
+ def id(self, value: Optional[pulumi.Input[str]]):
257
+ pulumi.set(self, "id", value)
258
+
259
+
260
+ @pulumi.input_type
261
+ class ProjectGitRepositoryArgs:
262
+ def __init__(__self__, *,
263
+ repo: pulumi.Input[str],
264
+ type: pulumi.Input[str],
265
+ production_branch: Optional[pulumi.Input[str]] = None):
266
+ """
267
+ :param pulumi.Input[str] repo: The name of the git repository. For example: `vercel/next.js`.
268
+ :param pulumi.Input[str] type: The git provider of the repository. Must be either `github`, `gitlab`, or `bitbucket`.
269
+ :param pulumi.Input[str] production_branch: By default, every commit pushed to the main branch will trigger a Production Deployment instead of the usual Preview Deployment. You can switch to a different branch here.
270
+ """
271
+ pulumi.set(__self__, "repo", repo)
272
+ pulumi.set(__self__, "type", type)
273
+ if production_branch is not None:
274
+ pulumi.set(__self__, "production_branch", production_branch)
275
+
276
+ @property
277
+ @pulumi.getter
278
+ def repo(self) -> pulumi.Input[str]:
279
+ """
280
+ The name of the git repository. For example: `vercel/next.js`.
281
+ """
282
+ return pulumi.get(self, "repo")
283
+
284
+ @repo.setter
285
+ def repo(self, value: pulumi.Input[str]):
286
+ pulumi.set(self, "repo", value)
287
+
288
+ @property
289
+ @pulumi.getter
290
+ def type(self) -> pulumi.Input[str]:
291
+ """
292
+ The git provider of the repository. Must be either `github`, `gitlab`, or `bitbucket`.
293
+ """
294
+ return pulumi.get(self, "type")
295
+
296
+ @type.setter
297
+ def type(self, value: pulumi.Input[str]):
298
+ pulumi.set(self, "type", value)
299
+
300
+ @property
301
+ @pulumi.getter(name="productionBranch")
302
+ def production_branch(self) -> Optional[pulumi.Input[str]]:
303
+ """
304
+ By default, every commit pushed to the main branch will trigger a Production Deployment instead of the usual Preview Deployment. You can switch to a different branch here.
305
+ """
306
+ return pulumi.get(self, "production_branch")
307
+
308
+ @production_branch.setter
309
+ def production_branch(self, value: Optional[pulumi.Input[str]]):
310
+ pulumi.set(self, "production_branch", value)
311
+
312
+
313
+ @pulumi.input_type
314
+ class ProjectPasswordProtectionArgs:
315
+ def __init__(__self__, *,
316
+ password: pulumi.Input[str],
317
+ protect_production: Optional[pulumi.Input[bool]] = None):
318
+ """
319
+ :param pulumi.Input[str] password: The password that visitors must enter to gain access to your Preview Deployments. Drift detection is not possible for this field.
320
+ :param pulumi.Input[bool] protect_production: If true, production deployments will also be protected
321
+ """
322
+ pulumi.set(__self__, "password", password)
323
+ if protect_production is not None:
324
+ pulumi.set(__self__, "protect_production", protect_production)
325
+
326
+ @property
327
+ @pulumi.getter
328
+ def password(self) -> pulumi.Input[str]:
329
+ """
330
+ The password that visitors must enter to gain access to your Preview Deployments. Drift detection is not possible for this field.
331
+ """
332
+ return pulumi.get(self, "password")
333
+
334
+ @password.setter
335
+ def password(self, value: pulumi.Input[str]):
336
+ pulumi.set(self, "password", value)
337
+
338
+ @property
339
+ @pulumi.getter(name="protectProduction")
340
+ def protect_production(self) -> Optional[pulumi.Input[bool]]:
341
+ """
342
+ If true, production deployments will also be protected
343
+ """
344
+ return pulumi.get(self, "protect_production")
345
+
346
+ @protect_production.setter
347
+ def protect_production(self, value: Optional[pulumi.Input[bool]]):
348
+ pulumi.set(self, "protect_production", value)
349
+
350
+
351
+ @pulumi.input_type
352
+ class ProjectVercelAuthenticationArgs:
353
+ def __init__(__self__, *,
354
+ protect_production: Optional[pulumi.Input[bool]] = None):
355
+ """
356
+ :param pulumi.Input[bool] protect_production: If true, production deployments will also be protected
357
+ """
358
+ if protect_production is not None:
359
+ pulumi.set(__self__, "protect_production", protect_production)
360
+
361
+ @property
362
+ @pulumi.getter(name="protectProduction")
363
+ def protect_production(self) -> Optional[pulumi.Input[bool]]:
364
+ """
365
+ If true, production deployments will also be protected
366
+ """
367
+ return pulumi.get(self, "protect_production")
368
+
369
+ @protect_production.setter
370
+ def protect_production(self, value: Optional[pulumi.Input[bool]]):
371
+ pulumi.set(self, "protect_production", value)
372
+
373
+
374
+ @pulumi.input_type
375
+ class GetProjectPasswordProtectionArgs:
376
+ def __init__(__self__, *,
377
+ protect_production: bool):
378
+ """
379
+ :param bool protect_production: If true, production deployments will also be protected
380
+ """
381
+ pulumi.set(__self__, "protect_production", protect_production)
382
+
383
+ @property
384
+ @pulumi.getter(name="protectProduction")
385
+ def protect_production(self) -> bool:
386
+ """
387
+ If true, production deployments will also be protected
388
+ """
389
+ return pulumi.get(self, "protect_production")
390
+
391
+ @protect_production.setter
392
+ def protect_production(self, value: bool):
393
+ pulumi.set(self, "protect_production", value)
394
+
395
+