@pulumiverse/vercel 1.10.0 → 1.14.2

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 (52) hide show
  1. package/deployment.d.ts +3 -15
  2. package/deployment.js.map +1 -1
  3. package/getAlias.js +5 -1
  4. package/getAlias.js.map +1 -1
  5. package/getAttackChallengeMode.js +5 -1
  6. package/getAttackChallengeMode.js.map +1 -1
  7. package/getDeployment.js +5 -1
  8. package/getDeployment.js.map +1 -1
  9. package/getEdgeConfig.js +5 -1
  10. package/getEdgeConfig.js.map +1 -1
  11. package/getEdgeConfigSchema.js +5 -1
  12. package/getEdgeConfigSchema.js.map +1 -1
  13. package/getEdgeConfigToken.js +6 -1
  14. package/getEdgeConfigToken.js.map +1 -1
  15. package/getEndpointVerification.js +5 -1
  16. package/getEndpointVerification.js.map +1 -1
  17. package/getFile.js +4 -1
  18. package/getFile.js.map +1 -1
  19. package/getLogDrain.js +6 -1
  20. package/getLogDrain.js.map +1 -1
  21. package/getPrebuiltProject.js +4 -1
  22. package/getPrebuiltProject.js.map +1 -1
  23. package/getProject.d.ts +12 -0
  24. package/getProject.js +5 -1
  25. package/getProject.js.map +1 -1
  26. package/getProjectDeploymentRetention.d.ts +76 -0
  27. package/getProjectDeploymentRetention.js +38 -0
  28. package/getProjectDeploymentRetention.js.map +1 -0
  29. package/getProjectDirectory.js +4 -1
  30. package/getProjectDirectory.js.map +1 -1
  31. package/getProjectFunctionCpu.d.ts +4 -0
  32. package/getProjectFunctionCpu.js +9 -1
  33. package/getProjectFunctionCpu.js.map +1 -1
  34. package/getSharedEnvironmentVariable.js +8 -1
  35. package/getSharedEnvironmentVariable.js.map +1 -1
  36. package/index.d.ts +6 -0
  37. package/index.js +9 -1
  38. package/index.js.map +1 -1
  39. package/package.json +1 -1
  40. package/project.d.ts +36 -0
  41. package/project.js +6 -0
  42. package/project.js.map +1 -1
  43. package/projectDeploymentRetention.d.ts +159 -0
  44. package/projectDeploymentRetention.js +113 -0
  45. package/projectDeploymentRetention.js.map +1 -0
  46. package/projectEnvironmentVariable.d.ts +3 -3
  47. package/projectFunctionCpu.d.ts +2 -0
  48. package/projectFunctionCpu.js +2 -0
  49. package/projectFunctionCpu.js.map +1 -1
  50. package/sharedEnvironmentVariable.d.ts +3 -3
  51. package/types/input.d.ts +29 -1
  52. package/types/output.d.ts +54 -1
package/types/input.d.ts CHANGED
@@ -54,7 +54,7 @@ export interface ProjectEnvironment {
54
54
  */
55
55
  key: pulumi.Input<string>;
56
56
  /**
57
- * Whether the Environment Variable is sensitive or not.
57
+ * Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
58
58
  */
59
59
  sensitive?: pulumi.Input<boolean>;
60
60
  /**
@@ -112,6 +112,24 @@ export interface ProjectGitRepositoryDeployHook {
112
112
  */
113
113
  url?: pulumi.Input<string>;
114
114
  }
115
+ export interface ProjectOidcTokenConfig {
116
+ /**
117
+ * When true, Vercel issued OpenID Connect (OIDC) tokens will be available on the compute environments. See https://vercel.com/docs/security/secure-backend-access/oidc for more information.
118
+ */
119
+ enabled: pulumi.Input<boolean>;
120
+ }
121
+ export interface ProjectOptionsAllowlist {
122
+ /**
123
+ * The allowed paths for the OPTIONS Allowlist. Incoming requests will bypass Deployment Protection if they have the method `OPTIONS` and **start with** one of the path values.
124
+ */
125
+ paths: pulumi.Input<pulumi.Input<inputs.ProjectOptionsAllowlistPath>[]>;
126
+ }
127
+ export interface ProjectOptionsAllowlistPath {
128
+ /**
129
+ * The path prefix to compare with the incoming request path.
130
+ */
131
+ value: pulumi.Input<string>;
132
+ }
115
133
  export interface ProjectPasswordProtection {
116
134
  /**
117
135
  * The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, or `onlyPreviewDeployments`.
@@ -122,6 +140,16 @@ export interface ProjectPasswordProtection {
122
140
  */
123
141
  password: pulumi.Input<string>;
124
142
  }
