@pulumi/cloudflare 6.7.0 → 6.8.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.
- package/accessMutualTlsCertificate.d.ts +2 -0
- package/accessMutualTlsCertificate.js +2 -0
- package/accessMutualTlsCertificate.js.map +1 -1
- package/accessPolicy.d.ts +1 -1
- package/accessPolicy.js +0 -3
- package/accessPolicy.js.map +1 -1
- package/account.d.ts +2 -5
- package/account.js +0 -3
- package/account.js.map +1 -1
- package/argoTieredCaching.d.ts +5 -5
- package/botManagement.d.ts +12 -0
- package/botManagement.js +2 -0
- package/botManagement.js.map +1 -1
- package/getAccount.d.ts +4 -0
- package/getAccount.js.map +1 -1
- package/getAccountMember.d.ts +4 -0
- package/getAccountMember.js.map +1 -1
- package/getArgoTieredCaching.d.ts +6 -6
- package/getBotManagement.d.ts +4 -0
- package/getBotManagement.js.map +1 -1
- package/getListItems.d.ts +14 -0
- package/getListItems.js +4 -0
- package/getListItems.js.map +1 -1
- package/getNotificationPolicyWebhooks.d.ts +1 -1
- package/getRegionalTieredCache.d.ts +6 -6
- package/getRuleset.d.ts +33 -13
- package/getRuleset.js +6 -6
- package/getRuleset.js.map +1 -1
- package/getRulesets.d.ts +18 -14
- package/getRulesets.js +2 -4
- package/getRulesets.js.map +1 -1
- package/getTieredCache.d.ts +6 -6
- package/getWorker.d.ts +105 -0
- package/getWorker.js +50 -0
- package/getWorker.js.map +1 -0
- package/getWorkerVersion.d.ts +151 -0
- package/getWorkerVersion.js +58 -0
- package/getWorkerVersion.js.map +1 -0
- package/getWorkerVersions.d.ts +89 -0
- package/getWorkerVersions.js +52 -0
- package/getWorkerVersions.js.map +1 -0
- package/getWorkers.d.ts +75 -0
- package/getWorkers.js +48 -0
- package/getWorkers.js.map +1 -0
- package/getWorkersKvNamespace.d.ts +0 -4
- package/getWorkersKvNamespace.js.map +1 -1
- package/getZeroTrustDlpCustomEntries.d.ts +66 -0
- package/getZeroTrustDlpCustomEntries.js +48 -0
- package/getZeroTrustDlpCustomEntries.js.map +1 -0
- package/getZeroTrustDlpCustomEntry.d.ts +75 -0
- package/getZeroTrustDlpCustomEntry.js +50 -0
- package/getZeroTrustDlpCustomEntry.js.map +1 -0
- package/getZeroTrustDlpEntry.d.ts +1 -0
- package/getZeroTrustDlpEntry.js.map +1 -1
- package/getZeroTrustDlpIntegrationEntries.d.ts +66 -0
- package/getZeroTrustDlpIntegrationEntries.js +48 -0
- package/getZeroTrustDlpIntegrationEntries.js.map +1 -0
- package/getZeroTrustDlpIntegrationEntry.d.ts +75 -0
- package/getZeroTrustDlpIntegrationEntry.js +50 -0
- package/getZeroTrustDlpIntegrationEntry.js.map +1 -0
- package/getZeroTrustDlpPredefinedEntries.d.ts +66 -0
- package/getZeroTrustDlpPredefinedEntries.js +48 -0
- package/getZeroTrustDlpPredefinedEntries.js.map +1 -0
- package/getZeroTrustDlpPredefinedEntry.d.ts +75 -0
- package/getZeroTrustDlpPredefinedEntry.js +50 -0
- package/getZeroTrustDlpPredefinedEntry.js.map +1 -0
- package/getZeroTrustGatewayAppTypesList.d.ts +3 -3
- package/getZeroTrustGatewayCategoriesList.d.ts +3 -3
- package/getZeroTrustTunnelCloudflaredVirtualNetworks.d.ts +14 -0
- package/getZeroTrustTunnelCloudflaredVirtualNetworks.js +4 -0
- package/getZeroTrustTunnelCloudflaredVirtualNetworks.js.map +1 -1
- package/getZone.d.ts +5 -2
- package/getZone.js.map +1 -1
- package/getZoneCacheReserve.d.ts +6 -6
- package/getZoneCacheVariants.d.ts +8 -7
- package/getZoneCacheVariants.js.map +1 -1
- package/index.d.ts +36 -0
- package/index.js +48 -8
- package/index.js.map +1 -1
- package/magicWanGreTunnel.d.ts +0 -26
- package/magicWanGreTunnel.js +0 -26
- package/magicWanGreTunnel.js.map +1 -1
- package/magicWanIpsecTunnel.d.ts +0 -26
- package/magicWanIpsecTunnel.js +0 -26
- package/magicWanIpsecTunnel.js.map +1 -1
- package/notificationPolicyWebhooks.d.ts +2 -2
- package/package.json +2 -2
- package/regionalTieredCache.d.ts +5 -5
- package/ruleset.d.ts +19 -0
- package/ruleset.js +19 -0
- package/ruleset.js.map +1 -1
- package/teamsAccount.d.ts +3 -3
- package/teamsRule.d.ts +11 -11
- package/tieredCache.d.ts +8 -8
- package/types/input.d.ts +477 -52
- package/types/output.d.ts +2918 -1266
- package/worker.d.ts +147 -0
- package/worker.js +80 -0
- package/worker.js.map +1 -0
- package/workerScript.d.ts +75 -49
- package/workerScript.js +11 -1
- package/workerScript.js.map +1 -1
- package/workerVersion.d.ts +236 -0
- package/workerVersion.js +94 -0
- package/workerVersion.js.map +1 -0
- package/workersKvNamespace.d.ts +0 -8
- package/workersKvNamespace.js +0 -2
- package/workersKvNamespace.js.map +1 -1
- package/workersScript.d.ts +75 -49
- package/workersScript.js +11 -1
- package/workersScript.js.map +1 -1
- package/zeroTrustAccessMtlsCertificate.d.ts +2 -0
- package/zeroTrustAccessMtlsCertificate.js +2 -0
- package/zeroTrustAccessMtlsCertificate.js.map +1 -1
- package/zeroTrustAccessPolicy.d.ts +1 -1
- package/zeroTrustAccessPolicy.js +0 -3
- package/zeroTrustAccessPolicy.js.map +1 -1
- package/zeroTrustDeviceCustomProfile.d.ts +3 -3
- package/zeroTrustDlpCustomEntry.d.ts +11 -7
- package/zeroTrustDlpCustomEntry.js +9 -1
- package/zeroTrustDlpCustomEntry.js.map +1 -1
- package/zeroTrustDlpEntry.d.ts +2 -0
- package/zeroTrustDlpEntry.js +2 -0
- package/zeroTrustDlpEntry.js.map +1 -1
- package/zeroTrustDlpIntegrationEntry.d.ts +38 -0
- package/zeroTrustDlpIntegrationEntry.js +20 -0
- package/zeroTrustDlpIntegrationEntry.js.map +1 -1
- package/zeroTrustDlpPredefinedEntry.d.ts +38 -0
- package/zeroTrustDlpPredefinedEntry.js +22 -0
- package/zeroTrustDlpPredefinedEntry.js.map +1 -1
- package/zeroTrustGatewayPolicy.d.ts +11 -11
- package/zeroTrustGatewaySettings.d.ts +3 -3
- package/zone.d.ts +10 -4
- package/zone.js.map +1 -1
- package/zoneCacheReserve.d.ts +5 -5
- package/zoneCacheVariants.d.ts +5 -5
package/worker.d.ts
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import cloudflare:index/worker:Worker example '<account_id>/<worker_id>'
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Worker extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Worker resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkerState, opts?: pulumi.CustomResourceOptions): Worker;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Worker. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Worker;
|
|
29
|
+
/**
|
|
30
|
+
* Identifier.
|
|
31
|
+
*/
|
|
32
|
+
readonly accountId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* When the Worker was created.
|
|
35
|
+
*/
|
|
36
|
+
readonly createdOn: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Whether logpush is enabled for the Worker.
|
|
39
|
+
*/
|
|
40
|
+
readonly logpush: pulumi.Output<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Name of the Worker.
|
|
43
|
+
*/
|
|
44
|
+
readonly name: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Observability settings for the Worker.
|
|
47
|
+
*/
|
|
48
|
+
readonly observability: pulumi.Output<outputs.WorkerObservability>;
|
|
49
|
+
/**
|
|
50
|
+
* Subdomain settings for the Worker.
|
|
51
|
+
*/
|
|
52
|
+
readonly subdomain: pulumi.Output<outputs.WorkerSubdomain>;
|
|
53
|
+
/**
|
|
54
|
+
* Tags associated with the Worker.
|
|
55
|
+
*/
|
|
56
|
+
readonly tags: pulumi.Output<string[]>;
|
|
57
|
+
/**
|
|
58
|
+
* Other Workers that should consume logs from the Worker.
|
|
59
|
+
*/
|
|
60
|
+
readonly tailConsumers: pulumi.Output<outputs.WorkerTailConsumer[]>;
|
|
61
|
+
/**
|
|
62
|
+
* When the Worker was most recently updated.
|
|
63
|
+
*/
|
|
64
|
+
readonly updatedOn: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a Worker resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: WorkerArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering Worker resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface WorkerState {
|
|
78
|
+
/**
|
|
79
|
+
* Identifier.
|
|
80
|
+
*/
|
|
81
|
+
accountId?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* When the Worker was created.
|
|
84
|
+
*/
|
|
85
|
+
createdOn?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Whether logpush is enabled for the Worker.
|
|
88
|
+
*/
|
|
89
|
+
logpush?: pulumi.Input<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* Name of the Worker.
|
|
92
|
+
*/
|
|
93
|
+
name?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Observability settings for the Worker.
|
|
96
|
+
*/
|
|
97
|
+
observability?: pulumi.Input<inputs.WorkerObservability>;
|
|
98
|
+
/**
|
|
99
|
+
* Subdomain settings for the Worker.
|
|
100
|
+
*/
|
|
101
|
+
subdomain?: pulumi.Input<inputs.WorkerSubdomain>;
|
|
102
|
+
/**
|
|
103
|
+
* Tags associated with the Worker.
|
|
104
|
+
*/
|
|
105
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Other Workers that should consume logs from the Worker.
|
|
108
|
+
*/
|
|
109
|
+
tailConsumers?: pulumi.Input<pulumi.Input<inputs.WorkerTailConsumer>[]>;
|
|
110
|
+
/**
|
|
111
|
+
* When the Worker was most recently updated.
|
|
112
|
+
*/
|
|
113
|
+
updatedOn?: pulumi.Input<string>;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* The set of arguments for constructing a Worker resource.
|
|
117
|
+
*/
|
|
118
|
+
export interface WorkerArgs {
|
|
119
|
+
/**
|
|
120
|
+
* Identifier.
|
|
121
|
+
*/
|
|
122
|
+
accountId: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Whether logpush is enabled for the Worker.
|
|
125
|
+
*/
|
|
126
|
+
logpush?: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* Name of the Worker.
|
|
129
|
+
*/
|
|
130
|
+
name: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Observability settings for the Worker.
|
|
133
|
+
*/
|
|
134
|
+
observability?: pulumi.Input<inputs.WorkerObservability>;
|
|
135
|
+
/**
|
|
136
|
+
* Subdomain settings for the Worker.
|
|
137
|
+
*/
|
|
138
|
+
subdomain?: pulumi.Input<inputs.WorkerSubdomain>;
|
|
139
|
+
/**
|
|
140
|
+
* Tags associated with the Worker.
|
|
141
|
+
*/
|
|
142
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
143
|
+
/**
|
|
144
|
+
* Other Workers that should consume logs from the Worker.
|
|
145
|
+
*/
|
|
146
|
+
tailConsumers?: pulumi.Input<pulumi.Input<inputs.WorkerTailConsumer>[]>;
|
|
147
|
+
}
|
package/worker.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.Worker = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import cloudflare:index/worker:Worker example '<account_id>/<worker_id>'
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Worker extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Worker resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Worker(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Worker. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Worker.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
46
|
+
resourceInputs["createdOn"] = state ? state.createdOn : undefined;
|
|
47
|
+
resourceInputs["logpush"] = state ? state.logpush : undefined;
|
|
48
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
49
|
+
resourceInputs["observability"] = state ? state.observability : undefined;
|
|
50
|
+
resourceInputs["subdomain"] = state ? state.subdomain : undefined;
|
|
51
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
52
|
+
resourceInputs["tailConsumers"] = state ? state.tailConsumers : undefined;
|
|
53
|
+
resourceInputs["updatedOn"] = state ? state.updatedOn : undefined;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
const args = argsOrState;
|
|
57
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'accountId'");
|
|
59
|
+
}
|
|
60
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'name'");
|
|
62
|
+
}
|
|
63
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
64
|
+
resourceInputs["logpush"] = args ? args.logpush : undefined;
|
|
65
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
66
|
+
resourceInputs["observability"] = args ? args.observability : undefined;
|
|
67
|
+
resourceInputs["subdomain"] = args ? args.subdomain : undefined;
|
|
68
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
69
|
+
resourceInputs["tailConsumers"] = args ? args.tailConsumers : undefined;
|
|
70
|
+
resourceInputs["createdOn"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["updatedOn"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(Worker.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.Worker = Worker;
|
|
78
|
+
/** @internal */
|
|
79
|
+
Worker.__pulumiType = 'cloudflare:index/worker:Worker';
|
|
80
|
+
//# sourceMappingURL=worker.js.map
|
package/worker.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker.js","sourceRoot":"","sources":["../worker.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MA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3GL,wBA4GC;AA9FG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
|
package/workerScript.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* !> This resource is no longer recommended. Please use the `
|
|
5
|
+
* !> This resource is no longer recommended. Please use the `cloudflare.Worker`, `cloudflare.WorkerVersion`, and `cloudflare.WorkersDeployment` resources instead. See how to use them in the [developer documentation](https://developers.cloudflare.com/workers/platform/infrastructure-as-code/).
|
|
6
6
|
*
|
|
7
7
|
* ## Import
|
|
8
8
|
*
|
|
@@ -33,27 +33,23 @@ export declare class WorkerScript extends pulumi.CustomResource {
|
|
|
33
33
|
*/
|
|
34
34
|
readonly accountId: pulumi.Output<string>;
|
|
35
35
|
/**
|
|
36
|
-
* Configuration for assets within a Worker
|
|
36
|
+
* Configuration for assets within a Worker.
|
|
37
37
|
*/
|
|
38
38
|
readonly assets: pulumi.Output<outputs.WorkerScriptAssets | undefined>;
|
|
39
39
|
/**
|
|
40
|
-
* List of bindings attached to a Worker. You can find more about bindings on our docs:
|
|
41
|
-
* https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
40
|
+
* List of bindings attached to a Worker. You can find more about bindings on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
42
41
|
*/
|
|
43
42
|
readonly bindings: pulumi.Output<outputs.WorkerScriptBinding[]>;
|
|
44
43
|
/**
|
|
45
|
-
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch`
|
|
46
|
-
* event). Indicates a `service worker syntax` Worker.
|
|
44
|
+
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch` event). Indicates a `service worker syntax` Worker.
|
|
47
45
|
*/
|
|
48
46
|
readonly bodyPart: pulumi.Output<string | undefined>;
|
|
49
47
|
/**
|
|
50
|
-
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date
|
|
51
|
-
* will not affect this Worker.
|
|
48
|
+
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
|
|
52
49
|
*/
|
|
53
50
|
readonly compatibilityDate: pulumi.Output<string>;
|
|
54
51
|
/**
|
|
55
|
-
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out
|
|
56
|
-
* of specific changes not included in a `compatibilityDate`.
|
|
52
|
+
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a `compatibilityDate`.
|
|
57
53
|
*/
|
|
58
54
|
readonly compatibilityFlags: pulumi.Output<string[]>;
|
|
59
55
|
/**
|
|
@@ -61,13 +57,11 @@ export declare class WorkerScript extends pulumi.CustomResource {
|
|
|
61
57
|
*/
|
|
62
58
|
readonly content: pulumi.Output<string | undefined>;
|
|
63
59
|
/**
|
|
64
|
-
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile`
|
|
65
|
-
* must be specified. Must be paired with `contentSha256`.
|
|
60
|
+
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile` must be specified. Must be paired with `contentSha256`.
|
|
66
61
|
*/
|
|
67
62
|
readonly contentFile: pulumi.Output<string | undefined>;
|
|
68
63
|
/**
|
|
69
|
-
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when
|
|
70
|
-
* `contentFile` is specified.
|
|
64
|
+
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when `contentFile` is specified.
|
|
71
65
|
*/
|
|
72
66
|
readonly contentSha256: pulumi.Output<string | undefined>;
|
|
73
67
|
/**
|
|
@@ -82,6 +76,10 @@ export declare class WorkerScript extends pulumi.CustomResource {
|
|
|
82
76
|
* Hashed script content, can be used in a If-None-Match header when updating.
|
|
83
77
|
*/
|
|
84
78
|
readonly etag: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The names of handlers exported as part of the default export.
|
|
81
|
+
*/
|
|
82
|
+
readonly handlers: pulumi.Output<string[]>;
|
|
85
83
|
/**
|
|
86
84
|
* Whether a Worker contains assets.
|
|
87
85
|
*/
|
|
@@ -98,19 +96,34 @@ export declare class WorkerScript extends pulumi.CustomResource {
|
|
|
98
96
|
* List of binding types to keep from previous_upload.
|
|
99
97
|
*/
|
|
100
98
|
readonly keepBindings: pulumi.Output<string[] | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* The client most recently used to deploy this Worker.
|
|
101
|
+
*/
|
|
102
|
+
readonly lastDeployedFrom: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Limits to apply for this Worker.
|
|
105
|
+
*/
|
|
106
|
+
readonly limits: pulumi.Output<outputs.WorkerScriptLimits | undefined>;
|
|
101
107
|
/**
|
|
102
108
|
* Whether Logpush is turned on for the Worker.
|
|
103
109
|
*/
|
|
104
110
|
readonly logpush: pulumi.Output<boolean>;
|
|
105
111
|
/**
|
|
106
|
-
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler).
|
|
107
|
-
* Indicates a `module syntax` Worker.
|
|
112
|
+
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler). Indicates a `module syntax` Worker.
|
|
108
113
|
*/
|
|
109
114
|
readonly mainModule: pulumi.Output<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* The tag of the Durable Object migration that was most recently applied for this Worker.
|
|
117
|
+
*/
|
|
118
|
+
readonly migrationTag: pulumi.Output<string>;
|
|
110
119
|
/**
|
|
111
120
|
* When the script was last modified.
|
|
112
121
|
*/
|
|
113
122
|
readonly modifiedOn: pulumi.Output<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Named exports, such as Durable Object class implementations and named entrypoints.
|
|
125
|
+
*/
|
|
126
|
+
readonly namedHandlers: pulumi.Output<outputs.WorkerScriptNamedHandler[]>;
|
|
114
127
|
/**
|
|
115
128
|
* Observability settings for the Worker.
|
|
116
129
|
*/
|
|
@@ -129,7 +142,8 @@ export declare class WorkerScript extends pulumi.CustomResource {
|
|
|
129
142
|
*/
|
|
130
143
|
readonly tailConsumers: pulumi.Output<outputs.WorkerScriptTailConsumer[]>;
|
|
131
144
|
/**
|
|
132
|
-
* Usage model for the Worker invocations.
|
|
145
|
+
* Usage model for the Worker invocations.
|
|
146
|
+
* Available values: "standard", "bundled", "unbound".
|
|
133
147
|
*/
|
|
134
148
|
readonly usageModel: pulumi.Output<string>;
|
|
135
149
|
/**
|
|
@@ -151,27 +165,23 @@ export interface WorkerScriptState {
|
|
|
151
165
|
*/
|
|
152
166
|
accountId?: pulumi.Input<string>;
|
|
153
167
|
/**
|
|
154
|
-
* Configuration for assets within a Worker
|
|
168
|
+
* Configuration for assets within a Worker.
|
|
155
169
|
*/
|
|
156
170
|
assets?: pulumi.Input<inputs.WorkerScriptAssets>;
|
|
157
171
|
/**
|
|
158
|
-
* List of bindings attached to a Worker. You can find more about bindings on our docs:
|
|
159
|
-
* https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
172
|
+
* List of bindings attached to a Worker. You can find more about bindings on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
160
173
|
*/
|
|
161
174
|
bindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptBinding>[]>;
|
|
162
175
|
/**
|
|
163
|
-
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch`
|
|
164
|
-
* event). Indicates a `service worker syntax` Worker.
|
|
176
|
+
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch` event). Indicates a `service worker syntax` Worker.
|
|
165
177
|
*/
|
|
166
178
|
bodyPart?: pulumi.Input<string>;
|
|
167
179
|
/**
|
|
168
|
-
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date
|
|
169
|
-
* will not affect this Worker.
|
|
180
|
+
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
|
|
170
181
|
*/
|
|
171
182
|
compatibilityDate?: pulumi.Input<string>;
|
|
172
183
|
/**
|
|
173
|
-
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out
|
|
174
|
-
* of specific changes not included in a `compatibilityDate`.
|
|
184
|
+
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a `compatibilityDate`.
|
|
175
185
|
*/
|
|
176
186
|
compatibilityFlags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
177
187
|
/**
|
|
@@ -179,13 +189,11 @@ export interface WorkerScriptState {
|
|
|
179
189
|
*/
|
|
180
190
|
content?: pulumi.Input<string>;
|
|
181
191
|
/**
|
|
182
|
-
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile`
|
|
183
|
-
* must be specified. Must be paired with `contentSha256`.
|
|
192
|
+
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile` must be specified. Must be paired with `contentSha256`.
|
|
184
193
|
*/
|
|
185
194
|
contentFile?: pulumi.Input<string>;
|
|
186
195
|
/**
|
|
187
|
-
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when
|
|
188
|
-
* `contentFile` is specified.
|
|
196
|
+
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when `contentFile` is specified.
|
|
189
197
|
*/
|
|
190
198
|
contentSha256?: pulumi.Input<string>;
|
|
191
199
|
/**
|
|
@@ -200,6 +208,10 @@ export interface WorkerScriptState {
|
|
|
200
208
|
* Hashed script content, can be used in a If-None-Match header when updating.
|
|
201
209
|
*/
|
|
202
210
|
etag?: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* The names of handlers exported as part of the default export.
|
|
213
|
+
*/
|
|
214
|
+
handlers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
203
215
|
/**
|
|
204
216
|
* Whether a Worker contains assets.
|
|
205
217
|
*/
|
|
@@ -216,19 +228,34 @@ export interface WorkerScriptState {
|
|
|
216
228
|
* List of binding types to keep from previous_upload.
|
|
217
229
|
*/
|
|
218
230
|
keepBindings?: pulumi.Input<pulumi.Input<string>[]>;
|
|
231
|
+
/**
|
|
232
|
+
* The client most recently used to deploy this Worker.
|
|
233
|
+
*/
|
|
234
|
+
lastDeployedFrom?: pulumi.Input<string>;
|
|
235
|
+
/**
|
|
236
|
+
* Limits to apply for this Worker.
|
|
237
|
+
*/
|
|
238
|
+
limits?: pulumi.Input<inputs.WorkerScriptLimits>;
|
|
219
239
|
/**
|
|
220
240
|
* Whether Logpush is turned on for the Worker.
|
|
221
241
|
*/
|
|
222
242
|
logpush?: pulumi.Input<boolean>;
|
|
223
243
|
/**
|
|
224
|
-
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler).
|
|
225
|
-
* Indicates a `module syntax` Worker.
|
|
244
|
+
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler). Indicates a `module syntax` Worker.
|
|
226
245
|
*/
|
|
227
246
|
mainModule?: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* The tag of the Durable Object migration that was most recently applied for this Worker.
|
|
249
|
+
*/
|
|
250
|
+
migrationTag?: pulumi.Input<string>;
|
|
228
251
|
/**
|
|
229
252
|
* When the script was last modified.
|
|
230
253
|
*/
|
|
231
254
|
modifiedOn?: pulumi.Input<string>;
|
|
255
|
+
/**
|
|
256
|
+
* Named exports, such as Durable Object class implementations and named entrypoints.
|
|
257
|
+
*/
|
|
258
|
+
namedHandlers?: pulumi.Input<pulumi.Input<inputs.WorkerScriptNamedHandler>[]>;
|
|
232
259
|
/**
|
|
233
260
|
* Observability settings for the Worker.
|
|
234
261
|
*/
|
|
@@ -247,7 +274,8 @@ export interface WorkerScriptState {
|
|
|
247
274
|
*/
|
|
248
275
|
tailConsumers?: pulumi.Input<pulumi.Input<inputs.WorkerScriptTailConsumer>[]>;
|
|
249
276
|
/**
|
|
250
|
-
* Usage model for the Worker invocations.
|
|
277
|
+
* Usage model for the Worker invocations.
|
|
278
|
+
* Available values: "standard", "bundled", "unbound".
|
|
251
279
|
*/
|
|
252
280
|
usageModel?: pulumi.Input<string>;
|
|
253
281
|
}
|
|
@@ -260,27 +288,23 @@ export interface WorkerScriptArgs {
|
|
|
260
288
|
*/
|
|
261
289
|
accountId: pulumi.Input<string>;
|
|
262
290
|
/**
|
|
263
|
-
* Configuration for assets within a Worker
|
|
291
|
+
* Configuration for assets within a Worker.
|
|
264
292
|
*/
|
|
265
293
|
assets?: pulumi.Input<inputs.WorkerScriptAssets>;
|
|
266
294
|
/**
|
|
267
|
-
* List of bindings attached to a Worker. You can find more about bindings on our docs:
|
|
268
|
-
* https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
295
|
+
* List of bindings attached to a Worker. You can find more about bindings on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
269
296
|
*/
|
|
270
297
|
bindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptBinding>[]>;
|
|
271
298
|
/**
|
|
272
|
-
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch`
|
|
273
|
-
* event). Indicates a `service worker syntax` Worker.
|
|
299
|
+
* Name of the part in the multipart request that contains the script (e.g. the file adding a listener to the `fetch` event). Indicates a `service worker syntax` Worker.
|
|
274
300
|
*/
|
|
275
301
|
bodyPart?: pulumi.Input<string>;
|
|
276
302
|
/**
|
|
277
|
-
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date
|
|
278
|
-
* will not affect this Worker.
|
|
303
|
+
* Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
|
|
279
304
|
*/
|
|
280
305
|
compatibilityDate?: pulumi.Input<string>;
|
|
281
306
|
/**
|
|
282
|
-
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out
|
|
283
|
-
* of specific changes not included in a `compatibilityDate`.
|
|
307
|
+
* Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a `compatibilityDate`.
|
|
284
308
|
*/
|
|
285
309
|
compatibilityFlags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
286
310
|
/**
|
|
@@ -288,13 +312,11 @@ export interface WorkerScriptArgs {
|
|
|
288
312
|
*/
|
|
289
313
|
content?: pulumi.Input<string>;
|
|
290
314
|
/**
|
|
291
|
-
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile`
|
|
292
|
-
* must be specified. Must be paired with `contentSha256`.
|
|
315
|
+
* Path to a file containing the Module or Service Worker contents of the Worker. Exactly one of `content` or `contentFile` must be specified. Must be paired with `contentSha256`.
|
|
293
316
|
*/
|
|
294
317
|
contentFile?: pulumi.Input<string>;
|
|
295
318
|
/**
|
|
296
|
-
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when
|
|
297
|
-
* `contentFile` is specified.
|
|
319
|
+
* SHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when `contentFile` is specified.
|
|
298
320
|
*/
|
|
299
321
|
contentSha256?: pulumi.Input<string>;
|
|
300
322
|
/**
|
|
@@ -309,13 +331,16 @@ export interface WorkerScriptArgs {
|
|
|
309
331
|
* List of binding types to keep from previous_upload.
|
|
310
332
|
*/
|
|
311
333
|
keepBindings?: pulumi.Input<pulumi.Input<string>[]>;
|
|
334
|
+
/**
|
|
335
|
+
* Limits to apply for this Worker.
|
|
336
|
+
*/
|
|
337
|
+
limits?: pulumi.Input<inputs.WorkerScriptLimits>;
|
|
312
338
|
/**
|
|
313
339
|
* Whether Logpush is turned on for the Worker.
|
|
314
340
|
*/
|
|
315
341
|
logpush?: pulumi.Input<boolean>;
|
|
316
342
|
/**
|
|
317
|
-
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler).
|
|
318
|
-
* Indicates a `module syntax` Worker.
|
|
343
|
+
* Name of the part in the multipart request that contains the main module (e.g. the file exporting a `fetch` handler). Indicates a `module syntax` Worker.
|
|
319
344
|
*/
|
|
320
345
|
mainModule?: pulumi.Input<string>;
|
|
321
346
|
/**
|
|
@@ -335,7 +360,8 @@ export interface WorkerScriptArgs {
|
|
|
335
360
|
*/
|
|
336
361
|
tailConsumers?: pulumi.Input<pulumi.Input<inputs.WorkerScriptTailConsumer>[]>;
|
|
337
362
|
/**
|
|
338
|
-
* Usage model for the Worker invocations.
|
|
363
|
+
* Usage model for the Worker invocations.
|
|
364
|
+
* Available values: "standard", "bundled", "unbound".
|
|
339
365
|
*/
|
|
340
366
|
usageModel?: pulumi.Input<string>;
|
|
341
367
|
}
|
package/workerScript.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.WorkerScript = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* !> This resource is no longer recommended. Please use the `
|
|
9
|
+
* !> This resource is no longer recommended. Please use the `cloudflare.Worker`, `cloudflare.WorkerVersion`, and `cloudflare.WorkersDeployment` resources instead. See how to use them in the [developer documentation](https://developers.cloudflare.com/workers/platform/infrastructure-as-code/).
|
|
10
10
|
*
|
|
11
11
|
* ## Import
|
|
12
12
|
*
|
|
@@ -59,13 +59,18 @@ class WorkerScript extends pulumi.CustomResource {
|
|
|
59
59
|
resourceInputs["contentType"] = state ? state.contentType : undefined;
|
|
60
60
|
resourceInputs["createdOn"] = state ? state.createdOn : undefined;
|
|
61
61
|
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
62
|
+
resourceInputs["handlers"] = state ? state.handlers : undefined;
|
|
62
63
|
resourceInputs["hasAssets"] = state ? state.hasAssets : undefined;
|
|
63
64
|
resourceInputs["hasModules"] = state ? state.hasModules : undefined;
|
|
64
65
|
resourceInputs["keepAssets"] = state ? state.keepAssets : undefined;
|
|
65
66
|
resourceInputs["keepBindings"] = state ? state.keepBindings : undefined;
|
|
67
|
+
resourceInputs["lastDeployedFrom"] = state ? state.lastDeployedFrom : undefined;
|
|
68
|
+
resourceInputs["limits"] = state ? state.limits : undefined;
|
|
66
69
|
resourceInputs["logpush"] = state ? state.logpush : undefined;
|
|
67
70
|
resourceInputs["mainModule"] = state ? state.mainModule : undefined;
|
|
71
|
+
resourceInputs["migrationTag"] = state ? state.migrationTag : undefined;
|
|
68
72
|
resourceInputs["modifiedOn"] = state ? state.modifiedOn : undefined;
|
|
73
|
+
resourceInputs["namedHandlers"] = state ? state.namedHandlers : undefined;
|
|
69
74
|
resourceInputs["observability"] = state ? state.observability : undefined;
|
|
70
75
|
resourceInputs["placement"] = state ? state.placement : undefined;
|
|
71
76
|
resourceInputs["scriptName"] = state ? state.scriptName : undefined;
|
|
@@ -93,6 +98,7 @@ class WorkerScript extends pulumi.CustomResource {
|
|
|
93
98
|
resourceInputs["contentType"] = args ? args.contentType : undefined;
|
|
94
99
|
resourceInputs["keepAssets"] = args ? args.keepAssets : undefined;
|
|
95
100
|
resourceInputs["keepBindings"] = args ? args.keepBindings : undefined;
|
|
101
|
+
resourceInputs["limits"] = args ? args.limits : undefined;
|
|
96
102
|
resourceInputs["logpush"] = args ? args.logpush : undefined;
|
|
97
103
|
resourceInputs["mainModule"] = args ? args.mainModule : undefined;
|
|
98
104
|
resourceInputs["observability"] = args ? args.observability : undefined;
|
|
@@ -102,9 +108,13 @@ class WorkerScript extends pulumi.CustomResource {
|
|
|
102
108
|
resourceInputs["usageModel"] = args ? args.usageModel : undefined;
|
|
103
109
|
resourceInputs["createdOn"] = undefined /*out*/;
|
|
104
110
|
resourceInputs["etag"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["handlers"] = undefined /*out*/;
|
|
105
112
|
resourceInputs["hasAssets"] = undefined /*out*/;
|
|
106
113
|
resourceInputs["hasModules"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["lastDeployedFrom"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["migrationTag"] = undefined /*out*/;
|
|
107
116
|
resourceInputs["modifiedOn"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["namedHandlers"] = undefined /*out*/;
|
|
108
118
|
resourceInputs["startupTimeMs"] = undefined /*out*/;
|
|
109
119
|
}
|
|
110
120
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/workerScript.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workerScript.js","sourceRoot":"","sources":["../workerScript.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,qJAAqJ,CAAC,CAAA;QACtK,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;
|
|
1
|
+
{"version":3,"file":"workerScript.js","sourceRoot":"","sources":["../workerScript.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAA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