@gradientedge/cdk-utils 9.88.0 → 10.0.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 (87) hide show
  1. package/dist/src/lib/azure/services/api-management/main.d.ts +2 -2
  2. package/dist/src/lib/azure/services/api-management/main.js +1 -1
  3. package/dist/src/lib/azure/services/redis/main.d.ts +5 -5
  4. package/dist/src/lib/azure/services/redis/main.js +10 -10
  5. package/dist/src/lib/azure/services/redis/types.d.ts +2 -2
  6. package/dist/src/lib/cloudflare/common/construct.d.ts +7 -19
  7. package/dist/src/lib/cloudflare/common/construct.js +12 -66
  8. package/dist/src/lib/cloudflare/common/index.d.ts +0 -1
  9. package/dist/src/lib/cloudflare/common/index.js +0 -1
  10. package/dist/src/lib/cloudflare/common/stack.d.ts +11 -21
  11. package/dist/src/lib/cloudflare/common/stack.js +55 -62
  12. package/dist/src/lib/cloudflare/common/types.d.ts +2 -14
  13. package/dist/src/lib/cloudflare/construct/pages-static-site/main.d.ts +8 -10
  14. package/dist/src/lib/cloudflare/construct/pages-static-site/main.js +18 -25
  15. package/dist/src/lib/cloudflare/construct/worker-site/main.d.ts +13 -10
  16. package/dist/src/lib/cloudflare/construct/worker-site/main.js +29 -41
  17. package/dist/src/lib/cloudflare/index.d.ts +0 -1
  18. package/dist/src/lib/cloudflare/index.js +0 -1
  19. package/dist/src/lib/cloudflare/services/access/main.d.ts +31 -43
  20. package/dist/src/lib/cloudflare/services/access/main.js +56 -83
  21. package/dist/src/lib/cloudflare/services/access/types.d.ts +12 -22
  22. package/dist/src/lib/cloudflare/services/api-shield/main.d.ts +10 -15
  23. package/dist/src/lib/cloudflare/services/api-shield/main.js +16 -36
  24. package/dist/src/lib/cloudflare/services/api-shield/types.d.ts +6 -10
  25. package/dist/src/lib/cloudflare/services/argo/main.d.ts +6 -8
  26. package/dist/src/lib/cloudflare/services/argo/main.js +9 -17
  27. package/dist/src/lib/cloudflare/services/argo/types.d.ts +3 -4
  28. package/dist/src/lib/cloudflare/services/filter/main.d.ts +3 -4
  29. package/dist/src/lib/cloudflare/services/filter/main.js +6 -10
  30. package/dist/src/lib/cloudflare/services/filter/types.d.ts +2 -2
  31. package/dist/src/lib/cloudflare/services/firewall/main.d.ts +2 -3
  32. package/dist/src/lib/cloudflare/services/firewall/main.js +4 -8
  33. package/dist/src/lib/cloudflare/services/firewall/types.d.ts +2 -2
  34. package/dist/src/lib/cloudflare/services/page/main.d.ts +7 -11
  35. package/dist/src/lib/cloudflare/services/page/main.js +13 -26
  36. package/dist/src/lib/cloudflare/services/page/types.d.ts +4 -6
  37. package/dist/src/lib/cloudflare/services/record/main.d.ts +2 -3
  38. package/dist/src/lib/cloudflare/services/record/main.js +4 -8
  39. package/dist/src/lib/cloudflare/services/record/types.d.ts +2 -2
  40. package/dist/src/lib/cloudflare/services/rule-set/main.d.ts +5 -6
  41. package/dist/src/lib/cloudflare/services/rule-set/main.js +7 -10
  42. package/dist/src/lib/cloudflare/services/rule-set/types.d.ts +2 -2
  43. package/dist/src/lib/cloudflare/services/worker/main.d.ts +12 -18
  44. package/dist/src/lib/cloudflare/services/worker/main.js +15 -39
  45. package/dist/src/lib/cloudflare/services/worker/types.d.ts +7 -12
  46. package/dist/src/lib/cloudflare/services/zone/main.d.ts +13 -30
  47. package/dist/src/lib/cloudflare/services/zone/main.js +31 -84
  48. package/dist/src/lib/cloudflare/services/zone/types.d.ts +10 -20
  49. package/dist/src/lib/common/types.d.ts +4 -0
  50. package/package.json +7 -1
  51. package/src/lib/azure/services/api-management/main.ts +3 -3
  52. package/src/lib/azure/services/redis/main.ts +11 -11
  53. package/src/lib/azure/services/redis/types.ts +2 -2
  54. package/src/lib/cloudflare/common/construct.ts +13 -70
  55. package/src/lib/cloudflare/common/index.ts +0 -1
  56. package/src/lib/cloudflare/common/stack.ts +58 -69
  57. package/src/lib/cloudflare/common/types.ts +2 -15
  58. package/src/lib/cloudflare/construct/pages-static-site/main.ts +22 -42
  59. package/src/lib/cloudflare/construct/worker-site/main.ts +38 -62
  60. package/src/lib/cloudflare/index.ts +0 -1
  61. package/src/lib/cloudflare/services/access/main.ts +57 -118
  62. package/src/lib/cloudflare/services/access/types.ts +24 -22
  63. package/src/lib/cloudflare/services/api-shield/main.ts +16 -63
  64. package/src/lib/cloudflare/services/api-shield/types.ts +12 -10
  65. package/src/lib/cloudflare/services/argo/main.ts +9 -23
  66. package/src/lib/cloudflare/services/argo/types.ts +3 -4
  67. package/src/lib/cloudflare/services/filter/main.ts +6 -13
  68. package/src/lib/cloudflare/services/filter/types.ts +2 -2
  69. package/src/lib/cloudflare/services/firewall/main.ts +4 -11
  70. package/src/lib/cloudflare/services/firewall/types.ts +2 -2
  71. package/src/lib/cloudflare/services/page/main.ts +19 -36
  72. package/src/lib/cloudflare/services/page/types.ts +4 -6
  73. package/src/lib/cloudflare/services/record/main.ts +4 -11
  74. package/src/lib/cloudflare/services/record/types.ts +2 -2
  75. package/src/lib/cloudflare/services/rule-set/main.ts +7 -12
  76. package/src/lib/cloudflare/services/rule-set/types.ts +2 -2
  77. package/src/lib/cloudflare/services/worker/main.ts +15 -52
  78. package/src/lib/cloudflare/services/worker/types.ts +14 -12
  79. package/src/lib/cloudflare/services/zone/main.ts +40 -103
  80. package/src/lib/cloudflare/services/zone/types.ts +20 -21
  81. package/src/lib/common/types.ts +5 -0
  82. package/dist/src/lib/cloudflare/common/constants.d.ts +0 -5
  83. package/dist/src/lib/cloudflare/common/constants.js +0 -6
  84. package/dist/src/lib/cloudflare/utils/index.d.ts +0 -3
  85. package/dist/src/lib/cloudflare/utils/index.js +0 -13
  86. package/src/lib/cloudflare/common/constants.ts +0 -5
  87. package/src/lib/cloudflare/utils/index.ts +0 -23