143
+ export interface ProjectResourceConfig {
144
+ /**
145
+ * The amount of CPU available to your Serverless Functions. Should be one of 'standard_legacy' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
146
+ */
147
+ functionDefaultCpuType?: pulumi.Input<string>;
148
+ /**
149
+ * The default timeout for Serverless Functions.
150
+ */
151
+ functionDefaultTimeout?: pulumi.Input<number>;
152
+ }
125
153
  export interface ProjectTrustedIps {
126
154
  /**
127
155
  * The allowed IP addressses and CIDR ranges with optional descriptions.
package/types/output.d.ts CHANGED
@@ -111,12 +111,37 @@ export interface GetProjectGitRepositoryDeployHook {
111
111
  */
112
112
  url: string;
113
113
  }
114
+ export interface GetProjectOidcTokenConfig {
115
+ /**
116
+ * When true, Vercel issued OpenID Connect (OIDC) tokens will be available on the compute environments. See https://vercel.com/docs/security/secure-backend-access/oidc for more information.
117
+ */
118
+ enabled: boolean;
119
+ }
120
+ export interface GetProjectOptionsAllowlist {
121
+ /**
122
+ * The allowed paths for the OPTIONS Allowlist. Incoming requests will bypass Deployment Protection if they have the method `OPTIONS` and **start with** one of the path values.
123
+ */
124
+ paths: outputs.GetProjectOptionsAllowlistPath[];
125
+ }
126
+ export interface GetProjectOptionsAllowlistPath {
127
+ value: string;
128
+ }
114
129
  export interface GetProjectPasswordProtection {
115
130
  /**
116
131
  * The deployment environment that will be protected.
117
132
  */
118
133
  deploymentType: string;
119
134
  }
135
+ export interface GetProjectResourceConfig {
136
+ /**
137
+ * The amount of CPU available to your Serverless Functions. Should be one of 'standard_legacy' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
138
+ */
139
+ functionDefaultCpuType: string;
140
+ /**
141
+ * The default timeout for Serverless Functions.
142
+ */
143
+ functionDefaultTimeout: number;
144
+ }
120
145
  export interface GetProjectTrustedIps {
121
146
  /**
122
147
  * The allowed IP addressses and CIDR ranges with optional descriptions.
@@ -155,7 +180,7 @@ export interface ProjectEnvironment {
155
180
  */
156
181
  key: string;
157
182
  /**
158
- * Whether the Environment Variable is sensitive or not.
183
+ * Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
159
184
  */
160
185
  sensitive: boolean;
161
186
  /**
@@ -213,6 +238,24 @@ export interface ProjectGitRepositoryDeployHook {
213
238
  */
214
239
  url: string;
215
240
  }
241
+ export interface ProjectOidcTokenConfig {
242
+ /**
243
+ * When true, Vercel issued OpenID Connect (OIDC) tokens will be available on the compute environments. See https://vercel.com/docs/security/secure-backend-access/oidc for more information.
244
+ */
245
+ enabled: boolean;
246
+ }
247
+ export interface ProjectOptionsAllowlist {
248
+ /**
249
+ * The allowed paths for the OPTIONS Allowlist. Incoming requests will bypass Deployment Protection if they have the method `OPTIONS` and **start with** one of the path values.
250
+ */
251
+ paths: outputs.ProjectOptionsAllowlistPath[];
252
+ }
253
+ export interface ProjectOptionsAllowlistPath {
254
+ /**
255
+ * The path prefix to compare with the incoming request path.
256
+ */
257
+ value: string;
258
+ }
216
259
  export interface ProjectPasswordProtection {
217
260
  /**
218
261
  * The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, or `onlyPreviewDeployments`.
@@ -223,6 +266,16 @@ export interface ProjectPasswordProtection {
223
266
  */
224
267
  password: string;
225
268
  }
269
+ export interface ProjectResourceConfig {
270
+ /**
271
+ * The amount of CPU available to your Serverless Functions. Should be one of 'standard_legacy' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
272
+ */
273
+ functionDefaultCpuType: string;
274
+ /**
275
+ * The default timeout for Serverless Functions.
276
+ */
277
+ functionDefaultTimeout: number;
278
+ }
226
279
  export interface ProjectTrustedIps {
227
280
  /**
228
281
  * The allowed IP addressses and CIDR ranges with optional descriptions.