@pierskarsenbarg/sdm 1.30.0 → 1.32.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 +3 -6
- package/account.js +5 -5
- package/account.js.map +1 -1
- package/accountAttachment.js +7 -7
- package/accountAttachment.js.map +1 -1
- package/accountGroup.d.ts +87 -0
- package/accountGroup.js +84 -0
- package/accountGroup.js.map +1 -0
- package/approvalWorkflow.d.ts +6 -0
- package/approvalWorkflow.js +16 -10
- package/approvalWorkflow.js.map +1 -1
- package/getAccount.d.ts +2 -2
- package/getAccountGroup.d.ts +101 -0
- package/getAccountGroup.js +66 -0
- package/getAccountGroup.js.map +1 -0
- 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 +2 -2
- package/getResource.d.ts +2 -2
- 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 +32 -0
- package/getWorkflow.js +32 -0
- package/getWorkflow.js.map +1 -1
- package/getWorkflowRole.d.ts +10 -4
- package/getWorkflowRole.js +10 -4
- package/getWorkflowRole.js.map +1 -1
- package/group.d.ts +110 -0
- package/group.js +79 -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.js +10 -10
- package/identityAlias.js.map +1 -1
- package/identitySet.js +3 -3
- package/identitySet.js.map +1 -1
- package/index.d.ts +18 -0
- package/index.js +26 -2
- package/index.js.map +1 -1
- package/managedSecret.js +14 -14
- package/managedSecret.js.map +1 -1
- package/managedSecretValue.js +8 -8
- package/managedSecretValue.js.map +1 -1
- package/node.js +7 -7
- package/node.js.map +1 -1
- package/package.json +1 -1
- package/peeringGroup.js +3 -3
- package/peeringGroup.js.map +1 -1
- package/peeringGroupNode.js +5 -5
- package/peeringGroupNode.js.map +1 -1
- package/peeringGroupPeer.js +5 -5
- package/peeringGroupPeer.js.map +1 -1
- package/peeringGroupResource.js +5 -5
- package/peeringGroupResource.js.map +1 -1
- package/policy.js +7 -7
- package/policy.js.map +1 -1
- package/provider.js +4 -4
- package/provider.js.map +1 -1
- package/proxyClusterKey.js +5 -5
- package/proxyClusterKey.js.map +1 -1
- package/remoteIdentity.js +10 -10
- package/remoteIdentity.js.map +1 -1
- package/resource.d.ts +96 -27
- package/resource.js +221 -215
- package/resource.js.map +1 -1
- package/role.d.ts +37 -0
- package/role.js +45 -8
- package/role.js.map +1 -1
- package/secretEngine.d.ts +9 -15
- package/secretEngine.js +7 -5
- package/secretEngine.js.map +1 -1
- package/secretStore.d.ts +3 -6
- package/secretStore.js +47 -47
- package/secretStore.js.map +1 -1
- package/types/input.d.ts +613 -348
- package/types/output.d.ts +1299 -688
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/workflow.d.ts +42 -0
- package/workflow.js +61 -19
- package/workflow.js.map +1 -1
- package/workflowApprover.js +8 -8
- package/workflowApprover.js.map +1 -1
- package/workflowRole.d.ts +6 -2
- package/workflowRole.js +13 -9
- package/workflowRole.js.map +1 -1
package/getWorkflow.d.ts
CHANGED
|
@@ -4,6 +4,22 @@ 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
|
+
* const workflowByName = sdm.getWorkflow({
|
|
14
|
+
* name: "workflow example",
|
|
15
|
+
* });
|
|
16
|
+
* const workflowById = sdm.getWorkflow({
|
|
17
|
+
* id: "w-1234567890abcdef",
|
|
18
|
+
* });
|
|
19
|
+
* const workflowByApprovalFlow = sdm.getWorkflow({
|
|
20
|
+
* approvalFlowId: "aw-1234567890abcdef",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
7
23
|
*/
|
|
8
24
|
export declare function getWorkflow(args?: GetWorkflowArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkflowResult>;
|
|
9
25
|
/**
|
|
@@ -104,6 +120,22 @@ export interface GetWorkflowResult {
|
|
|
104
120
|
* Workflows are the collection of rules that define the resources to which access can be requested,
|
|
105
121
|
* the users that can request that access, and the mechanism for approving those requests which can either
|
|
106
122
|
* but automatic approval or a set of users authorized to approve the requests.
|
|
123
|
+
* ## Example Usage
|
|
124
|
+
*
|
|
125
|
+
* ```typescript
|
|
126
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
127
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
128
|
+
*
|
|
129
|
+
* const workflowByName = sdm.getWorkflow({
|
|
130
|
+
* name: "workflow example",
|
|
131
|
+
* });
|
|
132
|
+
* const workflowById = sdm.getWorkflow({
|
|
133
|
+
* id: "w-1234567890abcdef",
|
|
134
|
+
* });
|
|
135
|
+
* const workflowByApprovalFlow = sdm.getWorkflow({
|
|
136
|
+
* approvalFlowId: "aw-1234567890abcdef",
|
|
137
|
+
* });
|
|
138
|
+
* ```
|
|
107
139
|
*/
|
|
108
140
|
export declare function getWorkflowOutput(args?: GetWorkflowOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkflowResult>;
|
|
109
141
|
/**
|
package/getWorkflow.js
CHANGED
|
@@ -9,6 +9,22 @@ 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
|
+
* const workflowByName = sdm.getWorkflow({
|
|
19
|
+
* name: "workflow example",
|
|
20
|
+
* });
|
|
21
|
+
* const workflowById = sdm.getWorkflow({
|
|
22
|
+
* id: "w-1234567890abcdef",
|
|
23
|
+
* });
|
|
24
|
+
* const workflowByApprovalFlow = sdm.getWorkflow({
|
|
25
|
+
* approvalFlowId: "aw-1234567890abcdef",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
12
28
|
*/
|
|
13
29
|
function getWorkflow(args, opts) {
|
|
14
30
|
args = args || {};
|
|
@@ -30,6 +46,22 @@ exports.getWorkflow = getWorkflow;
|
|
|
30
46
|
* Workflows are the collection of rules that define the resources to which access can be requested,
|
|
31
47
|
* the users that can request that access, and the mechanism for approving those requests which can either
|
|
32
48
|
* but automatic approval or a set of users authorized to approve the requests.
|
|
49
|
+
* ## Example Usage
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
54
|
+
*
|
|
55
|
+
* const workflowByName = sdm.getWorkflow({
|
|
56
|
+
* name: "workflow example",
|
|
57
|
+
* });
|
|
58
|
+
* const workflowById = sdm.getWorkflow({
|
|
59
|
+
* id: "w-1234567890abcdef",
|
|
60
|
+
* });
|
|
61
|
+
* const workflowByApprovalFlow = sdm.getWorkflow({
|
|
62
|
+
* approvalFlowId: "aw-1234567890abcdef",
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
33
65
|
*/
|
|
34
66
|
function getWorkflowOutput(args, opts) {
|
|
35
67
|
args = args || {};
|
package/getWorkflow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkflow.js","sourceRoot":"","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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
|
@@ -10,8 +10,11 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
11
11
|
*
|
|
12
12
|
* const workflowRoleQuery = sdm.getWorkflowRole({
|
|
13
|
-
* roleId: "r-
|
|
14
|
-
* workflowId: "
|
|
13
|
+
* roleId: "r-1234567890abcdef",
|
|
14
|
+
* workflowId: "w-1234567890abcdef",
|
|
15
|
+
* });
|
|
16
|
+
* const workflowRoleById = sdm.getWorkflowRole({
|
|
17
|
+
* id: "wr-1234567890abcdef",
|
|
15
18
|
* });
|
|
16
19
|
* ```
|
|
17
20
|
*/
|
|
@@ -68,8 +71,11 @@ export interface GetWorkflowRoleResult {
|
|
|
68
71
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
69
72
|
*
|
|
70
73
|
* const workflowRoleQuery = sdm.getWorkflowRole({
|
|
71
|
-
* roleId: "r-
|
|
72
|
-
* workflowId: "
|
|
74
|
+
* roleId: "r-1234567890abcdef",
|
|
75
|
+
* workflowId: "w-1234567890abcdef",
|
|
76
|
+
* });
|
|
77
|
+
* const workflowRoleById = sdm.getWorkflowRole({
|
|
78
|
+
* id: "wr-1234567890abcdef",
|
|
73
79
|
* });
|
|
74
80
|
* ```
|
|
75
81
|
*/
|
package/getWorkflowRole.js
CHANGED
|
@@ -15,8 +15,11 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
16
16
|
*
|
|
17
17
|
* const workflowRoleQuery = sdm.getWorkflowRole({
|
|
18
|
-
* roleId: "r-
|
|
19
|
-
* workflowId: "
|
|
18
|
+
* roleId: "r-1234567890abcdef",
|
|
19
|
+
* workflowId: "w-1234567890abcdef",
|
|
20
|
+
* });
|
|
21
|
+
* const workflowRoleById = sdm.getWorkflowRole({
|
|
22
|
+
* id: "wr-1234567890abcdef",
|
|
20
23
|
* });
|
|
21
24
|
* ```
|
|
22
25
|
*/
|
|
@@ -40,8 +43,11 @@ exports.getWorkflowRole = getWorkflowRole;
|
|
|
40
43
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
41
44
|
*
|
|
42
45
|
* const workflowRoleQuery = sdm.getWorkflowRole({
|
|
43
|
-
* roleId: "r-
|
|
44
|
-
* workflowId: "
|
|
46
|
+
* roleId: "r-1234567890abcdef",
|
|
47
|
+
* workflowId: "w-1234567890abcdef",
|
|
48
|
+
* });
|
|
49
|
+
* const workflowRoleById = sdm.getWorkflowRole({
|
|
50
|
+
* id: "wr-1234567890abcdef",
|
|
45
51
|
* });
|
|
46
52
|
* ```
|
|
47
53
|
*/
|
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;;;;;;;;;;;;;;;;;GAiBG;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;;;;;;;;;;;;;;;;;GAiBG;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,110 @@
|
|
|
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("securityTeam", {tags: {
|
|
11
|
+
* admin: "true",
|
|
12
|
+
* }});
|
|
13
|
+
* const administrators = new sdm.Group("administrators", {});
|
|
14
|
+
* const devopsTeam = new sdm.Group("devopsTeam", {});
|
|
15
|
+
* ```
|
|
16
|
+
* This resource can be imported using the import command.
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* A Group can be imported using the id, e.g.,
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import sdm:index/group:Group example group-12345678
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class Group extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is Group;
|
|
42
|
+
/**
|
|
43
|
+
* Description of the Group.
|
|
44
|
+
*/
|
|
45
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Unique human-readable name of the Group.
|
|
48
|
+
*/
|
|
49
|
+
readonly name: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Source is a read only field for what service manages this group, e.g. StrongDM, Okta, Azure.
|
|
52
|
+
*/
|
|
53
|
+
readonly source: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Tags is a map of key/value pairs that can be attached to a Group.
|
|
56
|
+
*/
|
|
57
|
+
readonly tags: pulumi.Output<{
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
} | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a Group resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args?: GroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering Group resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface GroupState {
|
|
73
|
+
/**
|
|
74
|
+
* Description of the Group.
|
|
75
|
+
*/
|
|
76
|
+
description?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Unique human-readable name of the Group.
|
|
79
|
+
*/
|
|
80
|
+
name?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Source is a read only field for what service manages this group, e.g. StrongDM, Okta, Azure.
|
|
83
|
+
*/
|
|
84
|
+
source?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Tags is a map of key/value pairs that can be attached to a Group.
|
|
87
|
+
*/
|
|
88
|
+
tags?: pulumi.Input<{
|
|
89
|
+
[key: string]: pulumi.Input<string>;
|
|
90
|
+
}>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a Group resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface GroupArgs {
|
|
96
|
+
/**
|
|
97
|
+
* Description of the Group.
|
|
98
|
+
*/
|
|
99
|
+
description?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Unique human-readable name of the Group.
|
|
102
|
+
*/
|
|
103
|
+
name?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Tags is a map of key/value pairs that can be attached to a Group.
|
|
106
|
+
*/
|
|
107
|
+
tags?: pulumi.Input<{
|
|
108
|
+
[key: string]: pulumi.Input<string>;
|
|
109
|
+
}>;
|
|
110
|
+
}
|
package/group.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
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("securityTeam", {tags: {
|
|
17
|
+
* admin: "true",
|
|
18
|
+
* }});
|
|
19
|
+
* const administrators = new sdm.Group("administrators", {});
|
|
20
|
+
* const devopsTeam = new sdm.Group("devopsTeam", {});
|
|
21
|
+
* ```
|
|
22
|
+
* This resource can be imported using the import command.
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* A Group can be imported using the id, e.g.,
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import sdm:index/group:Group example group-12345678
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class Group extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new Group(name, state, { ...opts, id: id });
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === Group.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["description"] = state?.description;
|
|
61
|
+
resourceInputs["name"] = state?.name;
|
|
62
|
+
resourceInputs["source"] = state?.source;
|
|
63
|
+
resourceInputs["tags"] = state?.tags;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
resourceInputs["description"] = args?.description;
|
|
68
|
+
resourceInputs["name"] = args?.name;
|
|
69
|
+
resourceInputs["tags"] = args?.tags;
|
|
70
|
+
resourceInputs["source"] = undefined /*out*/;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
super(Group.__pulumiType, name, resourceInputs, opts);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.Group = Group;
|
|
77
|
+
/** @internal */
|
|
78
|
+
Group.__pulumiType = 'sdm:index/group:Group';
|
|
79
|
+
//# 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;;;;;;;;;;;;;;;;;;;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;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAvEL,sBAwEC;AA1DG,gBAAgB;AACO,kBAAY,GAAG,uBAAuB,CAAC"}
|
package/groupRole.d.ts
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* A GroupRole assigns a Group to a Role.
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
9
|
+
*
|
|
10
|
+
* const securityTeamToProductionAccess = new sdm.GroupRole("securityTeamToProductionAccess", {
|
|
11
|
+
* groupId: sdm_group.security_team.id,
|
|
12
|
+
* roleId: sdm_role.production_access.id,
|
|
13
|
+
* });
|
|
14
|
+
* const administratorsToAdminAccess = new sdm.GroupRole("administratorsToAdminAccess", {
|
|
15
|
+
* groupId: "group-1234567890abcdef",
|
|
16
|
+
* roleId: "r-1234567890abcdef",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
* This resource can be imported using the import command.
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* A GroupRole can be imported using the id, e.g.,
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import sdm:index/groupRole:GroupRole example grouprole-12345678
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class GroupRole extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing GroupRole 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?: GroupRoleState, opts?: pulumi.CustomResourceOptions): GroupRole;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of GroupRole. 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 GroupRole;
|
|
45
|
+
/**
|
|
46
|
+
* The assigned Group ID.
|
|
47
|
+
*/
|
|
48
|
+
readonly groupId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The assigned Role ID.
|
|
51
|
+
*/
|
|
52
|
+
readonly roleId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Create a GroupRole resource with the given unique name, arguments, and options.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resource.
|
|
57
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
58
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
59
|
+
*/
|
|
60
|
+
constructor(name: string, args: GroupRoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Input properties used for looking up and filtering GroupRole resources.
|
|
64
|
+
*/
|
|
65
|
+
export interface GroupRoleState {
|
|
66
|
+
/**
|
|
67
|
+
* The assigned Group ID.
|
|
68
|
+
*/
|
|
69
|
+
groupId?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The assigned Role ID.
|
|
72
|
+
*/
|
|
73
|
+
roleId?: pulumi.Input<string>;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The set of arguments for constructing a GroupRole resource.
|
|
77
|
+
*/
|
|
78
|
+
export interface GroupRoleArgs {
|
|
79
|
+
/**
|
|
80
|
+
* The assigned Group ID.
|
|
81
|
+
*/
|
|
82
|
+
groupId: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The assigned Role ID.
|
|
85
|
+
*/
|
|
86
|
+
roleId: pulumi.Input<string>;
|
|
87
|
+
}
|
package/groupRole.js
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
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.GroupRole = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A GroupRole assigns a Group to a Role.
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
15
|
+
*
|
|
16
|
+
* const securityTeamToProductionAccess = new sdm.GroupRole("securityTeamToProductionAccess", {
|
|
17
|
+
* groupId: sdm_group.security_team.id,
|
|
18
|
+
* roleId: sdm_role.production_access.id,
|
|
19
|
+
* });
|
|
20
|
+
* const administratorsToAdminAccess = new sdm.GroupRole("administratorsToAdminAccess", {
|
|
21
|
+
* groupId: "group-1234567890abcdef",
|
|
22
|
+
* roleId: "r-1234567890abcdef",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
* This resource can be imported using the import command.
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* A GroupRole can be imported using the id, e.g.,
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import sdm:index/groupRole:GroupRole example grouprole-12345678
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class GroupRole extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing GroupRole 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 GroupRole(name, state, { ...opts, id: id });
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of GroupRole. 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'] === GroupRole.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
64
|
+
resourceInputs["roleId"] = state?.roleId;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if (args?.groupId === undefined && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'groupId'");
|
|
70
|
+
}
|
|
71
|
+
if (args?.roleId === undefined && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'roleId'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["groupId"] = args?.groupId;
|
|
75
|
+
resourceInputs["roleId"] = args?.roleId;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(GroupRole.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.GroupRole = GroupRole;
|
|
82
|
+
/** @internal */
|
|
83
|
+
GroupRole.__pulumiType = 'sdm:index/groupRole:GroupRole';
|
|
84
|
+
//# sourceMappingURL=groupRole.js.map
|
package/groupRole.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groupRole.js","sourceRoot":"","sources":["../groupRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAjEL,8BAkEC;AApDG,gBAAgB;AACO,sBAAY,GAAG,+BAA+B,CAAC"}
|
package/identityAlias.js
CHANGED
|
@@ -27,7 +27,7 @@ class IdentityAlias extends pulumi.CustomResource {
|
|
|
27
27
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
28
|
*/
|
|
29
29
|
static get(name, id, state, opts) {
|
|
30
|
-
return new IdentityAlias(name, state,
|
|
30
|
+
return new IdentityAlias(name, state, { ...opts, id: id });
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Returns true if the given object is an instance of IdentityAlias. This is designed to work even
|
|
@@ -44,24 +44,24 @@ class IdentityAlias extends pulumi.CustomResource {
|
|
|
44
44
|
opts = opts || {};
|
|
45
45
|
if (opts.id) {
|
|
46
46
|
const state = argsOrState;
|
|
47
|
-
resourceInputs["accountId"] = state
|
|
48
|
-
resourceInputs["identitySetId"] = state
|
|
49
|
-
resourceInputs["username"] = state
|
|
47
|
+
resourceInputs["accountId"] = state?.accountId;
|
|
48
|
+
resourceInputs["identitySetId"] = state?.identitySetId;
|
|
49
|
+
resourceInputs["username"] = state?.username;
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
52
|
const args = argsOrState;
|
|
53
|
-
if (
|
|
53
|
+
if (args?.accountId === undefined && !opts.urn) {
|
|
54
54
|
throw new Error("Missing required property 'accountId'");
|
|
55
55
|
}
|
|
56
|
-
if (
|
|
56
|
+
if (args?.identitySetId === undefined && !opts.urn) {
|
|
57
57
|
throw new Error("Missing required property 'identitySetId'");
|
|
58
58
|
}
|
|
59
|
-
if (
|
|
59
|
+
if (args?.username === undefined && !opts.urn) {
|
|
60
60
|
throw new Error("Missing required property 'username'");
|
|
61
61
|
}
|
|
62
|
-
resourceInputs["accountId"] = args
|
|
63
|
-
resourceInputs["identitySetId"] = args
|
|
64
|
-
resourceInputs["username"] = args
|
|
62
|
+
resourceInputs["accountId"] = args?.accountId;
|
|
63
|
+
resourceInputs["identitySetId"] = args?.identitySetId;
|
|
64
|
+
resourceInputs["username"] = args?.username;
|
|
65
65
|
}
|
|
66
66
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
67
|
super(IdentityAlias.__pulumiType, name, resourceInputs, opts);
|
package/identityAlias.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identityAlias.js","sourceRoot":"","sources":["../identityAlias.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ident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AAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA1EL,sCA2EC;AA7DG,gBAAgB;AACO,0BAAY,GAAG,uCAAuC,CAAC"}
|
package/identitySet.js
CHANGED
|
@@ -36,7 +36,7 @@ class IdentitySet extends pulumi.CustomResource {
|
|
|
36
36
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
37
|
*/
|
|
38
38
|
static get(name, id, state, opts) {
|
|
39
|
-
return new IdentitySet(name, state,
|
|
39
|
+
return new IdentitySet(name, state, { ...opts, id: id });
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Returns true if the given object is an instance of IdentitySet. This is designed to work even
|
|
@@ -53,11 +53,11 @@ class IdentitySet extends pulumi.CustomResource {
|
|
|
53
53
|
opts = opts || {};
|
|
54
54
|
if (opts.id) {
|
|
55
55
|
const state = argsOrState;
|
|
56
|
-
resourceInputs["name"] = state
|
|
56
|
+
resourceInputs["name"] = state?.name;
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
59
59
|
const args = argsOrState;
|
|
60
|
-
resourceInputs["name"] = args
|
|
60
|
+
resourceInputs["name"] = args?.name;
|
|
61
61
|
}
|
|
62
62
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
63
63
|
super(IdentitySet.__pulumiType, name, resourceInputs, opts);
|
package/identitySet.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitySet.js","sourceRoot":"","sources":["../identitySet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"identitySet.js","sourceRoot":"","sources":["../identitySet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAeD,YAAY,IAAY,EA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