@@ -1,28 +1,16 @@
1
- import { AccessRule } from '@cdktf/provider-cloudflare/lib/access-rule/index.js';
2
- import { ZeroTrustAccessApplication } from '@cdktf/provider-cloudflare/lib/zero-trust-access-application/index.js';
3
- import { ZeroTrustAccessCustomPage } from '@cdktf/provider-cloudflare/lib/zero-trust-access-custom-page/index.js';
4
- import { ZeroTrustAccessGroup } from '@cdktf/provider-cloudflare/lib/zero-trust-access-group/index.js';
5
- import { ZeroTrustAccessIdentityProvider } from '@cdktf/provider-cloudflare/lib/zero-trust-access-identity-provider/index.js';
6
- import { ZeroTrustAccessMtlsCertificate } from '@cdktf/provider-cloudflare/lib/zero-trust-access-mtls-certificate/index.js';
7
- import { ZeroTrustAccessPolicy } from '@cdktf/provider-cloudflare/lib/zero-trust-access-policy/index.js';
8
- import { ZeroTrustAccessServiceToken } from '@cdktf/provider-cloudflare/lib/zero-trust-access-service-token/index.js';
9
- import { ZeroTrustAccessShortLivedCertificate } from '@cdktf/provider-cloudflare/lib/zero-trust-access-short-lived-certificate/index.js';
10
- import { ZeroTrustAccessTag } from '@cdktf/provider-cloudflare/lib/zero-trust-access-tag/index.js';
11
- import { ZeroTrustOrganization } from '@cdktf/provider-cloudflare/lib/zero-trust-organization/index.js';
12
- import { createCloudflareTfOutput } from '../../utils/index.js';
1
+ import * as cloudflare from '@pulumi/cloudflare';
13
2
  /**
14
3
  * @classdesc Provides operations on Cloudflare Access
15
- * - A new instance of this class is injected into {@link CommonCloudflareConstruct} constructor.
16
- * - If a custom construct extends {@link CommonCloudflareConstruct}, an instance is available within the context.
4
+ * - A new instance of this class is injected into {@link CommonCloudflareComponent} constructor.
5
+ * - If a custom component extends {@link CommonCloudflareComponent}, an instance is available within the context.
17
6
  * @example
18
7
  * ```
19
- * import { CommonCloudflareConstruct, CommonCloudflareConstruct } from '@gradientedge/cdk-utils'
8
+ * import { CommonCloudflareComponent, CloudflareAccessManager } from '@gradientedge/cdk-utils'
20
9
  *
21
- * class CustomConstruct extends CommonCloudflareConstruct {
22
- * constructor(parent: Construct, id: string, props: CommonCloudflareStackProps) {
23
- * super(parent, id, props)
24
- * this.props = props
25
- * this.accessManager.createApiShield('MyAppAccess', this, props)
10
+ * class CustomComponent extends CommonCloudflareComponent {
11
+ * constructor(name: string, args: any, opts?: pulumi.ComponentResourceOptions) {
12
+ * super(name, args, opts)
13
+ * this.accessManager.createAccessApplication('MyAppAccess', this, props)
26
14
  * }
27
15
  * }
28
16
  * ```
@@ -33,232 +21,217 @@ export class CloudflareAccessManager {
33
21
  * @param id scoped id of the resource
34
22
  * @param scope scope in which this resource is defined
35
23
  * @param props access application properties
36
- * @see [CDKTF Access Application Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessApplication.typescript.md}
24
+ * @see [Pulumi Cloudflare Access Application]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustaccessapplication/}
37
25
  */
