@pulumiverse/vercel 1.3.0 → 1.9.0

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 (63) hide show
  1. package/dnsRecord.d.ts +6 -4
  2. package/dnsRecord.js +6 -4
  3. package/dnsRecord.js.map +1 -1
  4. package/edgeConfig.d.ts +111 -0
  5. package/edgeConfig.js +102 -0
  6. package/edgeConfig.js.map +1 -0
  7. package/edgeConfigSchema.d.ts +85 -0
  8. package/edgeConfigSchema.js +79 -0
  9. package/edgeConfigSchema.js.map +1 -0
  10. package/edgeConfigToken.d.ts +145 -0
  11. package/edgeConfigToken.js +120 -0
  12. package/edgeConfigToken.js.map +1 -0
  13. package/getDeployment.d.ts +94 -0
  14. package/getDeployment.js +52 -0
  15. package/getDeployment.js.map +1 -0
  16. package/getEdgeConfig.d.ts +78 -0
  17. package/getEdgeConfig.js +52 -0
  18. package/getEdgeConfig.js.map +1 -0
  19. package/getEdgeConfigSchema.d.ts +74 -0
  20. package/getEdgeConfigSchema.js +48 -0
  21. package/getEdgeConfigSchema.js.map +1 -0
  22. package/getEdgeConfigToken.d.ts +104 -0
  23. package/getEdgeConfigToken.js +59 -0
  24. package/getEdgeConfigToken.js.map +1 -0
  25. package/getEndpointVerification.d.ts +62 -0
  26. package/getEndpointVerification.js +44 -0
  27. package/getEndpointVerification.js.map +1 -0
  28. package/getFile.d.ts +0 -4
  29. package/getFile.js +0 -4
  30. package/getFile.js.map +1 -1
  31. package/getLogDrain.d.ts +116 -0
  32. package/getLogDrain.js +57 -0
  33. package/getLogDrain.js.map +1 -0
  34. package/getProject.d.ts +48 -4
  35. package/getProject.js +0 -4
  36. package/getProject.js.map +1 -1
  37. package/getSharedEnvironmentVariable.d.ts +0 -4
  38. package/getSharedEnvironmentVariable.js +0 -4
  39. package/getSharedEnvironmentVariable.js.map +1 -1
  40. package/index.d.ts +33 -0
  41. package/index.js +44 -1
  42. package/index.js.map +1 -1
  43. package/logDrain.d.ts +206 -0
  44. package/logDrain.js +135 -0
  45. package/logDrain.js.map +1 -0
  46. package/package.json +1 -1
  47. package/project.d.ts +132 -2
  48. package/project.js +22 -2
  49. package/project.js.map +1 -1
  50. package/projectDomain.d.ts +0 -2
  51. package/projectDomain.js +0 -2
  52. package/projectDomain.js.map +1 -1
  53. package/projectEnvironmentVariable.d.ts +6 -4
  54. package/projectEnvironmentVariable.js +6 -4
  55. package/projectEnvironmentVariable.js.map +1 -1
  56. package/sharedEnvironmentVariable.d.ts +1 -3
  57. package/sharedEnvironmentVariable.js +1 -3
  58. package/sharedEnvironmentVariable.js.map +1 -1
  59. package/types/input.d.ts +33 -1
  60. package/types/output.d.ts +43 -4
  61. package/webhook.d.ts +127 -0
  62. package/webhook.js +100 -0
  63. package/webhook.js.map +1 -0
package/dnsRecord.d.ts CHANGED
@@ -12,7 +12,6 @@ import * as outputs from "./types/output";
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
- * <!--Start PulumiCodeChooser -->
16
15
  * ```typescript
17
16
  * import * as pulumi from "@pulumi/pulumi";
18
17
  * import * as vercel from "@pulumiverse/vercel";
@@ -72,7 +71,6 @@ import * as outputs from "./types/output";
72
71
  * value: "some text value",
73
72
  * });
74
73
  * ```
75
- * <!--End PulumiCodeChooser -->
76
74
  *
77
75
  * ## Import
78
76
  *
@@ -80,7 +78,9 @@ import * as outputs from "./types/output";
80
78
  *
81
79
  * the provider, simply use the record id.
