@pierskarsenbarg/sdm 1.31.0 → 1.33.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/account.d.ts +7 -10
- package/account.js +4 -4
- package/account.js.map +1 -1
- package/accountAttachment.d.ts +1 -1
- package/accountAttachment.js +1 -1
- package/accountGroup.d.ts +87 -0
- package/accountGroup.js +84 -0
- package/accountGroup.js.map +1 -0
- package/approvalWorkflow.d.ts +16 -6
- package/approvalWorkflow.js +16 -6
- package/approvalWorkflow.js.map +1 -1
- package/getAccount.d.ts +10 -10
- package/getAccount.js +8 -8
- package/getAccountGroup.d.ts +101 -0
- package/getAccountGroup.js +66 -0
- package/getAccountGroup.js.map +1 -0
- package/getApprovalWorkflow.d.ts +4 -4
- package/getApprovalWorkflow.js +4 -4
- package/getGroup.d.ts +127 -0
- package/getGroup.js +72 -0
- package/getGroup.js.map +1 -0
- package/getGroupRole.d.ts +101 -0
- package/getGroupRole.js +66 -0
- package/getGroupRole.js.map +1 -0
- package/getNode.d.ts +6 -6
- package/getNode.js +4 -4
- package/getResource.d.ts +6 -6
- package/getResource.js +4 -4
- package/getRole.d.ts +2 -0
- package/getRole.js +2 -0
- package/getRole.js.map +1 -1
- package/getSecretEngine.d.ts +74 -2
- package/getSecretEngine.js +12 -0
- package/getSecretEngine.js.map +1 -1
- package/getSecretStore.d.ts +2 -2
- package/getWorkflow.d.ts +38 -0
- package/getWorkflow.js +38 -0
- package/getWorkflow.js.map +1 -1
- package/getWorkflowRole.d.ts +14 -4
- package/getWorkflowRole.js +14 -4
- package/getWorkflowRole.js.map +1 -1
- package/group.d.ts +113 -0
- package/group.js +82 -0
- package/group.js.map +1 -0
- package/groupRole.d.ts +87 -0
- package/groupRole.js +84 -0
- package/groupRole.js.map +1 -0
- package/identityAlias.d.ts +13 -0
- package/identityAlias.js +13 -0
- package/identityAlias.js.map +1 -1
- package/identitySet.d.ts +1 -1
- package/identitySet.js +1 -1
- package/index.d.ts +18 -0
- package/index.js +26 -2
- package/index.js.map +1 -1
- package/node.d.ts +4 -4
- package/node.js +4 -4
- package/package.json +1 -1
- package/policy.d.ts +3 -4
- package/policy.js +3 -4
- package/policy.js.map +1 -1
- package/proxyClusterKey.d.ts +1 -1
- package/proxyClusterKey.js +1 -1
- package/remoteIdentity.d.ts +13 -0
- package/remoteIdentity.js +13 -0
- package/remoteIdentity.js.map +1 -1
- package/resource.d.ts +15 -24
- package/resource.js +2 -0
- package/resource.js.map +1 -1
- package/role.d.ts +66 -17
- package/role.js +66 -17
- package/role.js.map +1 -1
- package/secretEngine.d.ts +9 -15
- package/secretEngine.js +2 -0
- package/secretEngine.js.map +1 -1
- package/secretStore.d.ts +63 -6
- package/secretStore.js +10 -0
- package/secretStore.js.map +1 -1
- package/types/input.d.ts +397 -117
- package/types/output.d.ts +887 -252
- package/workflow.d.ts +48 -0
- package/workflow.js +48 -0
- package/workflow.js.map +1 -1
- package/workflowRole.d.ts +7 -3
- package/workflowRole.js +7 -3
- package/workflowRole.js.map +1 -1
package/getRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AAiDD;;;;;GAKG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAAiC;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2BAA2B,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC"}
|
package/getSecretEngine.d.ts
CHANGED
|
@@ -24,10 +24,18 @@ export interface GetSecretEngineArgs {
|
|
|
24
24
|
* Timeout, in seconds, when attempting to connect to the LDAP server before trying the next URL in the configuration.
|
|
25
25
|
*/
|
|
26
26
|
connectionTimeout?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Database is the database to verify credential against.
|
|
29
|
+
*/
|
|
30
|
+
database?: string;
|
|
27
31
|
/**
|
|
28
32
|
* If set to true this will prevent password change timestamp validation in Active Directory when validating credentials
|
|
29
33
|
*/
|
|
30
34
|
doNotValidateTimestamps?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Hostname is the hostname or IP address of the Postgres server.
|
|
37
|
+
*/
|
|
38
|
+
hostname?: string;
|
|
31
39
|
/**
|
|
32
40
|
* Unique identifier of the Secret Engine.
|
|
33
41
|
*/
|
|
@@ -44,6 +52,14 @@ export interface GetSecretEngineArgs {
|
|
|
44
52
|
* Unique human-readable name of the Secret Engine.
|
|
45
53
|
*/
|
|
46
54
|
name?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Password is the password to connect to the Postgres server.
|
|
57
|
+
*/
|
|
58
|
+
password?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Port is the port number of the Postgres server.
|
|
61
|
+
*/
|
|
62
|
+
port?: number;
|
|
47
63
|
/**
|
|
48
64
|
* Timeout, in seconds, for the connection when making requests against the server before returning back an error.
|
|
49
65
|
*/
|
|
@@ -67,7 +83,11 @@ export interface GetSecretEngineArgs {
|
|
|
67
83
|
[key: string]: string;
|
|
68
84
|
};
|
|
69
85
|
/**
|
|
70
|
-
*
|
|
86
|
+
* TLS enables TLS/SSL when connecting to the Postgres server.
|
|
87
|
+
*/
|
|
88
|
+
tls?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
|
|
71
91
|
*/
|
|
72
92
|
type?: string;
|
|
73
93
|
/**
|
|
@@ -82,6 +102,10 @@ export interface GetSecretEngineArgs {
|
|
|
82
102
|
* Base DN under which to perform user search. Example: ou=Users,dc=example,dc=com
|
|
83
103
|
*/
|
|
84
104
|
userdn?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Username is the username to connect to the Postgres server.
|
|
107
|
+
*/
|
|
108
|
+
username?: string;
|
|
85
109
|
}
|
|
86
110
|
/**
|
|
87
111
|
* A collection of values returned by getSecretEngine.
|
|
@@ -103,10 +127,18 @@ export interface GetSecretEngineResult {
|
|
|
103
127
|
* Timeout, in seconds, when attempting to connect to the LDAP server before trying the next URL in the configuration.
|
|
104
128
|
*/
|
|
105
129
|
readonly connectionTimeout?: number;
|
|
130
|
+
/**
|
|
131
|
+
* Database is the database to verify credential against.
|
|
132
|
+
*/
|
|
133
|
+
readonly database?: string;
|
|
106
134
|
/**
|
|
107
135
|
* If set to true this will prevent password change timestamp validation in Active Directory when validating credentials
|
|
108
136
|
*/
|
|
109
137
|
readonly doNotValidateTimestamps?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Hostname is the hostname or IP address of the Postgres server.
|
|
140
|
+
*/
|
|
141
|
+
readonly hostname?: string;
|
|
110
142
|
/**
|
|
111
143
|
* Unique identifier of the Secret Engine.
|
|
112
144
|
*/
|
|
@@ -127,6 +159,14 @@ export interface GetSecretEngineResult {
|
|
|
127
159
|
* Unique human-readable name of the Secret Engine.
|
|
128
160
|
*/
|
|
129
161
|
readonly name?: string;
|
|
162
|
+
/**
|
|
163
|
+
* Password is the password to connect to the Postgres server.
|
|
164
|
+
*/
|
|
165
|
+
readonly password?: string;
|
|
166
|
+
/**
|
|
167
|
+
* Port is the port number of the Postgres server.
|
|
168
|
+
*/
|
|
169
|
+
readonly port?: number;
|
|
130
170
|
/**
|
|
131
171
|
* Timeout, in seconds, for the connection when making requests against the server before returning back an error.
|
|
132
172
|
*/
|
|
@@ -154,6 +194,10 @@ export interface GetSecretEngineResult {
|
|
|
154
194
|
readonly tags?: {
|
|
155
195
|
[key: string]: string;
|
|
156
196
|
};
|
|
197
|
+
/**
|
|
198
|
+
* TLS enables TLS/SSL when connecting to the Postgres server.
|
|
199
|
+
*/
|
|
200
|
+
readonly tls?: boolean;
|
|
157
201
|
readonly type?: string;
|
|
158
202
|
/**
|
|
159
203
|
* The domain (userPrincipalDomain) used to construct a UPN string for authentication.
|
|
@@ -168,6 +212,10 @@ export interface GetSecretEngineResult {
|
|
|
168
212
|
* * key_value:
|
|
169
213
|
*/
|
|
170
214
|
readonly userdn?: string;
|
|
215
|
+
/**
|
|
216
|
+
* Username is the username to connect to the Postgres server.
|
|
217
|
+
*/
|
|
218
|
+
readonly username?: string;
|
|
171
219
|
}
|
|
172
220
|
/**
|
|
173
221
|
* A SecretEngine is managing secrets in SecretStores.
|
|
@@ -193,10 +241,18 @@ export interface GetSecretEngineOutputArgs {
|
|
|
193
241
|
* Timeout, in seconds, when attempting to connect to the LDAP server before trying the next URL in the configuration.
|
|
194
242
|
*/
|
|
195
243
|
connectionTimeout?: pulumi.Input<number>;
|
|
244
|
+
/**
|
|
245
|
+
* Database is the database to verify credential against.
|
|
246
|
+
*/
|
|
247
|
+
database?: pulumi.Input<string>;
|
|
196
248
|
/**
|
|
197
249
|
* If set to true this will prevent password change timestamp validation in Active Directory when validating credentials
|
|
198
250
|
*/
|
|
199
251
|
doNotValidateTimestamps?: pulumi.Input<boolean>;
|
|
252
|
+
/**
|
|
253
|
+
* Hostname is the hostname or IP address of the Postgres server.
|
|
254
|
+
*/
|
|
255
|
+
hostname?: pulumi.Input<string>;
|
|
200
256
|
/**
|
|
201
257
|
* Unique identifier of the Secret Engine.
|
|
202
258
|
*/
|
|
@@ -213,6 +269,14 @@ export interface GetSecretEngineOutputArgs {
|
|
|
213
269
|
* Unique human-readable name of the Secret Engine.
|
|
214
270
|
*/
|
|
215
271
|
name?: pulumi.Input<string>;
|
|
272
|
+
/**
|
|
273
|
+
* Password is the password to connect to the Postgres server.
|
|
274
|
+
*/
|
|
275
|
+
password?: pulumi.Input<string>;
|
|
276
|
+
/**
|
|
277
|
+
* Port is the port number of the Postgres server.
|
|
278
|
+
*/
|
|
279
|
+
port?: pulumi.Input<number>;
|
|
216
280
|
/**
|
|
217
281
|
* Timeout, in seconds, for the connection when making requests against the server before returning back an error.
|
|
218
282
|
*/
|
|
@@ -236,7 +300,11 @@ export interface GetSecretEngineOutputArgs {
|
|
|
236
300
|
[key: string]: pulumi.Input<string>;
|
|
237
301
|
}>;
|
|
238
302
|
/**
|
|
239
|
-
*
|
|
303
|
+
* TLS enables TLS/SSL when connecting to the Postgres server.
|
|
304
|
+
*/
|
|
305
|
+
tls?: pulumi.Input<boolean>;
|
|
306
|
+
/**
|
|
307
|
+
* a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
|
|
240
308
|
*/
|
|
241
309
|
type?: pulumi.Input<string>;
|
|
242
310
|
/**
|
|
@@ -251,4 +319,8 @@ export interface GetSecretEngineOutputArgs {
|
|
|
251
319
|
* Base DN under which to perform user search. Example: ou=Users,dc=example,dc=com
|
|
252
320
|
*/
|
|
253
321
|
userdn?: pulumi.Input<string>;
|
|
322
|
+
/**
|
|
323
|
+
* Username is the username to connect to the Postgres server.
|
|
324
|
+
*/
|
|
325
|
+
username?: pulumi.Input<string>;
|
|
254
326
|
}
|
package/getSecretEngine.js
CHANGED
|
@@ -16,20 +16,26 @@ function getSecretEngine(args, opts) {
|
|
|
16
16
|
"bindpass": args.bindpass,
|
|
17
17
|
"certificate": args.certificate,
|
|
18
18
|
"connectionTimeout": args.connectionTimeout,
|
|
19
|
+
"database": args.database,
|
|
19
20
|
"doNotValidateTimestamps": args.doNotValidateTimestamps,
|
|
21
|
+
"hostname": args.hostname,
|
|
20
22
|
"id": args.id,
|
|
21
23
|
"insecureTls": args.insecureTls,
|
|
22
24
|
"keyRotationIntervalDays": args.keyRotationIntervalDays,
|
|
23
25
|
"name": args.name,
|
|
26
|
+
"password": args.password,
|
|
27
|
+
"port": args.port,
|
|
24
28
|
"requestTimeout": args.requestTimeout,
|
|
25
29
|
"secretStoreId": args.secretStoreId,
|
|
26
30
|
"secretStoreRootPath": args.secretStoreRootPath,
|
|
27
31
|
"startTls": args.startTls,
|
|
28
32
|
"tags": args.tags,
|
|
33
|
+
"tls": args.tls,
|
|
29
34
|
"type": args.type,
|
|
30
35
|
"upndomain": args.upndomain,
|
|
31
36
|
"url": args.url,
|
|
32
37
|
"userdn": args.userdn,
|
|
38
|
+
"username": args.username,
|
|
33
39
|
}, opts);
|
|
34
40
|
}
|
|
35
41
|
exports.getSecretEngine = getSecretEngine;
|
|
@@ -44,20 +50,26 @@ function getSecretEngineOutput(args, opts) {
|
|
|
44
50
|
"bindpass": args.bindpass,
|
|
45
51
|
"certificate": args.certificate,
|
|
46
52
|
"connectionTimeout": args.connectionTimeout,
|
|
53
|
+
"database": args.database,
|
|
47
54
|
"doNotValidateTimestamps": args.doNotValidateTimestamps,
|
|
55
|
+
"hostname": args.hostname,
|
|
48
56
|
"id": args.id,
|
|
49
57
|
"insecureTls": args.insecureTls,
|
|
50
58
|
"keyRotationIntervalDays": args.keyRotationIntervalDays,
|
|
51
59
|
"name": args.name,
|
|
60
|
+
"password": args.password,
|
|
61
|
+
"port": args.port,
|
|
52
62
|
"requestTimeout": args.requestTimeout,
|
|
53
63
|
"secretStoreId": args.secretStoreId,
|
|
54
64
|
"secretStoreRootPath": args.secretStoreRootPath,
|
|
55
65
|
"startTls": args.startTls,
|
|
56
66
|
"tags": args.tags,
|
|
67
|
+
"tls": args.tls,
|
|
57
68
|
"type": args.type,
|
|
58
69
|
"upndomain": args.upndomain,
|
|
59
70
|
"url": args.url,
|
|
60
71
|
"userdn": args.userdn,
|
|
72
|
+
"username": args.username,
|
|
61
73
|
}, opts);
|
|
62
74
|
}
|
|
63
75
|
exports.getSecretEngineOutput = getSecretEngineOutput;
|
package/getSecretEngine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSecretEngine.js","sourceRoot":"","sources":["../getSecretEngine.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,aAAa,EAAE,IAAI,CAAC,WAAW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AAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA7BD,sDA6BC"}
|
package/getSecretStore.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface GetSecretStoreArgs {
|
|
|
24
24
|
[key: string]: string;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* a filter to select all items of a certain subtype. See the [filter documentation](https://
|
|
27
|
+
* a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
|
|
28
28
|
*/
|
|
29
29
|
type?: string;
|
|
30
30
|
}
|
|
@@ -81,7 +81,7 @@ export interface GetSecretStoreOutputArgs {
|
|
|
81
81
|
[key: string]: pulumi.Input<string>;
|
|
82
82
|
}>;
|
|
83
83
|
/**
|
|
84
|
-
* a filter to select all items of a certain subtype. See the [filter documentation](https://
|
|
84
|
+
* a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
|
|
85
85
|
*/
|
|
86
86
|
type?: pulumi.Input<string>;
|
|
87
87
|
}
|
package/getWorkflow.d.ts
CHANGED
|
@@ -4,6 +4,25 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
* Workflows are the collection of rules that define the resources to which access can be requested,
|
|
5
5
|
* the users that can request that access, and the mechanism for approving those requests which can either
|
|
6
6
|
* but automatic approval or a set of users authorized to approve the requests.
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
12
|
+
*
|
|
13
|
+
* // Query workflow by name
|
|
14
|
+
* const workflowByName = sdm.getWorkflow({
|
|
15
|
+
* name: "workflow example",
|
|
16
|
+
* });
|
|
17
|
+
* // Query workflow by ID
|
|
18
|
+
* const workflowById = sdm.getWorkflow({
|
|
19
|
+
* id: "w-1234567890abcdef",
|
|
20
|
+
* });
|
|
21
|
+
* // Query workflow by approval flow ID
|
|
22
|
+
* const workflowByApprovalFlow = sdm.getWorkflow({
|
|
23
|
+
* approvalFlowId: "aw-1234567890abcdef",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
7
26
|
*/
|
|
8
27
|
export declare function getWorkflow(args?: GetWorkflowArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkflowResult>;
|
|
9
28
|
/**
|
|
@@ -104,6 +123,25 @@ export interface GetWorkflowResult {
|
|
|
104
123
|
* Workflows are the collection of rules that define the resources to which access can be requested,
|
|
105
124
|
* the users that can request that access, and the mechanism for approving those requests which can either
|
|
106
125
|
* but automatic approval or a set of users authorized to approve the requests.
|
|
126
|
+
* ## Example Usage
|
|
127
|
+
*
|
|
128
|
+
* ```typescript
|
|
129
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
130
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
131
|
+
*
|
|
132
|
+
* // Query workflow by name
|
|
133
|
+
* const workflowByName = sdm.getWorkflow({
|
|
134
|
+
* name: "workflow example",
|
|
135
|
+
* });
|
|
136
|
+
* // Query workflow by ID
|
|
137
|
+
* const workflowById = sdm.getWorkflow({
|
|
138
|
+
* id: "w-1234567890abcdef",
|
|
139
|
+
* });
|
|
140
|
+
* // Query workflow by approval flow ID
|
|
141
|
+
* const workflowByApprovalFlow = sdm.getWorkflow({
|
|
142
|
+
* approvalFlowId: "aw-1234567890abcdef",
|
|
143
|
+
* });
|
|
144
|
+
* ```
|
|
107
145
|
*/
|
|
108
146
|
export declare function getWorkflowOutput(args?: GetWorkflowOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkflowResult>;
|
|
109
147
|
/**
|
package/getWorkflow.js
CHANGED
|
@@ -9,6 +9,25 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* Workflows are the collection of rules that define the resources to which access can be requested,
|
|
10
10
|
* the users that can request that access, and the mechanism for approving those requests which can either
|
|
11
11
|
* but automatic approval or a set of users authorized to approve the requests.
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
17
|
+
*
|
|
18
|
+
* // Query workflow by name
|
|
19
|
+
* const workflowByName = sdm.getWorkflow({
|
|
20
|
+
* name: "workflow example",
|
|
21
|
+
* });
|
|
22
|
+
* // Query workflow by ID
|
|
23
|
+
* const workflowById = sdm.getWorkflow({
|
|
24
|
+
* id: "w-1234567890abcdef",
|
|
25
|
+
* });
|
|
26
|
+
* // Query workflow by approval flow ID
|
|
27
|
+
* const workflowByApprovalFlow = sdm.getWorkflow({
|
|
28
|
+
* approvalFlowId: "aw-1234567890abcdef",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
12
31
|
*/
|
|
13
32
|
function getWorkflow(args, opts) {
|
|
14
33
|
args = args || {};
|
|
@@ -30,6 +49,25 @@ exports.getWorkflow = getWorkflow;
|
|
|
30
49
|
* Workflows are the collection of rules that define the resources to which access can be requested,
|
|
31
50
|
* the users that can request that access, and the mechanism for approving those requests which can either
|
|
32
51
|
* but automatic approval or a set of users authorized to approve the requests.
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
57
|
+
*
|
|
58
|
+
* // Query workflow by name
|
|
59
|
+
* const workflowByName = sdm.getWorkflow({
|
|
60
|
+
* name: "workflow example",
|
|
61
|
+
* });
|
|
62
|
+
* // Query workflow by ID
|
|
63
|
+
* const workflowById = sdm.getWorkflow({
|
|
64
|
+
* id: "w-1234567890abcdef",
|
|
65
|
+
* });
|
|
66
|
+
* // Query workflow by approval flow ID
|
|
67
|
+
* const workflowByApprovalFlow = sdm.getWorkflow({
|
|
68
|
+
* approvalFlowId: "aw-1234567890abcdef",
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
33
71
|
*/
|
|
34
72
|
function getWorkflowOutput(args, opts) {
|
|
35
73
|
args = args || {};
|
package/getWorkflow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkflow.js","sourceRoot":"","sources":["../getWorkflow.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getWorkflow.js","sourceRoot":"","sources":["../getWorkflow.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kCAcC;AAiGD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAAiC;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,8CAcC"}
|
package/getWorkflowRole.d.ts
CHANGED
|
@@ -9,9 +9,14 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
11
11
|
*
|
|
12
|
+
* // Query workflow role by workflow and role IDs
|
|
12
13
|
* const workflowRoleQuery = sdm.getWorkflowRole({
|
|
13
|
-
*
|
|
14
|
-
*
|
|
14
|
+
* workflowId: "w-1234567890abcdef",
|
|
15
|
+
* roleId: "r-1234567890abcdef",
|
|
16
|
+
* });
|
|
17
|
+
* // Query workflow role by specific ID
|
|
18
|
+
* const workflowRoleById = sdm.getWorkflowRole({
|
|
19
|
+
* id: "wr-1234567890abcdef",
|
|
15
20
|
* });
|
|
16
21
|
* ```
|
|
17
22
|
*/
|
|
@@ -67,9 +72,14 @@ export interface GetWorkflowRoleResult {
|
|
|
67
72
|
* import * as pulumi from "@pulumi/pulumi";
|
|
68
73
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
69
74
|
*
|
|
75
|
+
* // Query workflow role by workflow and role IDs
|
|
70
76
|
* const workflowRoleQuery = sdm.getWorkflowRole({
|
|
71
|
-
*
|
|
72
|
-
*
|
|
77
|
+
* workflowId: "w-1234567890abcdef",
|
|
78
|
+
* roleId: "r-1234567890abcdef",
|
|
79
|
+
* });
|
|
80
|
+
* // Query workflow role by specific ID
|
|
81
|
+
* const workflowRoleById = sdm.getWorkflowRole({
|
|
82
|
+
* id: "wr-1234567890abcdef",
|
|
73
83
|
* });
|
|
74
84
|
* ```
|
|
75
85
|
*/
|
package/getWorkflowRole.js
CHANGED
|
@@ -14,9 +14,14 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
16
16
|
*
|
|
17
|
+
* // Query workflow role by workflow and role IDs
|
|
17
18
|
* const workflowRoleQuery = sdm.getWorkflowRole({
|
|
18
|
-
*
|
|
19
|
-
*
|
|
19
|
+
* workflowId: "w-1234567890abcdef",
|
|
20
|
+
* roleId: "r-1234567890abcdef",
|
|
21
|
+
* });
|
|
22
|
+
* // Query workflow role by specific ID
|
|
23
|
+
* const workflowRoleById = sdm.getWorkflowRole({
|
|
24
|
+
* id: "wr-1234567890abcdef",
|
|
20
25
|
* });
|
|
21
26
|
* ```
|
|
22
27
|
*/
|
|
@@ -39,9 +44,14 @@ exports.getWorkflowRole = getWorkflowRole;
|
|
|
39
44
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
45
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
41
46
|
*
|
|
47
|
+
* // Query workflow role by workflow and role IDs
|
|
42
48
|
* const workflowRoleQuery = sdm.getWorkflowRole({
|
|
43
|
-
*
|
|
44
|
-
*
|
|
49
|
+
* workflowId: "w-1234567890abcdef",
|
|
50
|
+
* roleId: "r-1234567890abcdef",
|
|
51
|
+
* });
|
|
52
|
+
* // Query workflow role by specific ID
|
|
53
|
+
* const workflowRoleById = sdm.getWorkflowRole({
|
|
54
|
+
* id: "wr-1234567890abcdef",
|
|
45
55
|
* });
|
|
46
56
|
* ```
|
|
47
57
|
*/
|
package/getWorkflowRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkflowRole.js","sourceRoot":"","sources":["../getWorkflowRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getWorkflowRole.js","sourceRoot":"","sources":["../getWorkflowRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AA6CD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAAiC;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC"}
|
package/group.d.ts
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* A Group is a named set of principals.
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
9
|
+
*
|
|
10
|
+
* const securityTeam = new sdm.Group("security_team", {
|
|
11
|
+
* name: "Security Team",
|
|
12
|
+
* tags: {
|
|
13
|
+
* admin: "true",
|
|
14
|
+
* },
|
|
15
|
+
* });
|
|
16
|
+
* const administrators = new sdm.Group("administrators", {name: "Administrators"});
|
|
17
|
+
* const devopsTeam = new sdm.Group("devops_team", {name: "DevOps Team"});
|
|
18
|
+
* ```
|
|
19
|
+
* This resource can be imported using the import command.
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* A Group can be imported using the id, e.g.,
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import sdm:index/group:Group example group-12345678
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class Group extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is Group;
|
|
45
|
+
/**
|
|
46
|
+
* Description of the Group.
|
|
47
|
+
*/
|
|
48
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* Unique human-readable name of the Group.
|
|
51
|
+
*/
|
|
52
|
+
readonly name: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Source is a read only field for what service manages this group, e.g. StrongDM, Okta, Azure.
|
|
55
|
+
*/
|
|
56
|
+
readonly source: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Tags is a map of key/value pairs that can be attached to a Group.
|
|
59
|
+
*/
|
|
60
|
+
readonly tags: pulumi.Output<{
|
|
61
|
+
[key: string]: string;
|
|
62
|
+
} | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a Group resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args?: GroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering Group resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface GroupState {
|
|
76
|
+
/**
|
|
77
|
+
* Description of the Group.
|
|
78
|
+
*/
|
|
79
|
+
description?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Unique human-readable name of the Group.
|
|
82
|
+
*/
|
|
83
|
+
name?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Source is a read only field for what service manages this group, e.g. StrongDM, Okta, Azure.
|
|
86
|
+
*/
|
|
87
|
+
source?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Tags is a map of key/value pairs that can be attached to a Group.
|
|
90
|
+
*/
|
|
91
|
+
tags?: pulumi.Input<{
|
|
92
|
+
[key: string]: pulumi.Input<string>;
|
|
93
|
+
}>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The set of arguments for constructing a Group resource.
|
|
97
|
+
*/
|
|
98
|
+
export interface GroupArgs {
|
|
99
|
+
/**
|
|
100
|
+
* Description of the Group.
|
|
101
|
+
*/
|
|
102
|
+
description?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Unique human-readable name of the Group.
|
|
105
|
+
*/
|
|
106
|
+
name?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Tags is a map of key/value pairs that can be attached to a Group.
|
|
109
|
+
*/
|
|
110
|
+
tags?: pulumi.Input<{
|
|
111
|
+
[key: string]: pulumi.Input<string>;
|
|
112
|
+
}>;
|
|
113
|
+
}
|
package/group.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
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.Group = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A Group is a named set of principals.
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
15
|
+
*
|
|
16
|
+
* const securityTeam = new sdm.Group("security_team", {
|
|
17
|
+
* name: "Security Team",
|
|
18
|
+
* tags: {
|
|
19
|
+
* admin: "true",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* const administrators = new sdm.Group("administrators", {name: "Administrators"});
|
|
23
|
+
* const devopsTeam = new sdm.Group("devops_team", {name: "DevOps Team"});
|
|
24
|
+
* ```
|
|
25
|
+
* This resource can be imported using the import command.
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* A Group can be imported using the id, e.g.,
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import sdm:index/group:Group example group-12345678
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class Group extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new Group(name, state, { ...opts, id: id });
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === Group.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["description"] = state?.description;
|
|
64
|
+
resourceInputs["name"] = state?.name;
|
|
65
|
+
resourceInputs["source"] = state?.source;
|
|
66
|
+
resourceInputs["tags"] = state?.tags;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
resourceInputs["description"] = args?.description;
|
|
71
|
+
resourceInputs["name"] = args?.name;
|
|
72
|
+
resourceInputs["tags"] = args?.tags;
|
|
73
|
+
resourceInputs["source"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(Group.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.Group = Group;
|
|
80
|
+
/** @internal */
|
|
81
|
+
Group.__pulumiType = 'sdm:index/group:Group';
|
|
82
|
+
//# sourceMappingURL=group.js.map
|
package/group.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,M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