38
26
  createAccessApplication(id, scope, props) {
39
27
  if (!props)
40
28
  throw `Props undefined for ${id}`;
41
29
  const zoneId = props.zoneId
42
30
  ? props.zoneId
43
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
44
- const accessApplication = new ZeroTrustAccessApplication(scope, `${id}`, {
31
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, {
32
+ filter: { name: scope.props.domainName },
33
+ })?.id;
34
+ return new cloudflare.ZeroTrustAccessApplication(`${id}`, {
45
35
  ...props,
46
36
  domain: `${props.domain}-${scope.props.domainName}`,
47
37
  name: `${props.name}-${scope.props.stage}`,
48
38
  zoneId,
49
39
  });
50
- createCloudflareTfOutput(`${id}-accessApplicationFriendlyUniqueId`, scope, accessApplication.friendlyUniqueId);
51
- createCloudflareTfOutput(`${id}-accessApplicationId`, scope, accessApplication.id);
52
- return accessApplication;
53
40
  }
54
41
  /**
55
42
  * @summary Method to create a new Cloudflare Application Access Short Lived Certificate
56
43
  * @param id scoped id of the resource
57
44
  * @param scope scope in which this resource is defined
58
- * @param props access short lived certificate properties
59
- * @see [CDKTF Access Short Lived Certificate Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessShortLivedCertificate.typescript.md}
45
+ * @param props access short lived certificate properties
46
+ * @see [Pulumi Cloudflare Access Short Lived Certificate]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustaccessshortlivedcertificate/}
60
47
  */
61
48
  createAccessShortLivedCertificate(id, scope, props) {
62
49
  if (!props)
63
50
  throw `Props undefined for ${id}`;
64
51
  const zoneId = props.zoneId
65
52
  ? props.zoneId
66
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
67
- const accessShortLivedCertificate = new ZeroTrustAccessShortLivedCertificate(scope, `${id}`, {
53
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, {
54
+ filter: { name: scope.props.domainName },
55
+ })?.id;
56
+ return new cloudflare.ZeroTrustAccessShortLivedCertificate(`${id}`, {
68
57
  ...props,
69
58
  zoneId,
70
59
  });
71
- createCloudflareTfOutput(`${id}-accessShortLivedCertificateFriendlyUniqueId`, scope, accessShortLivedCertificate.friendlyUniqueId);
72
- createCloudflareTfOutput(`${id}-accessShortLivedCertificateId`, scope, accessShortLivedCertificate.id);
73
- return accessShortLivedCertificate;
74
60
  }
75
61
  /**
76
62
  * @summary Method to create a new Cloudflare Application Access Custom Page
77
63
  * @param id scoped id of the resource
78
64
  * @param scope scope in which this resource is defined
79
65
  * @param props access custom page properties
80
- * @see [CDKTF Access Custom Page Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessCustomPage.typescript.md}
66
+ * @see [Pulumi Cloudflare Access Custom Page]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustaccesscustompage/}
81
67
  */
82
68
  createAccessCustomPage(id, scope, props) {
83
69
  if (!props)
84
70
  throw `Props undefined for ${id}`;
85
- const accessCustomPage = new ZeroTrustAccessCustomPage(scope, `${id}`, {
71
+ return new cloudflare.ZeroTrustAccessCustomPage(`${id}`, {
86
72
  ...props,
87
73
  accountId: props.accountId ?? scope.props.accountId,
88
74
  name: `${props.name}-${scope.props.stage}`,
89
75
  });
90
- createCloudflareTfOutput(`${id}-accessCustomPageFriendlyUniqueId`, scope, accessCustomPage.friendlyUniqueId);
91
- createCloudflareTfOutput(`${id}-accessCustomPageId`, scope, accessCustomPage.id);
92
- return accessCustomPage;
93
76
  }
94
77
  /**
95
78
  * @summary Method to create a new Cloudflare Application Access Group
96
79
  * @param id scoped id of the resource
97
80
  * @param scope scope in which this resource is defined
98
81
  * @param props access group properties
99
- * @see [CDKTF Access Group Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessGroup.typescript.md}
82
+ * @see [Pulumi Cloudflare Access Group]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustaccessgroup/}
100
83
  */
101
84
  createAccessGroup(id, scope, props) {
102
85
  if (!props)
103
86
  throw `Props undefined for ${id}`;
104
87
  const zoneId = props.zoneId
105
88
  ? props.zoneId
106
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
107
- const accessGroup = new ZeroTrustAccessGroup(scope, `${id}`, {
89
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, {
90
+ filter: { name: scope.props.domainName },
91
+ })?.id;
92
+ return new cloudflare.ZeroTrustAccessGroup(`${id}`, {
108
93
  ...props,
109
94
  name: `${props.name} - ${scope.props.stage.toUpperCase()}`,
110
95
  zoneId,
111
96
  });
112
- createCloudflareTfOutput(`${id}-accessGroupFriendlyUniqueId`, scope, accessGroup.friendlyUniqueId);
113
- createCloudflareTfOutput(`${id}-accessGroupId`, scope, accessGroup.id);
114
- return accessGroup;
115
97
  }
116
98
  /**
117
99
  * @summary Method to create a new Cloudflare Application Access Identity Provider
118
100
  * @param id scoped id of the resource
119
101
  * @param scope scope in which this resource is defined
120
102
  * @param props access identity provider properties
121
- * @see [CDKTF Access Identity Provider Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessIdentityProvider.typescript.md}
103
+ * @see [Pulumi Cloudflare Access Identity Provider]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustaccessidentityprovider/}
122
104
  */
123
105
  createAccessIdentityProvider(id, scope, props) {
124
106
  if (!props)
125
107
  throw `Props undefined for ${id}`;
126
108
  const zoneId = props.zoneId
127
109
  ? props.zoneId
128
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
129
- const accessIdentityProvider = new ZeroTrustAccessIdentityProvider(scope, `${id}`, {
110
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, {
111
+ filter: { name: scope.props.domainName },
112
+ })?.id;
113
+ return new cloudflare.ZeroTrustAccessIdentityProvider(`${id}`, {
130
114
  ...props,
115
+ config: props.config ?? {},
131
116
  name: `${props.name}-${scope.props.stage}`,
132
117
  zoneId,
133
118
  });
134
- createCloudflareTfOutput(`${id}-accessIdentityProviderFriendlyUniqueId`, scope, accessIdentityProvider.friendlyUniqueId);
135
- createCloudflareTfOutput(`${id}-accessIdentityProviderId`, scope, accessIdentityProvider.id);
136
- return accessIdentityProvider;
137
119
  }
138
120
  /**
139
121
  * @summary Method to create a new Cloudflare Application Access Mutual Tls Certificate
140
122
  * @param id scoped id of the resource
141
123
  * @param scope scope in which this resource is defined
142
124
  * @param props access mutual tls certificate properties
143
- * @see [CDKTF Access Mutual Tls Certificate Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessMtlsCertificate.typescript.md}
125
+ * @see [Pulumi Cloudflare Access Mutual Tls Certificate]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustaccessmtlscertificate/}
144
126
  */
145
127
  createAccessMutualTlsCertificate(id, scope, props) {
146
128
  if (!props)
147
129
  throw `Props undefined for ${id}`;
148
130
  const zoneId = props.zoneId
149
131
  ? props.zoneId
150
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
151
- const accessMutualTlsCertificate = new ZeroTrustAccessMtlsCertificate(scope, `${id}`, {
132
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, {
133
+ filter: { name: scope.props.domainName },
134
+ })?.id;
135
+ return new cloudflare.ZeroTrustAccessMtlsCertificate(`${id}`, {
152
136
  ...props,
153
137
  name: `${props.name}-${scope.props.stage}`,
154
138
  zoneId,
155
139
  });
156
- createCloudflareTfOutput(`${id}-accessMutualTlsCertificateFriendlyUniqueId`, scope, accessMutualTlsCertificate.friendlyUniqueId);
157
- createCloudflareTfOutput(`${id}-accessMutualTlsCertificateId`, scope, accessMutualTlsCertificate.id);
158
- return accessMutualTlsCertificate;
159
140
  }
160
141
  /**
161
142
  * @summary Method to create a new Cloudflare Application Access Organisation
162
143
  * @param id scoped id of the resource
163
144
  * @param scope scope in which this resource is defined
164
145
  * @param props access organisation properties
165
- * @see [CDKTF Access Organisation Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessOrganization.typescript.md}
146
+ * @see [Pulumi Cloudflare Zero Trust Organization]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustorganization/}
166
147
  */
167
148
  createAccessOrganization(id, scope, props) {
168
149
  if (!props)
169
150
  throw `Props undefined for ${id}`;
170
151
  const zoneId = props.zoneId
171
152
  ? props.zoneId
172
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
173
- const accessOrganization = new ZeroTrustOrganization(scope, `${id}`, {
153
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, {
154
+ filter: { name: scope.props.domainName },
155
+ })?.id;
156
+ return new cloudflare.ZeroTrustOrganization(`${id}`, {
174
157
  ...props,
175
158
  name: `${props.name}-${scope.props.stage}`,
176
159
  zoneId,
177
160
  });
178
- createCloudflareTfOutput(`${id}-accessOrganizationFriendlyUniqueId`, scope, accessOrganization.friendlyUniqueId);
179
- return accessOrganization;
180
161
  }
181
162
  /**
182
163
  * @summary Method to create a new Cloudflare Application Access Policy
183
164
  * @param id scoped id of the resource
184
165
  * @param scope scope in which this resource is defined
185
166
  * @param props access policy properties
186
- * @see [CDKTF Access Policy Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessPolicy.typescript.md}
167
+ * @see [Pulumi Cloudflare Access Policy]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustaccesspolicy/}
187
168
  */
188
169
  createAccessPolicy(id, scope, props) {
189
170
  if (!props)
190
171
  throw `Props undefined for ${id}`;
191
- const accessPolicy = new ZeroTrustAccessPolicy(scope, `${id}`, {
172
+ return new cloudflare.ZeroTrustAccessPolicy(`${id}`, {
192
173
  ...props,
193
174
  name: `${props.name}-${scope.props.stage}`,
194
175
  accountId: props.accountId ?? scope.props.accountId,
195
176
  });
196
- createCloudflareTfOutput(`${id}-accessPolicyFriendlyUniqueId`, scope, accessPolicy.friendlyUniqueId);
197
- createCloudflareTfOutput(`${id}-accessPolicyId`, scope, accessPolicy.id);
198
- return accessPolicy;
199
177
  }
200
178
  /**
201
179
  * @summary Method to create a new Cloudflare Application Access Rule
202
180
  * @param id scoped id of the resource
203
181
  * @param scope scope in which this resource is defined
204
182
  * @param props access rule properties
205
- * @see [CDKTF Access Rule Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/accessRule.typescript.md}
183
+ * @see [Pulumi Cloudflare Access Rule]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/accessrule/}
206
184
  */
207
185
  createAccessRule(id, scope, props) {
208
186
  if (!props)
209
187
  throw `Props undefined for ${id}`;
210
188
  const zoneId = props.zoneId
211
189
  ? props.zoneId
212
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
213
- const accessRule = new AccessRule(scope, `${id}`, {
190
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, {
191
+ filter: { name: scope.props.domainName },
192
+ })?.id;
193
+ return new cloudflare.AccessRule(`${id}`, {
214
194
  ...props,
215
195
  zoneId,
216
196
  accountId: props.accountId ?? scope.props.accountId,
217
197
  });
218
- createCloudflareTfOutput(`${id}-accessRuleFriendlyUniqueId`, scope, accessRule.friendlyUniqueId);
219
- createCloudflareTfOutput(`${id}-accessRuleId`, scope, accessRule.id);
220
- return accessRule;
221
198
  }
222
199
  /**
223
200
  * @summary Method to create a new Cloudflare Application Access Service Token
224
201
  * @param id scoped id of the resource
225
202
  * @param scope scope in which this resource is defined
226
203
  * @param props access service token properties
227
- * @see [CDKTF Access Service Token Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessServiceToken.typescript.md}
204
+ * @see [Pulumi Cloudflare Access Service Token]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustaccessservicetoken/}
228
205
  */
229
206
  createAccessServiceToken(id, scope, props) {
230
207
  if (!props)
231
208
  throw `Props undefined for ${id}`;
232
209
  const zoneId = props.zoneId
233
210
  ? props.zoneId
234
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
235
- const accessServiceToken = new ZeroTrustAccessServiceToken(scope, `${id}`, {
211
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, {
212
+ filter: { name: scope.props.domainName },
213
+ })?.id;
214
+ return new cloudflare.ZeroTrustAccessServiceToken(`${id}`, {
236
215
  ...props,
237
216
  name: `${props.name}-${scope.props.stage}`,
238
217
  accountId: props.accountId ?? scope.props.accountId,
239
218
  zoneId,
240
219
  });
241
- createCloudflareTfOutput(`${id}-accessServiceTokenFriendlyUniqueId`, scope, accessServiceToken.friendlyUniqueId);
242
- createCloudflareTfOutput(`${id}-accessServiceTokenId`, scope, accessServiceToken.id);
243
- return accessServiceToken;
244
220
  }
245
221
  /**
246
222
  * @summary Method to create a new Cloudflare Application Access Tag
247
223
  * @param id scoped id of the resource
248
224
  * @param scope scope in which this resource is defined
249
225
  * @param props access tag properties
250
- * @see [CDKTF Access Tag Token Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/zeroTrustAccessTag.typescript.md}
226
+ * @see [Pulumi Cloudflare Access Tag]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/zerotrustaccesstag/}
251
227
  */
252
228
  createAccessTag(id, scope, props) {
253
229
  if (!props)
254
230
  throw `Props undefined for ${id}`;
255
- const accessTag = new ZeroTrustAccessTag(scope, `${id}`, {
231
+ return new cloudflare.ZeroTrustAccessTag(`${id}`, {
256
232
  ...props,
257
233
  name: `${props.name}-${scope.props.stage}`,
258
234
  accountId: props.accountId ?? scope.props.accountId,
259
235
  });
260
- createCloudflareTfOutput(`${id}-accessTagFriendlyUniqueId`, scope, accessTag.friendlyUniqueId);
261
- createCloudflareTfOutput(`${id}-accessTagId`, scope, accessTag.id);
262
- return accessTag;
263
236
  }
264
237
  }
@@ -1,33 +1,23 @@
1
- import { AccessRuleConfig } from '@cdktf/provider-cloudflare/lib/access-rule/index.js';
2
- import { ZeroTrustAccessApplicationConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-access-application/index.js';
3
- import { ZeroTrustAccessCustomPageConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-access-custom-page/index.js';
4
- import { ZeroTrustAccessGroupConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-access-group/index.js';
5
- import { ZeroTrustAccessIdentityProviderConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-access-identity-provider/index.js';
6
- import { ZeroTrustAccessMtlsCertificateConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-access-mtls-certificate/index.js';
7
- import { ZeroTrustAccessPolicyConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-access-policy/index.js';
8
- import { ZeroTrustAccessServiceTokenConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-access-service-token/index.js';
9
- import { ZeroTrustAccessShortLivedCertificateConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-access-short-lived-certificate/index.js';
10
- import { ZeroTrustAccessTagConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-access-tag/index.js';
11
- import { ZeroTrustOrganizationConfig } from '@cdktf/provider-cloudflare/lib/zero-trust-organization/index.js';
12
- export interface ZeroTrustAccessApplicationProps extends ZeroTrustAccessApplicationConfig {
1
+ import { AccessRuleArgs, ZeroTrustAccessApplicationArgs, ZeroTrustAccessCustomPageArgs, ZeroTrustAccessGroupArgs, ZeroTrustAccessIdentityProviderArgs, ZeroTrustAccessMtlsCertificateArgs, ZeroTrustAccessPolicyArgs, ZeroTrustAccessServiceTokenArgs, ZeroTrustAccessShortLivedCertificateArgs, ZeroTrustAccessTagArgs, ZeroTrustOrganizationArgs } from '@pulumi/cloudflare';
2
+ export interface ZeroTrustAccessApplicationProps extends ZeroTrustAccessApplicationArgs {
13
3
  }
14
- export interface ZeroTrustAccessShortLivedCertificateProps extends ZeroTrustAccessShortLivedCertificateConfig {
4
+ export interface ZeroTrustAccessShortLivedCertificateProps extends ZeroTrustAccessShortLivedCertificateArgs {
15
5
  }
16
- export interface ZeroTrustAccessCustomPageProps extends ZeroTrustAccessCustomPageConfig {
6
+ export interface ZeroTrustAccessCustomPageProps extends ZeroTrustAccessCustomPageArgs {
17
7
  }
18
- export interface ZeroTrustAccessGroupProps extends ZeroTrustAccessGroupConfig {
8
+ export interface ZeroTrustAccessGroupProps extends ZeroTrustAccessGroupArgs {
19
9
  }
20
- export interface ZeroTrustAccessIdentityProviderProps extends ZeroTrustAccessIdentityProviderConfig {
10
+ export interface ZeroTrustAccessIdentityProviderProps extends ZeroTrustAccessIdentityProviderArgs {
21
11
  }
22
- export interface ZeroTrustAccessMtlsCertificateProps extends ZeroTrustAccessMtlsCertificateConfig {
12
+ export interface ZeroTrustAccessMtlsCertificateProps extends ZeroTrustAccessMtlsCertificateArgs {
23
13
  }
24
- export interface ZeroTrustOrganizationProps extends ZeroTrustOrganizationConfig {
14
+ export interface ZeroTrustOrganizationProps extends ZeroTrustOrganizationArgs {
25
15
  }
26
- export interface ZeroTrustAccessPolicyProps extends ZeroTrustAccessPolicyConfig {
16
+ export interface ZeroTrustAccessPolicyProps extends ZeroTrustAccessPolicyArgs {
27
17
  }
28
- export interface AccessRuleProps extends AccessRuleConfig {
18
+ export interface AccessRuleProps extends AccessRuleArgs {
29
19
  }
30
- export interface ZeroTrustAccessServiceTokenProps extends ZeroTrustAccessServiceTokenConfig {
20
+ export interface ZeroTrustAccessServiceTokenProps extends ZeroTrustAccessServiceTokenArgs {
31
21
  }
32
- export interface ZeroTrustAccessTagProps extends ZeroTrustAccessTagConfig {
22
+ export interface ZeroTrustAccessTagProps extends ZeroTrustAccessTagArgs {
33
23
  }
@@ -1,8 +1,3 @@
1
- import { ApiShieldOperationSchemaValidationSettings } from '@cdktf/provider-cloudflare/lib/api-shield-operation-schema-validation-settings/index.js';
2
- import { ApiShieldOperation } from '@cdktf/provider-cloudflare/lib/api-shield-operation/index.js';
3
- import { ApiShieldSchemaValidationSettings } from '@cdktf/provider-cloudflare/lib/api-shield-schema-validation-settings/index.js';
4
- import { ApiShieldSchema } from '@cdktf/provider-cloudflare/lib/api-shield-schema/index.js';
5
- import { ApiShield } from '@cdktf/provider-cloudflare/lib/api-shield/index.js';
6
1
  import { CommonCloudflareConstruct } from '../../common/index.js';
7
2
  import { ApiShieldOperationProps, ApiShieldOperationSchemaValidationSettingsProps, ApiShieldProps, ApiShieldSchemaProps, ApiShieldSchemaValidationSettingsProps } from './types.js';
8
3
  /**
@@ -28,39 +23,39 @@ export declare class CloudflareApiShieldManager {
28
23
  * @param id scoped id of the resource
29
24
  * @param scope scope in which this resource is defined
30
25
  * @param props api shield properties
31
- * @see [CDKTF API Shield Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShield.typescript.md}
26
+ * @see [Pulumi API Shield]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishield/}
32
27
  */
33
- createApiShield(id: string, scope: CommonCloudflareConstruct, props: ApiShieldProps): ApiShield;
28
+ createApiShield(id: string, scope: CommonCloudflareConstruct, props: ApiShieldProps): import("@pulumi/cloudflare/apiShield.js").ApiShield;
34
29
  /**
35
30
  * @summary Method to create a new Cloudflare Api Shield Schema
36
31
  * @param id scoped id of the resource
37
32
  * @param scope scope in which this resource is defined
38
33
  * @param props api shield schema properties
39
- * @see [CDKTF API Shield Schema Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShieldSchema.typescript.md}
34
+ * @see [Pulumi API Shield Schema]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishieldschema/}
40
35
  */
41
- createApiShieldSchema(id: string, scope: CommonCloudflareConstruct, props: ApiShieldSchemaProps): ApiShieldSchema;
36
+ createApiShieldSchema(id: string, scope: CommonCloudflareConstruct, props: ApiShieldSchemaProps): import("@pulumi/cloudflare/apiShieldSchema.js").ApiShieldSchema;
42
37
  /**
43
38
  * @summary Method to create a new Cloudflare Api Shield Schema Validation Settings
44
39
  * @param id scoped id of the resource
45
40
  * @param scope scope in which this resource is defined
46
41
  * @param props api shield schema validation settings properties
47
- * @see [CDKTF API Shield Schema Validation Settings Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShieldSchema.typescript.md}
42
+ * @see [Pulumi API Shield Schema Validation Settings]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishieldschemavalidationsettings/}
48
43
  */
49
- createApiShieldSchemaValidationSettings(id: string, scope: CommonCloudflareConstruct, props: ApiShieldSchemaValidationSettingsProps): ApiShieldSchemaValidationSettings;
44
+ createApiShieldSchemaValidationSettings(id: string, scope: CommonCloudflareConstruct, props: ApiShieldSchemaValidationSettingsProps): import("@pulumi/cloudflare/apiShieldSchemaValidationSettings.js").ApiShieldSchemaValidationSettings;
50
45
  /**
51
46
  * @summary Method to create a new Cloudflare Api Shield Operation
52
47
  * @param id scoped id of the resource
53
48
  * @param scope scope in which this resource is defined
54
49
  * @param props api shield operation properties
55
- * @see [CDKTF API Shield Operation Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShieldOperation.typescript.md}
50
+ * @see [Pulumi API Shield Operation]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishieldoperation/}
56
51
  */
57
- createApiShieldOperation(id: string, scope: CommonCloudflareConstruct, props: ApiShieldOperationProps): ApiShieldOperation;
52
+ createApiShieldOperation(id: string, scope: CommonCloudflareConstruct, props: ApiShieldOperationProps): import("@pulumi/cloudflare/apiShieldOperation.js").ApiShieldOperation;
58
53
  /**
59
54
  * @summary Method to create a new Cloudflare Api Shield Operation Schema Validation Settings
60
55
  * @param id scoped id of the resource
61
56
  * @param scope scope in which this resource is defined
62
57
  * @param props api shield operation schema validation settings properties
63
- * @see [CDKTF API Shield Operation Schema Validation Settings Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShieldOperationSchemaValidationSettings.typescript.md}
58
+ * @see [Pulumi API Shield Operation Schema Validation Settings]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishieldoperationschemavalidationsettings/}
64
59
  */
65
- createApiShieldOperationSchemaValidationSettings(id: string, scope: CommonCloudflareConstruct, props: ApiShieldOperationSchemaValidationSettingsProps): ApiShieldOperationSchemaValidationSettings;
60
+ createApiShieldOperationSchemaValidationSettings(id: string, scope: CommonCloudflareConstruct, props: ApiShieldOperationSchemaValidationSettingsProps): import("@pulumi/cloudflare/apiShieldOperationSchemaValidationSettings.js").ApiShieldOperationSchemaValidationSettings;
66
61
  }
@@ -1,9 +1,4 @@
1
- import { ApiShieldOperationSchemaValidationSettings } from '@cdktf/provider-cloudflare/lib/api-shield-operation-schema-validation-settings/index.js';
2
- import { ApiShieldOperation } from '@cdktf/provider-cloudflare/lib/api-shield-operation/index.js';
3
- import { ApiShieldSchemaValidationSettings } from '@cdktf/provider-cloudflare/lib/api-shield-schema-validation-settings/index.js';
4
- import { ApiShieldSchema } from '@cdktf/provider-cloudflare/lib/api-shield-schema/index.js';
5
- import { ApiShield } from '@cdktf/provider-cloudflare/lib/api-shield/index.js';
6
- import { createCloudflareTfOutput } from '../../utils/index.js';
1
+ import * as cloudflare from '@pulumi/cloudflare';
7
2
  /**
8
3
  * @classdesc Provides operations on Cloudflare Api Shield
9
4
  * - A new instance of this class is injected into {@link CommonCloudflareConstruct} constructor.
@@ -27,105 +22,90 @@ export class CloudflareApiShieldManager {
27
22
  * @param id scoped id of the resource
28
23
  * @param scope scope in which this resource is defined
29
24
  * @param props api shield properties
30
- * @see [CDKTF API Shield Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShield.typescript.md}
25
+ * @see [Pulumi API Shield]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishield/}
31
26
  */
32
27
  createApiShield(id, scope, props) {
33
28
  if (!props)
34
29
  throw `Props undefined for ${id}`;
35
30
  const zoneId = props.zoneId
36
31
  ? props.zoneId
37
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
38
- const apiShield = new ApiShield(scope, `${id}`, {
32
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { filter: { name: scope.props.domainName } })?.id;
33
+ return new cloudflare.ApiShield(`${id}`, {
39
34
  ...props,
40
35
  zoneId,
41
36
  });
42
- createCloudflareTfOutput(`${id}-apiShieldFriendlyUniqueId`, scope, apiShield.friendlyUniqueId);
43
- createCloudflareTfOutput(`${id}-apiShieldId`, scope, apiShield.id);
44
- return apiShield;
45
37
  }
46
38
  /**
47
39
  * @summary Method to create a new Cloudflare Api Shield Schema
48
40
  * @param id scoped id of the resource
49
41
  * @param scope scope in which this resource is defined
50
42
  * @param props api shield schema properties
51
- * @see [CDKTF API Shield Schema Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShieldSchema.typescript.md}
43
+ * @see [Pulumi API Shield Schema]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishieldschema/}
52
44
  */
53
45
  createApiShieldSchema(id, scope, props) {
54
46
  if (!props)
55
47
  throw `Props undefined for ${id}`;
56
48
  const zoneId = props.zoneId
57
49
  ? props.zoneId
58
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
59
- const apiShieldSchema = new ApiShieldSchema(scope, `${id}`, {
50
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { filter: { name: scope.props.domainName } })?.id;
51
+ return new cloudflare.ApiShieldSchema(`${id}`, {
60
52
  ...props,
61
53
  name: `${props.name}-${scope.props.stage}`,
62
54
  zoneId,
63
55
  });
64
- createCloudflareTfOutput(`${id}-apiShieldSchemaFriendlyUniqueId`, scope, apiShieldSchema.friendlyUniqueId);
65
- createCloudflareTfOutput(`${id}-apiShieldSchemaId`, scope, apiShieldSchema.schemaId);
66
- return apiShieldSchema;
67
56
  }
68
57
  /**
69
58
  * @summary Method to create a new Cloudflare Api Shield Schema Validation Settings
70
59
  * @param id scoped id of the resource
71
60
  * @param scope scope in which this resource is defined
72
61
  * @param props api shield schema validation settings properties
73
- * @see [CDKTF API Shield Schema Validation Settings Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShieldSchema.typescript.md}
62
+ * @see [Pulumi API Shield Schema Validation Settings]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishieldschemavalidationsettings/}
74
63
  */
75
64
  createApiShieldSchemaValidationSettings(id, scope, props) {
76
65
  if (!props)
77
66
  throw `Props undefined for ${id}`;
78
67
  const zoneId = props.zoneId
79
68
  ? props.zoneId
80
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
81
- const apiShieldSchemaValidationSettings = new ApiShieldSchemaValidationSettings(scope, `${id}`, {
69
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { filter: { name: scope.props.domainName } })?.id;
70
+ return new cloudflare.ApiShieldSchemaValidationSettings(`${id}`, {
82
71
  ...props,
83
72
  zoneId,
84
73
  });
85
- createCloudflareTfOutput(`${id}-apiShieldSchemaValidationSettingsFriendlyUniqueId`, scope, apiShieldSchemaValidationSettings.friendlyUniqueId);
86
- createCloudflareTfOutput(`${id}-apiShieldSchemaValidationSettingsId`, scope, apiShieldSchemaValidationSettings.id);
87
- return apiShieldSchemaValidationSettings;
88
74
  }
89
75
  /**
90
76
  * @summary Method to create a new Cloudflare Api Shield Operation
91
77
  * @param id scoped id of the resource
92
78
  * @param scope scope in which this resource is defined
93
79
  * @param props api shield operation properties
94
- * @see [CDKTF API Shield Operation Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShieldOperation.typescript.md}
80
+ * @see [Pulumi API Shield Operation]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishieldoperation/}
95
81
  */
96
82
  createApiShieldOperation(id, scope, props) {
97
83
  if (!props)
98
84
  throw `Props undefined for ${id}`;
99
85
  const zoneId = props.zoneId
100
86
  ? props.zoneId
101
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
102
- const apiShieldOperation = new ApiShieldOperation(scope, `${id}`, {
87
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { filter: { name: scope.props.domainName } })?.id;
88
+ return new cloudflare.ApiShieldOperation(`${id}`, {
103
89
  ...props,
104
90
  zoneId,
105
91
  });
106
- createCloudflareTfOutput(`${id}-apiShieldOperationFriendlyUniqueId`, scope, apiShieldOperation.friendlyUniqueId);
107
- createCloudflareTfOutput(`${id}-apiShieldOperationId`, scope, apiShieldOperation.id);
108
- return apiShieldOperation;
109
92
  }
110
93
  /**
111
94
  * @summary Method to create a new Cloudflare Api Shield Operation Schema Validation Settings
112
95
  * @param id scoped id of the resource
113
96
  * @param scope scope in which this resource is defined
114
97
  * @param props api shield operation schema validation settings properties
115
- * @see [CDKTF API Shield Operation Schema Validation Settings Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/apiShieldOperationSchemaValidationSettings.typescript.md}
98
+ * @see [Pulumi API Shield Operation Schema Validation Settings]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/apishieldoperationschemavalidationsettings/}
116
99
  */
117
100
  createApiShieldOperationSchemaValidationSettings(id, scope, props) {
118
101
  if (!props)
119
102
  throw `Props undefined for ${id}`;
120
103
  const zoneId = props.zoneId
121
104
  ? props.zoneId
122
- : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { name: scope.props.domainName })?.zoneId;
123
- const apiShieldOperationSchemaValidationSettings = new ApiShieldOperationSchemaValidationSettings(scope, `${id}`, {
105
+ : scope.zoneManager.resolveZone(`${id}-data-zone`, scope, { filter: { name: scope.props.domainName } })?.id;
106
+ return new cloudflare.ApiShieldOperationSchemaValidationSettings(`${id}`, {
124
107
  ...props,
125
108
  zoneId,
126
109
  });
127
- createCloudflareTfOutput(`${id}-apiShieldOperationSchemaValidationSettingsFriendlyUniqueId`, scope, apiShieldOperationSchemaValidationSettings.friendlyUniqueId);
128
- createCloudflareTfOutput(`${id}-apiShieldOperationSchemaValidationSettingsId`, scope, apiShieldOperationSchemaValidationSettings.id);
129
- return apiShieldOperationSchemaValidationSettings;
130
110
  }
131
111
  }
@@ -1,15 +1,11 @@
1
- import { ApiShieldConfig } from '@cdktf/provider-cloudflare/lib/api-shield/index.js';
2
- import { ApiShieldOperationConfig } from '@cdktf/provider-cloudflare/lib/api-shield-operation/index.js';
3
- import { ApiShieldOperationSchemaValidationSettingsConfig } from '@cdktf/provider-cloudflare/lib/api-shield-operation-schema-validation-settings/index.js';
4
- import { ApiShieldSchemaConfig } from '@cdktf/provider-cloudflare/lib/api-shield-schema/index.js';
5
- import { ApiShieldSchemaValidationSettingsConfig } from '@cdktf/provider-cloudflare/lib/api-shield-schema-validation-settings/index.js';
6
- export interface ApiShieldProps extends ApiShieldConfig {
1
+ import { ApiShieldArgs, ApiShieldOperationArgs, ApiShieldOperationSchemaValidationSettingsArgs, ApiShieldSchemaArgs, ApiShieldSchemaValidationSettingsArgs } from '@pulumi/cloudflare';
2
+ export interface ApiShieldProps extends ApiShieldArgs {
7
3
  }
8
- export interface ApiShieldSchemaProps extends ApiShieldSchemaConfig {
4
+ export interface ApiShieldSchemaProps extends ApiShieldSchemaArgs {
9
5
  }
10
- export interface ApiShieldSchemaValidationSettingsProps extends ApiShieldSchemaValidationSettingsConfig {
6
+ export interface ApiShieldSchemaValidationSettingsProps extends ApiShieldSchemaValidationSettingsArgs {
11
7
  }
12
- export interface ApiShieldOperationProps extends ApiShieldOperationConfig {
8
+ export interface ApiShieldOperationProps extends ApiShieldOperationArgs {
13
9
  }
14
- export interface ApiShieldOperationSchemaValidationSettingsProps extends ApiShieldOperationSchemaValidationSettingsConfig {
10
+ export interface ApiShieldOperationSchemaValidationSettingsProps extends ApiShieldOperationSchemaValidationSettingsArgs {
15
11
  }
@@ -1,5 +1,3 @@
1
- import { ArgoSmartRouting } from '@cdktf/provider-cloudflare/lib/argo-smart-routing/index.js';
2
- import { ArgoTieredCaching } from '@cdktf/provider-cloudflare/lib/argo-tiered-caching/index.js';
3
1
  import { CommonCloudflareConstruct } from '../../common/index.js';
4
2
  import { ArgoSmartRoutingProps, ArgoTieredCachingProps } from './types.js';
5
3
  /**
@@ -21,19 +19,19 @@ import { ArgoSmartRoutingProps, ArgoTieredCachingProps } from './types.js';
21
19
  */
22
20
  export declare class CloudflareArgoManager {
23
21
  /**
24
- * @summary Method to create a new Cloudflare Argo
22
+ * @summary Method to create a new Cloudflare Argo Smart Routing
25
23
  * @param id scoped id of the resource
26
24
  * @param scope scope in which this resource is defined
27
25
  * @param props argo properties
28
- * @see [CDKTF Argo Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/argoSmartRouting.typescript.md}
26
+ * @see [Pulumi Cloudflare ArgoSmartRouting]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/argosmartrouting/}
29
27
  */
30
- createArgoSmartRouting(id: string, scope: CommonCloudflareConstruct, props: ArgoSmartRoutingProps): ArgoSmartRouting;
28
+ createArgoSmartRouting(id: string, scope: CommonCloudflareConstruct, props: ArgoSmartRoutingProps): import("@pulumi/cloudflare/argoSmartRouting.js").ArgoSmartRouting;
31
29
  /**
32
- * @summary Method to create a new Cloudflare Argo
30
+ * @summary Method to create a new Cloudflare Argo Tiered Caching
33
31
  * @param id scoped id of the resource
34
32
  * @param scope scope in which this resource is defined
35
33
  * @param props argo properties
36
- * @see [CDKTF Argo Module]{@link https://github.com/cdktf/cdktf-provider-cloudflare/blob/main/docs/argoTieredCaching.typescript.md}
34
+ * @see [Pulumi Cloudflare ArgoTieredCaching]{@link https://www.pulumi.com/registry/packages/cloudflare/api-docs/argotieredcaching/}
37
35
  */
38
- createArgoTieredCaching(id: string, scope: CommonCloudflareConstruct, props: ArgoTieredCachingProps): ArgoTieredCaching;
36
+ createArgoTieredCaching(id: string, scope: CommonCloudflareConstruct, props: ArgoTieredCachingProps): import("@pulumi/cloudflare/argoTieredCaching.js").ArgoTieredCaching;
39
37
  }