82
80
  *
83
- * - record_id is hard to find, but can be taken from the network tab, inside developer tools, on the domains page.
81
+ * - record_id can be taken from the network tab inside developer tools, while you are on the domains page,
82
+ *
83
+ * or can be queried from the Vercel API directly (https://vercel.com/docs/rest-api/endpoints/dns#list-existing-dns-records).
84
84
  *
85
85
  * ```sh
86
86
  * $ pulumi import vercel:index/dnsRecord:DnsRecord example rec_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -90,7 +90,9 @@ import * as outputs from "./types/output";
90
90
  *
91
91
  * - team_id can be found in the team `settings` tab in the Vercel UI.
92
92
  *
93
- * - record_id is hard to find, but can be taken from the network tab, inside developer tools, on the domains page.
93
+ * - record_id can be taken from the network tab inside developer tools, while you are on the domains page,
94
+ *
95
+ * or can be queried from the Vercel API directly (https://vercel.com/docs/rest-api/endpoints/dns#list-existing-dns-records).
94
96
  *
95
97
  * ```sh
96
98
  * $ pulumi import vercel:index/dnsRecord:DnsRecord example team_xxxxxxxxxxxxxxxxxxxxxxxx/rec_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
package/dnsRecord.js CHANGED
@@ -16,7 +16,6 @@ const utilities = require("./utilities");
16
16
  *
17
17
  * ## Example Usage
18
18
  *
19
- * <!--Start PulumiCodeChooser -->
20
19
  * ```typescript
21
20
  * import * as pulumi from "@pulumi/pulumi";
22
21
  * import * as vercel from "@pulumiverse/vercel";
@@ -76,7 +75,6 @@ const utilities = require("./utilities");
76
75
  * value: "some text value",
77
76
  * });
78
77
  * ```
79
- * <!--End PulumiCodeChooser -->
80
78
  *
81
79
  * ## Import
82
80
  *
@@ -84,7 +82,9 @@ const utilities = require("./utilities");
84
82
  *
85
83
  * the provider, simply use the record id.
86
84
  *
87
- * - record_id is hard to find, but can be taken from the network tab, inside developer tools, on the domains page.
85
+ * - record_id can be taken from the network tab inside developer tools, while you are on the domains page,
86
+ *
87
+ * or can be queried from the Vercel API directly (https://vercel.com/docs/rest-api/endpoints/dns#list-existing-dns-records).
88
88
  *
89
89
  * ```sh
90
90
  * $ pulumi import vercel:index/dnsRecord:DnsRecord example rec_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -94,7 +94,9 @@ const utilities = require("./utilities");
94
94
  *
95
95
  * - team_id can be found in the team `settings` tab in the Vercel UI.
96
96
  *
97
- * - record_id is hard to find, but can be taken from the network tab, inside developer tools, on the domains page.
97
+ * - record_id can be taken from the network tab inside developer tools, while you are on the domains page,
98
+ *
99
+ * or can be queried from the Vercel API directly (https://vercel.com/docs/rest-api/endpoints/dns#list-existing-dns-records).
98
100
  *
99
101
  * ```sh
100
102
  * $ pulumi import vercel:index/dnsRecord:DnsRecord example team_xxxxxxxxxxxxxxxxxxxxxxxx/rec_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
package/dnsRecord.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"dnsRecord.js","sourceRoot":"","sources":["../dnsRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8FG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAsDD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,K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,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAlHL,8BAmHC;AArGG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,111 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides an Edge Config resource.
4
+ *
5
+ * An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as vercel from "@pulumiverse/vercel";
12
+ *
13
+ * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
14
+ * const exampleProject = new vercel.Project("exampleProject", {});
15
+ * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("exampleEdgeConfigToken", {
16
+ * edgeConfigId: exampleEdgeConfig.id,
17
+ * label: "example token",
18
+ * });
19
+ * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("exampleProjectEnvironmentVariable", {
20
+ * projectId: exampleProject.id,
21
+ * targets: [
22
+ * "production",
23
+ * "preview",
24
+ * "development",
25
+ * ],
26
+ * key: "EDGE_CONFIG",
27
+ * value: exampleEdgeConfigToken.connectionString,
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * If importing into a personal account, or with a team configured on
34
+ *
35
+ * the provider, simply use the edge config id.
36
+ *
37
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
38
+ *
39
+ * ```sh
40
+ * $ pulumi import vercel:index/edgeConfig:EdgeConfig example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
41
+ * ```
42
+ *
43
+ * Alternatively, you can import via the team_id and edge_config_id.
44
+ *
45
+ * - team_id can be found in the team `settings` tab in the Vercel UI.
46
+ *
47
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
48
+ *
49
+ * ```sh
50
+ * $ pulumi import vercel:index/edgeConfig:EdgeConfig example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
51
+ * ```
52
+ */
53
+ export declare class EdgeConfig extends pulumi.CustomResource {
54
+ /**
55
+ * Get an existing EdgeConfig resource's state with the given name, ID, and optional extra
56
+ * properties used to qualify the lookup.
57
+ *
58
+ * @param name The _unique_ name of the resulting resource.
59
+ * @param id The _unique_ provider ID of the resource to lookup.
60
+ * @param state Any extra arguments used during the lookup.
61
+ * @param opts Optional settings to control the behavior of the CustomResource.
62
+ */
63
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EdgeConfigState, opts?: pulumi.CustomResourceOptions): EdgeConfig;
64
+ /**
65
+ * Returns true if the given object is an instance of EdgeConfig. This is designed to work even
66
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
+ */
68
+ static isInstance(obj: any): obj is EdgeConfig;
69
+ /**
70
+ * The name/slug of the Edge Config.
71
+ */
72
+ readonly name: pulumi.Output<string>;
73
+ /**
74
+ * The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
75
+ */
76
+ readonly teamId: pulumi.Output<string>;
77
+ /**
78
+ * Create a EdgeConfig resource with the given unique name, arguments, and options.
79
+ *
80
+ * @param name The _unique_ name of the resource.
81
+ * @param args The arguments to use to populate this resource's properties.
82
+ * @param opts A bag of options that control this resource's behavior.
83
+ */
84
+ constructor(name: string, args?: EdgeConfigArgs, opts?: pulumi.CustomResourceOptions);
85
+ }
86
+ /**
87
+ * Input properties used for looking up and filtering EdgeConfig resources.
88
+ */
89
+ export interface EdgeConfigState {
90
+ /**
91
+ * The name/slug of the Edge Config.
92
+ */
93
+ name?: pulumi.Input<string>;
94
+ /**
95
+ * The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
96
+ */
97
+ teamId?: pulumi.Input<string>;
98
+ }
99
+ /**
100
+ * The set of arguments for constructing a EdgeConfig resource.
101
+ */
102
+ export interface EdgeConfigArgs {
103
+ /**
104
+ * The name/slug of the Edge Config.
105
+ */
106
+ name?: pulumi.Input<string>;
107
+ /**
108
+ * The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
109
+ */
110
+ teamId?: pulumi.Input<string>;
111
+ }
package/edgeConfig.js ADDED
@@ -0,0 +1,102 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.EdgeConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides an Edge Config resource.
10
+ *
11
+ * An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as vercel from "@pulumiverse/vercel";
18
+ *
19
+ * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
20
+ * const exampleProject = new vercel.Project("exampleProject", {});
21
+ * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("exampleEdgeConfigToken", {
22
+ * edgeConfigId: exampleEdgeConfig.id,
23
+ * label: "example token",
24
+ * });
25
+ * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("exampleProjectEnvironmentVariable", {
26
+ * projectId: exampleProject.id,
27
+ * targets: [
28
+ * "production",
29
+ * "preview",
30
+ * "development",
31
+ * ],
32
+ * key: "EDGE_CONFIG",
33
+ * value: exampleEdgeConfigToken.connectionString,
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * If importing into a personal account, or with a team configured on
40
+ *
41
+ * the provider, simply use the edge config id.
42
+ *
43
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
44
+ *
45
+ * ```sh
46
+ * $ pulumi import vercel:index/edgeConfig:EdgeConfig example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
47
+ * ```
48
+ *
49
+ * Alternatively, you can import via the team_id and edge_config_id.
50
+ *
51
+ * - team_id can be found in the team `settings` tab in the Vercel UI.
52
+ *
53
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
54
+ *
55
+ * ```sh
56
+ * $ pulumi import vercel:index/edgeConfig:EdgeConfig example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
57
+ * ```
58
+ */
59
+ class EdgeConfig extends pulumi.CustomResource {
60
+ /**
61
+ * Get an existing EdgeConfig resource's state with the given name, ID, and optional extra
62
+ * properties used to qualify the lookup.
63
+ *
64
+ * @param name The _unique_ name of the resulting resource.
65
+ * @param id The _unique_ provider ID of the resource to lookup.
66
+ * @param state Any extra arguments used during the lookup.
67
+ * @param opts Optional settings to control the behavior of the CustomResource.
68
+ */
69
+ static get(name, id, state, opts) {
70
+ return new EdgeConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
71
+ }
72
+ /**
73
+ * Returns true if the given object is an instance of EdgeConfig. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj) {
77
+ if (obj === undefined || obj === null) {
78
+ return false;
79
+ }
80
+ return obj['__pulumiType'] === EdgeConfig.__pulumiType;
81
+ }
82
+ constructor(name, argsOrState, opts) {
83
+ let resourceInputs = {};
84
+ opts = opts || {};
85
+ if (opts.id) {
86
+ const state = argsOrState;
87
+ resourceInputs["name"] = state ? state.name : undefined;
88
+ resourceInputs["teamId"] = state ? state.teamId : undefined;
89
+ }
90
+ else {
91
+ const args = argsOrState;
92
+ resourceInputs["name"] = args ? args.name : undefined;
93
+ resourceInputs["teamId"] = args ? args.teamId : undefined;
94
+ }
95
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
96
+ super(EdgeConfig.__pulumiType, name, resourceInputs, opts);
97
+ }
98
+ }
99
+ exports.EdgeConfig = EdgeConfig;
100
+ /** @internal */
101
+ EdgeConfig.__pulumiType = 'vercel:index/edgeConfig:EdgeConfig';
102
+ //# sourceMappingURL=edgeConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edgeConfig.js","sourceRoot":"","sources":["../edgeConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,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,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA3DL,gCA4DC;AA9CG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
@@ -0,0 +1,85 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * An Edge Config Schema provides an existing Edge Config with a JSON schema. Use schema protection to prevent unexpected updates that may cause bugs or downtime.
4
+ *
5
+ * ## Import
6
+ *
7
+ * If importing into a personal account, or with a team configured on
8
+ *
9
+ * the provider, simply use the edge config id.
10
+ *
11
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import vercel:index/edgeConfigSchema:EdgeConfigSchema example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
15
+ * ```
16
+ *
17
+ * Alternatively, you can import via the team_id and edge_config_id.
18
+ *
19
+ * - team_id can be found in the team `settings` tab in the Vercel UI.
20
+ *
21
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
22
+ *
23
+ * ```sh
24
+ * $ pulumi import vercel:index/edgeConfigSchema:EdgeConfigSchema example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
25
+ * ```
26
+ */
27
+ export declare class EdgeConfigSchema extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing EdgeConfigSchema resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EdgeConfigSchemaState, opts?: pulumi.CustomResourceOptions): EdgeConfigSchema;
38
+ /**
39
+ * Returns true if the given object is an instance of EdgeConfigSchema. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is EdgeConfigSchema;
43
+ /**
44
+ * A JSON schema that will be used to validate data in the Edge Config.
45
+ */
46
+ readonly definition: pulumi.Output<string>;
47
+ /**
48
+ * The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
49
+ */
50
+ readonly teamId: pulumi.Output<string>;
51
+ /**
52
+ * Create a EdgeConfigSchema resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args: EdgeConfigSchemaArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * Input properties used for looking up and filtering EdgeConfigSchema resources.
62
+ */
63
+ export interface EdgeConfigSchemaState {
64
+ /**
65
+ * A JSON schema that will be used to validate data in the Edge Config.
66
+ */
67
+ definition?: pulumi.Input<string>;
68
+ /**
69
+ * The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
70
+ */
71
+ teamId?: pulumi.Input<string>;
72
+ }
73
+ /**
74
+ * The set of arguments for constructing a EdgeConfigSchema resource.
75
+ */
76
+ export interface EdgeConfigSchemaArgs {
77
+ /**
78
+ * A JSON schema that will be used to validate data in the Edge Config.
79
+ */
80
+ definition: pulumi.Input<string>;
81
+ /**
82
+ * The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
83
+ */
84
+ teamId?: pulumi.Input<string>;
85
+ }
@@ -0,0 +1,79 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.EdgeConfigSchema = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * An Edge Config Schema provides an existing Edge Config with a JSON schema. Use schema protection to prevent unexpected updates that may cause bugs or downtime.
10
+ *
11
+ * ## Import
12
+ *
13
+ * If importing into a personal account, or with a team configured on
14
+ *
15
+ * the provider, simply use the edge config id.
16
+ *
17
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import vercel:index/edgeConfigSchema:EdgeConfigSchema example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
21
+ * ```
22
+ *
23
+ * Alternatively, you can import via the team_id and edge_config_id.
24
+ *
25
+ * - team_id can be found in the team `settings` tab in the Vercel UI.
26
+ *
27
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
28
+ *
29
+ * ```sh
30
+ * $ pulumi import vercel:index/edgeConfigSchema:EdgeConfigSchema example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
31
+ * ```
32
+ */
33
+ class EdgeConfigSchema extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing EdgeConfigSchema resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, state, opts) {
44
+ return new EdgeConfigSchema(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of EdgeConfigSchema. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === EdgeConfigSchema.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["definition"] = state ? state.definition : undefined;
62
+ resourceInputs["teamId"] = state ? state.teamId : undefined;
63
+ }
64
+ else {
65
+ const args = argsOrState;
66
+ if ((!args || args.definition === undefined) && !opts.urn) {
67
+ throw new Error("Missing required property 'definition'");
68
+ }
69
+ resourceInputs["definition"] = args ? args.definition : undefined;
70
+ resourceInputs["teamId"] = args ? args.teamId : undefined;
71
+ }
72
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
73
+ super(EdgeConfigSchema.__pulumiType, name, resourceInputs, opts);
74
+ }
75
+ }
76
+ exports.EdgeConfigSchema = EdgeConfigSchema;
77
+ /** @internal */
78
+ EdgeConfigSchema.__pulumiType = 'vercel:index/edgeConfigSchema:EdgeConfigSchema';
79
+ //# sourceMappingURL=edgeConfigSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edgeConfigSchema.js","sourceRoot":"","sources":["../edgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,G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AgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
@@ -0,0 +1,145 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides an Edge Config Token resource.
4
+ *
5
+ * An Edge Config is a global data store that enables experimentation with feature flags, A/B testing, critical redirects, and more.
6
+ *
7
+ * An Edge Config token is used to authenticate against an Edge Config's endpoint.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as vercel from "@pulumiverse/vercel";
14
+ *
15
+ * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
16
+ * const exampleProject = new vercel.Project("exampleProject", {});
17
+ * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("exampleEdgeConfigToken", {
18
+ * edgeConfigId: exampleEdgeConfig.id,
19
+ * label: "example token",
20
+ * });
21
+ * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("exampleProjectEnvironmentVariable", {
22
+ * projectId: exampleProject.id,
23
+ * targets: [
24
+ * "production",
25
+ * "preview",
26
+ * "development",
27
+ * ],
28
+ * key: "EDGE_CONFIG",
29
+ * value: exampleEdgeConfigToken.connectionString,
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Import
34
+ *
35
+ * If importing into a personal account, or with a team configured on
36
+ *
37
+ * the provider, simply use the edge config id and token value.
38
+ *
39
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
40
+ *
41
+ * - token can be found in the Vercel UI under Storage, Edge Config, the specific Edge Config, Tokens.
42
+ *
43
+ * ```sh
44
+ * $ pulumi import vercel:index/edgeConfigToken:EdgeConfigToken example ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
45
+ * ```
46
+ *
47
+ * Alternatively, you can import via the team_id and edge_config_id.
48
+ *
49
+ * - team_id can be found in the team `settings` tab in the Vercel UI.
50
+ *
51
+ * - edge_config_id can be found by navigating to the Edge Config in the Vercel UI. It should begin with `ecfg_`.
52
+ *
53
+ * - token can be found in the Vercel UI under Storage, Edge Config, the specific Edge Config, Tokens.
54
+ *
55
+ * ```sh
56
+ * $ pulumi import vercel:index/edgeConfigToken:EdgeConfigToken example team_xxxxxxxxxxxxxxxxxxxxxxxx/ecfg_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
57
+ * ```
58
+ */
59
+ export declare class EdgeConfigToken extends pulumi.CustomResource {
60
+ /**
61
+ * Get an existing EdgeConfigToken resource's state with the given name, ID, and optional extra
62
+ * properties used to qualify the lookup.
63
+ *
64
+ * @param name The _unique_ name of the resulting resource.
65
+ * @param id The _unique_ provider ID of the resource to lookup.
66
+ * @param state Any extra arguments used during the lookup.
67
+ * @param opts Optional settings to control the behavior of the CustomResource.
68
+ */
69
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EdgeConfigTokenState, opts?: pulumi.CustomResourceOptions): EdgeConfigToken;
70
+ /**
71
+ * Returns true if the given object is an instance of EdgeConfigToken. This is designed to work even
72
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
73
+ */
74
+ static isInstance(obj: any): obj is EdgeConfigToken;
75
+ /**
76
+ * A connection string is a URL that connects a project to an Edge Config. The variable can be called anything, but our Edge Config client SDK will search for process.env.EDGE_CONFIG by default.
77
+ */
78
+ readonly connectionString: pulumi.Output<string>;
79
+ /**
80
+ * The ID of the Edge Config store.
81
+ */
82
+ readonly edgeConfigId: pulumi.Output<string>;
83
+ /**
84
+ * The label of the Edge Config Token.
85
+ */
86
+ readonly label: pulumi.Output<string>;
87
+ /**
88
+ * The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
89
+ */
90
+ readonly teamId: pulumi.Output<string>;
91
+ /**
92
+ * A read access token used for authenticating against the Edge Config's endpoint for high volume, low-latency requests.
93
+ */
94
+ readonly token: pulumi.Output<string>;
95
+ /**
96
+ * Create a EdgeConfigToken resource with the given unique name, arguments, and options.
97
+ *
98
+ * @param name The _unique_ name of the resource.
99
+ * @param args The arguments to use to populate this resource's properties.
100
+ * @param opts A bag of options that control this resource's behavior.
101
+ */
102
+ constructor(name: string, args: EdgeConfigTokenArgs, opts?: pulumi.CustomResourceOptions);
103
+ }
104
+ /**
105
+ * Input properties used for looking up and filtering EdgeConfigToken resources.
106
+ */
107
+ export interface EdgeConfigTokenState {
108
+ /**
109
+ * A connection string is a URL that connects a project to an Edge Config. The variable can be called anything, but our Edge Config client SDK will search for process.env.EDGE_CONFIG by default.
110
+ */
111
+ connectionString?: pulumi.Input<string>;
112
+ /**
113
+ * The ID of the Edge Config store.
114
+ */
115
+ edgeConfigId?: pulumi.Input<string>;
116
+ /**
117
+ * The label of the Edge Config Token.
118
+ */
119
+ label?: pulumi.Input<string>;
120
+ /**
121
+ * The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
122
+ */
123
+ teamId?: pulumi.Input<string>;
124
+ /**
125
+ * A read access token used for authenticating against the Edge Config's endpoint for high volume, low-latency requests.
126
+ */
127
+ token?: pulumi.Input<string>;
128
+ }
129
+ /**
130
+ * The set of arguments for constructing a EdgeConfigToken resource.
131
+ */
132
+ export interface EdgeConfigTokenArgs {
133
+ /**
134
+ * The ID of the Edge Config store.
135
+ */
136
+ edgeConfigId: pulumi.Input<string>;
137
+ /**
138
+ * The label of the Edge Config Token.
139
+ */
140
+ label: pulumi.Input<string>;
141
+ /**
142
+ * The ID of the team the Edge Config should exist under. Required when configuring a team resource if a default team has not been set in the provider.
143
+ */
144
+ teamId?: pulumi.Input<string>;
145
+ }