@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.
- package/dist/src/lib/azure/services/api-management/main.d.ts +2 -2
- package/dist/src/lib/azure/services/api-management/main.js +1 -1
- package/dist/src/lib/azure/services/redis/main.d.ts +5 -5
- package/dist/src/lib/azure/services/redis/main.js +10 -10
- package/dist/src/lib/azure/services/redis/types.d.ts +2 -2
- package/dist/src/lib/cloudflare/common/construct.d.ts +7 -19
- package/dist/src/lib/cloudflare/common/construct.js +12 -66
- package/dist/src/lib/cloudflare/common/index.d.ts +0 -1
- package/dist/src/lib/cloudflare/common/index.js +0 -1
- package/dist/src/lib/cloudflare/common/stack.d.ts +11 -21
- package/dist/src/lib/cloudflare/common/stack.js +55 -62
- package/dist/src/lib/cloudflare/common/types.d.ts +2 -14
- package/dist/src/lib/cloudflare/construct/pages-static-site/main.d.ts +8 -10
- package/dist/src/lib/cloudflare/construct/pages-static-site/main.js +18 -25
- package/dist/src/lib/cloudflare/construct/worker-site/main.d.ts +13 -10
- package/dist/src/lib/cloudflare/construct/worker-site/main.js +29 -41
- package/dist/src/lib/cloudflare/index.d.ts +0 -1
- package/dist/src/lib/cloudflare/index.js +0 -1
- package/dist/src/lib/cloudflare/services/access/main.d.ts +31 -43
- package/dist/src/lib/cloudflare/services/access/main.js +56 -83
- package/dist/src/lib/cloudflare/services/access/types.d.ts +12 -22
- package/dist/src/lib/cloudflare/services/api-shield/main.d.ts +10 -15
- package/dist/src/lib/cloudflare/services/api-shield/main.js +16 -36
- package/dist/src/lib/cloudflare/services/api-shield/types.d.ts +6 -10
- package/dist/src/lib/cloudflare/services/argo/main.d.ts +6 -8
- package/dist/src/lib/cloudflare/services/argo/main.js +9 -17
- package/dist/src/lib/cloudflare/services/argo/types.d.ts +3 -4
- package/dist/src/lib/cloudflare/services/filter/main.d.ts +3 -4
- package/dist/src/lib/cloudflare/services/filter/main.js +6 -10
- package/dist/src/lib/cloudflare/services/filter/types.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/firewall/main.d.ts +2 -3
- package/dist/src/lib/cloudflare/services/firewall/main.js +4 -8
- package/dist/src/lib/cloudflare/services/firewall/types.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/page/main.d.ts +7 -11
- package/dist/src/lib/cloudflare/services/page/main.js +13 -26
- package/dist/src/lib/cloudflare/services/page/types.d.ts +4 -6
- package/dist/src/lib/cloudflare/services/record/main.d.ts +2 -3
- package/dist/src/lib/cloudflare/services/record/main.js +4 -8
- package/dist/src/lib/cloudflare/services/record/types.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/rule-set/main.d.ts +5 -6
- package/dist/src/lib/cloudflare/services/rule-set/main.js +7 -10
- package/dist/src/lib/cloudflare/services/rule-set/types.d.ts +2 -2
- package/dist/src/lib/cloudflare/services/worker/main.d.ts +12 -18
- package/dist/src/lib/cloudflare/services/worker/main.js +15 -39
- package/dist/src/lib/cloudflare/services/worker/types.d.ts +7 -12
- package/dist/src/lib/cloudflare/services/zone/main.d.ts +13 -30
- package/dist/src/lib/cloudflare/services/zone/main.js +31 -84
- package/dist/src/lib/cloudflare/services/zone/types.d.ts +10 -20
- package/dist/src/lib/common/types.d.ts +4 -0
- package/package.json +7 -1
- package/src/lib/azure/services/api-management/main.ts +3 -3
- package/src/lib/azure/services/redis/main.ts +11 -11
- package/src/lib/azure/services/redis/types.ts +2 -2
- package/src/lib/cloudflare/common/construct.ts +13 -70
- package/src/lib/cloudflare/common/index.ts +0 -1
- package/src/lib/cloudflare/common/stack.ts +58 -69
- package/src/lib/cloudflare/common/types.ts +2 -15
- package/src/lib/cloudflare/construct/pages-static-site/main.ts +22 -42
- package/src/lib/cloudflare/construct/worker-site/main.ts +38 -62
- package/src/lib/cloudflare/index.ts +0 -1
- package/src/lib/cloudflare/services/access/main.ts +57 -118
- package/src/lib/cloudflare/services/access/types.ts +24 -22
- package/src/lib/cloudflare/services/api-shield/main.ts +16 -63
- package/src/lib/cloudflare/services/api-shield/types.ts +12 -10
- package/src/lib/cloudflare/services/argo/main.ts +9 -23
- package/src/lib/cloudflare/services/argo/types.ts +3 -4
- package/src/lib/cloudflare/services/filter/main.ts +6 -13
- package/src/lib/cloudflare/services/filter/types.ts +2 -2
- package/src/lib/cloudflare/services/firewall/main.ts +4 -11
- package/src/lib/cloudflare/services/firewall/types.ts +2 -2
- package/src/lib/cloudflare/services/page/main.ts +19 -36
- package/src/lib/cloudflare/services/page/types.ts +4 -6
- package/src/lib/cloudflare/services/record/main.ts +4 -11
- package/src/lib/cloudflare/services/record/types.ts +2 -2
- package/src/lib/cloudflare/services/rule-set/main.ts +7 -12
- package/src/lib/cloudflare/services/rule-set/types.ts +2 -2
- package/src/lib/cloudflare/services/worker/main.ts +15 -52
- package/src/lib/cloudflare/services/worker/types.ts +14 -12
- package/src/lib/cloudflare/services/zone/main.ts +40 -103
- package/src/lib/cloudflare/services/zone/types.ts +20 -21
- package/src/lib/common/types.ts +5 -0
- package/dist/src/lib/cloudflare/common/constants.d.ts +0 -5
- package/dist/src/lib/cloudflare/common/constants.js +0 -6
- package/dist/src/lib/cloudflare/utils/index.d.ts +0 -3
- package/dist/src/lib/cloudflare/utils/index.js +0 -13
- package/src/lib/cloudflare/common/constants.ts +0 -5
- package/src/lib/cloudflare/utils/index.ts +0 -23
|
@@ -1,28 +1,16 @@
|
|
|
1
|
-
import
|
|
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
|
|
16
|
-
* - If a custom
|
|
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 {
|
|
8
|
+
* import { CommonCloudflareComponent, CloudflareAccessManager } from '@gradientedge/cdk-utils'
|
|
20
9
|
*
|
|
21
|
-
* class
|
|
22
|
-
* constructor(
|
|
23
|
-
* super(
|
|
24
|
-
* this.
|
|
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 [
|
|
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, {
|
|
44
|
-
|
|
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
|
|
59
|
-
* @see [
|
|
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, {
|
|
67
|
-
|
|
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 [
|
|
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
|
-
|
|
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 [
|
|
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, {
|
|
107
|
-
|
|
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 [
|
|
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, {
|
|
129
|
-
|
|
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 [
|
|
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, {
|
|
151
|
-
|
|
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 [
|
|
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, {
|
|
173
|
-
|
|
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 [
|
|
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
|
-
|
|
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 [
|
|
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, {
|
|
213
|
-
|
|
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 [
|
|
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, {
|
|
235
|
-
|
|
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 [
|
|
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
|
-
|
|
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 {
|
|
2
|
-
|
|
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
|
|
4
|
+
export interface ZeroTrustAccessShortLivedCertificateProps extends ZeroTrustAccessShortLivedCertificateArgs {
|
|
15
5
|
}
|
|
16
|
-
export interface ZeroTrustAccessCustomPageProps extends
|
|
6
|
+
export interface ZeroTrustAccessCustomPageProps extends ZeroTrustAccessCustomPageArgs {
|
|
17
7
|
}
|
|
18
|
-
export interface ZeroTrustAccessGroupProps extends
|
|
8
|
+
export interface ZeroTrustAccessGroupProps extends ZeroTrustAccessGroupArgs {
|
|
19
9
|
}
|
|
20
|
-
export interface ZeroTrustAccessIdentityProviderProps extends
|
|
10
|
+
export interface ZeroTrustAccessIdentityProviderProps extends ZeroTrustAccessIdentityProviderArgs {
|
|
21
11
|
}
|
|
22
|
-
export interface ZeroTrustAccessMtlsCertificateProps extends
|
|
12
|
+
export interface ZeroTrustAccessMtlsCertificateProps extends ZeroTrustAccessMtlsCertificateArgs {
|
|
23
13
|
}
|
|
24
|
-
export interface ZeroTrustOrganizationProps extends
|
|
14
|
+
export interface ZeroTrustOrganizationProps extends ZeroTrustOrganizationArgs {
|
|
25
15
|
}
|
|
26
|
-
export interface ZeroTrustAccessPolicyProps extends
|
|
16
|
+
export interface ZeroTrustAccessPolicyProps extends ZeroTrustAccessPolicyArgs {
|
|
27
17
|
}
|
|
28
|
-
export interface AccessRuleProps extends
|
|
18
|
+
export interface AccessRuleProps extends AccessRuleArgs {
|
|
29
19
|
}
|
|
30
|
-
export interface ZeroTrustAccessServiceTokenProps extends
|
|
20
|
+
export interface ZeroTrustAccessServiceTokenProps extends ZeroTrustAccessServiceTokenArgs {
|
|
31
21
|
}
|
|
32
|
-
export interface ZeroTrustAccessTagProps extends
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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
|
|
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 [
|
|
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 })?.
|
|
38
|
-
|
|
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 [
|
|
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 })?.
|
|
59
|
-
|
|
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 [
|
|
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 })?.
|
|
81
|
-
|
|
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 [
|
|
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 })?.
|
|
102
|
-
|
|
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 [
|
|
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 })?.
|
|
123
|
-
|
|
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 {
|
|
2
|
-
|
|
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
|
|
4
|
+
export interface ApiShieldSchemaProps extends ApiShieldSchemaArgs {
|
|
9
5
|
}
|
|
10
|
-
export interface ApiShieldSchemaValidationSettingsProps extends
|
|
6
|
+
export interface ApiShieldSchemaValidationSettingsProps extends ApiShieldSchemaValidationSettingsArgs {
|
|
11
7
|
}
|
|
12
|
-
export interface ApiShieldOperationProps extends
|
|
8
|
+
export interface ApiShieldOperationProps extends ApiShieldOperationArgs {
|
|
13
9
|
}
|
|
14
|
-
export interface ApiShieldOperationSchemaValidationSettingsProps extends
|
|
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 [
|
|
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 [
|
|
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
|
}
|