@pierskarsenbarg/sdm 1.5.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/account.d.ts +1 -1
  2. package/account.js +1 -1
  3. package/accountAttachment.d.ts +1 -1
  4. package/accountAttachment.js +1 -1
  5. package/getWorkflow.d.ts +131 -0
  6. package/getWorkflow.js +57 -0
  7. package/getWorkflow.js.map +1 -0
  8. package/getWorkflowApprover.d.ts +91 -0
  9. package/getWorkflowApprover.js +50 -0
  10. package/getWorkflowApprover.js.map +1 -0
  11. package/getWorkflowRole.d.ts +93 -0
  12. package/getWorkflowRole.js +52 -0
  13. package/getWorkflowRole.js.map +1 -0
  14. package/index.d.ts +18 -0
  15. package/index.js +25 -1
  16. package/index.js.map +1 -1
  17. package/node.d.ts +1 -1
  18. package/node.js +1 -1
  19. package/package.json +2 -3
  20. package/package.json.bak +1 -2
  21. package/peeringGroup.d.ts +1 -1
  22. package/peeringGroup.js +1 -1
  23. package/peeringGroupNode.d.ts +1 -1
  24. package/peeringGroupNode.js +1 -1
  25. package/peeringGroupPeer.d.ts +1 -1
  26. package/peeringGroupPeer.js +1 -1
  27. package/peeringGroupResource.d.ts +1 -1
  28. package/peeringGroupResource.js +1 -1
  29. package/remoteIdentity.d.ts +1 -1
  30. package/remoteIdentity.js +1 -1
  31. package/resource.d.ts +22 -40
  32. package/resource.js +5 -1
  33. package/resource.js.map +1 -1
  34. package/role.d.ts +1 -1
  35. package/role.js +1 -1
  36. package/secretStore.d.ts +1 -1
  37. package/secretStore.js +1 -1
  38. package/types/input.d.ts +124 -0
  39. package/types/output.d.ts +316 -0
  40. package/workflow.d.ts +148 -0
  41. package/workflow.js +99 -0
  42. package/workflow.js.map +1 -0
  43. package/workflowApprover.d.ts +83 -0
  44. package/workflowApprover.js +80 -0
  45. package/workflowApprover.js.map +1 -0
  46. package/workflowRole.d.ts +84 -0
  47. package/workflowRole.js +81 -0
  48. package/workflowRole.js.map +1 -0
  49. package/scripts/install-pulumi-plugin.js +0 -26
package/account.d.ts CHANGED
@@ -32,7 +32,7 @@ import * as outputs from "./types/output";
32
32
  *
33
33
  * ## Import
34
34
  *
35
- * Account can be imported using the id, e.g.,
35
+ * A Account can be imported using the id, e.g.,
36
36
  *
37
37
  * ```sh
38
38
  * $ pulumi import sdm:index/account:Account example a-12345678
package/account.js CHANGED
@@ -36,7 +36,7 @@ const utilities = require("./utilities");
36
36
  *
37
37
  * ## Import
38
38
  *
39
- * Account can be imported using the id, e.g.,
39
+ * A Account can be imported using the id, e.g.,
40
40
  *
41
41
  * ```sh
42
42
  * $ pulumi import sdm:index/account:Account example a-12345678
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
16
16
  *
17
17
  * ## Import
18
18
  *
19
- * AccountAttachment can be imported using the id, e.g.,
19
+ * A AccountAttachment can be imported using the id, e.g.,
20
20
  *
21
21
  * ```sh
22
22
  * $ pulumi import sdm:index/accountAttachment:AccountAttachment example aa-12345678
@@ -22,7 +22,7 @@ const utilities = require("./utilities");
22
22
  *
23
23
  * ## Import
24
24
  *
25
- * AccountAttachment can be imported using the id, e.g.,
25
+ * A AccountAttachment can be imported using the id, e.g.,
26
26
  *
27
27
  * ```sh
28
28
  * $ pulumi import sdm:index/accountAttachment:AccountAttachment example aa-12345678
@@ -0,0 +1,131 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Workflows are the collection of rules that define the resources to which access can be requested,
5
+ * the users that can request that access, and the mechanism for approving those requests which can either
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 "@pulumi/sdm";
12
+ *
13
+ * const workflowQuery = sdm.getWorkflow({
14
+ * autoGrant: true,
15
+ * name: "workflow example",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getWorkflow(args?: GetWorkflowArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkflowResult>;
20
+ /**
21
+ * A collection of arguments for invoking getWorkflow.
22
+ */
23
+ export interface GetWorkflowArgs {
24
+ /**
25
+ * Optional auto grant setting to automatically approve requests or not, defaults to false.
26
+ */
27
+ autoGrant?: boolean;
28
+ /**
29
+ * Optional description of the Workflow.
30
+ */
31
+ description?: string;
32
+ /**
33
+ * Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
34
+ */
35
+ enabled?: boolean;
36
+ /**
37
+ * Unique identifier of the Workflow.
38
+ */
39
+ id?: string;
40
+ /**
41
+ * Unique human-readable name of the Workflow.
42
+ */
43
+ name?: string;
44
+ /**
45
+ * Optional weight for workflow to specify it's priority in matching a request.
46
+ */
47
+ weight?: number;
48
+ }
49
+ /**
50
+ * A collection of values returned by getWorkflow.
51
+ */
52
+ export interface GetWorkflowResult {
53
+ /**
54
+ * Optional auto grant setting to automatically approve requests or not, defaults to false.
55
+ */
56
+ readonly autoGrant?: boolean;
57
+ /**
58
+ * Optional description of the Workflow.
59
+ */
60
+ readonly description?: string;
61
+ /**
62
+ * Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
63
+ */
64
+ readonly enabled?: boolean;
65
+ /**
66
+ * Unique identifier of the Workflow.
67
+ */
68
+ readonly id?: string;
69
+ /**
70
+ * a list of strings of ids of data sources that match the given arguments.
71
+ */
72
+ readonly ids: string[];
73
+ /**
74
+ * Unique human-readable name of the Workflow.
75
+ */
76
+ readonly name?: string;
77
+ /**
78
+ * Optional weight for workflow to specify it's priority in matching a request.
79
+ */
80
+ readonly weight?: number;
81
+ /**
82
+ * A list where each element has the following attributes:
83
+ */
84
+ readonly workflows: outputs.GetWorkflowWorkflow[];
85
+ }
86
+ /**
87
+ * Workflows are the collection of rules that define the resources to which access can be requested,
88
+ * the users that can request that access, and the mechanism for approving those requests which can either
89
+ * but automatic approval or a set of users authorized to approve the requests.
90
+ * ## Example Usage
91
+ *
92
+ * ```typescript
93
+ * import * as pulumi from "@pulumi/pulumi";
94
+ * import * as sdm from "@pulumi/sdm";
95
+ *
96
+ * const workflowQuery = sdm.getWorkflow({
97
+ * autoGrant: true,
98
+ * name: "workflow example",
99
+ * });
100
+ * ```
101
+ */
102
+ export declare function getWorkflowOutput(args?: GetWorkflowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetWorkflowResult>;
103
+ /**
104
+ * A collection of arguments for invoking getWorkflow.
105
+ */
106
+ export interface GetWorkflowOutputArgs {
107
+ /**
108
+ * Optional auto grant setting to automatically approve requests or not, defaults to false.
109
+ */
110
+ autoGrant?: pulumi.Input<boolean>;
111
+ /**
112
+ * Optional description of the Workflow.
113
+ */
114
+ description?: pulumi.Input<string>;
115
+ /**
116
+ * Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
117
+ */
118
+ enabled?: pulumi.Input<boolean>;
119
+ /**
120
+ * Unique identifier of the Workflow.
121
+ */
122
+ id?: pulumi.Input<string>;
123
+ /**
124
+ * Unique human-readable name of the Workflow.
125
+ */
126
+ name?: pulumi.Input<string>;
127
+ /**
128
+ * Optional weight for workflow to specify it's priority in matching a request.
129
+ */
130
+ weight?: pulumi.Input<number>;
131
+ }
package/getWorkflow.js ADDED
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getWorkflowOutput = exports.getWorkflow = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Workflows are the collection of rules that define the resources to which access can be requested,
10
+ * the users that can request that access, and the mechanism for approving those requests which can either
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 "@pulumi/sdm";
17
+ *
18
+ * const workflowQuery = sdm.getWorkflow({
19
+ * autoGrant: true,
20
+ * name: "workflow example",
21
+ * });
22
+ * ```
23
+ */
24
+ function getWorkflow(args, opts) {
25
+ args = args || {};
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("sdm:index/getWorkflow:getWorkflow", {
28
+ "autoGrant": args.autoGrant,
29
+ "description": args.description,
30
+ "enabled": args.enabled,
31
+ "id": args.id,
32
+ "name": args.name,
33
+ "weight": args.weight,
34
+ }, opts);
35
+ }
36
+ exports.getWorkflow = getWorkflow;
37
+ /**
38
+ * Workflows are the collection of rules that define the resources to which access can be requested,
39
+ * the users that can request that access, and the mechanism for approving those requests which can either
40
+ * but automatic approval or a set of users authorized to approve the requests.
41
+ * ## Example Usage
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as sdm from "@pulumi/sdm";
46
+ *
47
+ * const workflowQuery = sdm.getWorkflow({
48
+ * autoGrant: true,
49
+ * name: "workflow example",
50
+ * });
51
+ * ```
52
+ */
53
+ function getWorkflowOutput(args, opts) {
54
+ return pulumi.output(args).apply((a) => getWorkflow(a, opts));
55
+ }
56
+ exports.getWorkflowOutput = getWorkflowOutput;
57
+ //# sourceMappingURL=getWorkflow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWorkflow.js","sourceRoot":"","sources":["../getWorkflow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,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;AAZD,kCAYC;AAqED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,91 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * WorkflowApprover is an account with the ability to approve requests bound to a workflow.
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as sdm from "@pulumi/sdm";
10
+ *
11
+ * const workflowApproverQuery = sdm.getWorkflowApprover({
12
+ * approverId: "a-2496542",
13
+ * workflowId: "aw-541894",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getWorkflowApprover(args?: GetWorkflowApproverArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkflowApproverResult>;
18
+ /**
19
+ * A collection of arguments for invoking getWorkflowApprover.
20
+ */
21
+ export interface GetWorkflowApproverArgs {
22
+ /**
23
+ * The approver id.
24
+ */
25
+ approverId?: string;
26
+ /**
27
+ * Unique identifier of the WorkflowApprover.
28
+ */
29
+ id?: string;
30
+ /**
31
+ * The workflow id.
32
+ */
33
+ workflowId?: string;
34
+ }
35
+ /**
36
+ * A collection of values returned by getWorkflowApprover.
37
+ */
38
+ export interface GetWorkflowApproverResult {
39
+ /**
40
+ * The approver id.
41
+ */
42
+ readonly approverId?: string;
43
+ /**
44
+ * Unique identifier of the WorkflowApprover.
45
+ */
46
+ readonly id?: string;
47
+ /**
48
+ * a list of strings of ids of data sources that match the given arguments.
49
+ */
50
+ readonly ids: string[];
51
+ /**
52
+ * A list where each element has the following attributes:
53
+ */
54
+ readonly workflowApprovers: outputs.GetWorkflowApproverWorkflowApprover[];
55
+ /**
56
+ * The workflow id.
57
+ */
58
+ readonly workflowId?: string;
59
+ }
60
+ /**
61
+ * WorkflowApprover is an account with the ability to approve requests bound to a workflow.
62
+ * ## Example Usage
63
+ *
64
+ * ```typescript
65
+ * import * as pulumi from "@pulumi/pulumi";
66
+ * import * as sdm from "@pulumi/sdm";
67
+ *
68
+ * const workflowApproverQuery = sdm.getWorkflowApprover({
69
+ * approverId: "a-2496542",
70
+ * workflowId: "aw-541894",
71
+ * });
72
+ * ```
73
+ */
74
+ export declare function getWorkflowApproverOutput(args?: GetWorkflowApproverOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetWorkflowApproverResult>;
75
+ /**
76
+ * A collection of arguments for invoking getWorkflowApprover.
77
+ */
78
+ export interface GetWorkflowApproverOutputArgs {
79
+ /**
80
+ * The approver id.
81
+ */
82
+ approverId?: pulumi.Input<string>;
83
+ /**
84
+ * Unique identifier of the WorkflowApprover.
85
+ */
86
+ id?: pulumi.Input<string>;
87
+ /**
88
+ * The workflow id.
89
+ */
90
+ workflowId?: pulumi.Input<string>;
91
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getWorkflowApproverOutput = exports.getWorkflowApprover = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * WorkflowApprover is an account with the ability to approve requests bound to a workflow.
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as sdm from "@pulumi/sdm";
15
+ *
16
+ * const workflowApproverQuery = sdm.getWorkflowApprover({
17
+ * approverId: "a-2496542",
18
+ * workflowId: "aw-541894",
19
+ * });
20
+ * ```
21
+ */
22
+ function getWorkflowApprover(args, opts) {
23
+ args = args || {};
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("sdm:index/getWorkflowApprover:getWorkflowApprover", {
26
+ "approverId": args.approverId,
27
+ "id": args.id,
28
+ "workflowId": args.workflowId,
29
+ }, opts);
30
+ }
31
+ exports.getWorkflowApprover = getWorkflowApprover;
32
+ /**
33
+ * WorkflowApprover is an account with the ability to approve requests bound to a workflow.
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as sdm from "@pulumi/sdm";
39
+ *
40
+ * const workflowApproverQuery = sdm.getWorkflowApprover({
41
+ * approverId: "a-2496542",
42
+ * workflowId: "aw-541894",
43
+ * });
44
+ * ```
45
+ */
46
+ function getWorkflowApproverOutput(args, opts) {
47
+ return pulumi.output(args).apply((a) => getWorkflowApprover(a, opts));
48
+ }
49
+ exports.getWorkflowApproverOutput = getWorkflowApproverOutput;
50
+ //# sourceMappingURL=getWorkflowApprover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWorkflowApprover.js","sourceRoot":"","sources":["../getWorkflowApprover.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kDASC;AA6CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -0,0 +1,93 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of
5
+ * to request access to a resource via the workflow.
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as sdm from "@pulumi/sdm";
11
+ *
12
+ * const workflowRoleQuery = sdm.getWorkflowRole({
13
+ * roleId: "r-9862923",
14
+ * workflowId: "aw-7935485",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getWorkflowRole(args?: GetWorkflowRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkflowRoleResult>;
19
+ /**
20
+ * A collection of arguments for invoking getWorkflowRole.
21
+ */
22
+ export interface GetWorkflowRoleArgs {
23
+ /**
24
+ * Unique identifier of the WorkflowRole.
25
+ */
26
+ id?: string;
27
+ /**
28
+ * The role id.
29
+ */
30
+ roleId?: string;
31
+ /**
32
+ * The workflow id.
33
+ */
34
+ workflowId?: string;
35
+ }
36
+ /**
37
+ * A collection of values returned by getWorkflowRole.
38
+ */
39
+ export interface GetWorkflowRoleResult {
40
+ /**
41
+ * Unique identifier of the WorkflowRole.
42
+ */
43
+ readonly id?: string;
44
+ /**
45
+ * a list of strings of ids of data sources that match the given arguments.
46
+ */
47
+ readonly ids: string[];
48
+ /**
49
+ * The role id.
50
+ */
51
+ readonly roleId?: string;
52
+ /**
53
+ * The workflow id.
54
+ */
55
+ readonly workflowId?: string;
56
+ /**
57
+ * A list where each element has the following attributes:
58
+ */
59
+ readonly workflowRoles: outputs.GetWorkflowRoleWorkflowRole[];
60
+ }
61
+ /**
62
+ * WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of
63
+ * to request access to a resource via the workflow.
64
+ * ## Example Usage
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as sdm from "@pulumi/sdm";
69
+ *
70
+ * const workflowRoleQuery = sdm.getWorkflowRole({
71
+ * roleId: "r-9862923",
72
+ * workflowId: "aw-7935485",
73
+ * });
74
+ * ```
75
+ */
76
+ export declare function getWorkflowRoleOutput(args?: GetWorkflowRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetWorkflowRoleResult>;
77
+ /**
78
+ * A collection of arguments for invoking getWorkflowRole.
79
+ */
80
+ export interface GetWorkflowRoleOutputArgs {
81
+ /**
82
+ * Unique identifier of the WorkflowRole.
83
+ */
84
+ id?: pulumi.Input<string>;
85
+ /**
86
+ * The role id.
87
+ */
88
+ roleId?: pulumi.Input<string>;
89
+ /**
90
+ * The workflow id.
91
+ */
92
+ workflowId?: pulumi.Input<string>;
93
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getWorkflowRoleOutput = exports.getWorkflowRole = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of
10
+ * to request access to a resource via the workflow.
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as sdm from "@pulumi/sdm";
16
+ *
17
+ * const workflowRoleQuery = sdm.getWorkflowRole({
18
+ * roleId: "r-9862923",
19
+ * workflowId: "aw-7935485",
20
+ * });
21
+ * ```
22
+ */
23
+ function getWorkflowRole(args, opts) {
24
+ args = args || {};
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("sdm:index/getWorkflowRole:getWorkflowRole", {
27
+ "id": args.id,
28
+ "roleId": args.roleId,
29
+ "workflowId": args.workflowId,
30
+ }, opts);
31
+ }
32
+ exports.getWorkflowRole = getWorkflowRole;
33
+ /**
34
+ * WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of
35
+ * to request access to a resource via the workflow.
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as sdm from "@pulumi/sdm";
41
+ *
42
+ * const workflowRoleQuery = sdm.getWorkflowRole({
43
+ * roleId: "r-9862923",
44
+ * workflowId: "aw-7935485",
45
+ * });
46
+ * ```
47
+ */
48
+ function getWorkflowRoleOutput(args, opts) {
49
+ return pulumi.output(args).apply((a) => getWorkflowRole(a, opts));
50
+ }
51
+ exports.getWorkflowRoleOutput = getWorkflowRoleOutput;
52
+ //# sourceMappingURL=getWorkflowRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWorkflowRole.js","sourceRoot":"","sources":["../getWorkflowRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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;AATD,0CASC;AA6CD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
package/index.d.ts CHANGED
@@ -43,6 +43,15 @@ export declare const getSecretStoreOutput: typeof import("./getSecretStore").get
43
43
  export { GetSshCaPubkeyArgs, GetSshCaPubkeyResult, GetSshCaPubkeyOutputArgs } from "./getSshCaPubkey";
44
44
  export declare const getSshCaPubkey: typeof import("./getSshCaPubkey").getSshCaPubkey;
45
45
  export declare const getSshCaPubkeyOutput: typeof import("./getSshCaPubkey").getSshCaPubkeyOutput;
46
+ export { GetWorkflowArgs, GetWorkflowResult, GetWorkflowOutputArgs } from "./getWorkflow";
47
+ export declare const getWorkflow: typeof import("./getWorkflow").getWorkflow;
48
+ export declare const getWorkflowOutput: typeof import("./getWorkflow").getWorkflowOutput;
49
+ export { GetWorkflowApproverArgs, GetWorkflowApproverResult, GetWorkflowApproverOutputArgs } from "./getWorkflowApprover";
50
+ export declare const getWorkflowApprover: typeof import("./getWorkflowApprover").getWorkflowApprover;
51
+ export declare const getWorkflowApproverOutput: typeof import("./getWorkflowApprover").getWorkflowApproverOutput;
52
+ export { GetWorkflowRoleArgs, GetWorkflowRoleResult, GetWorkflowRoleOutputArgs } from "./getWorkflowRole";
53
+ export declare const getWorkflowRole: typeof import("./getWorkflowRole").getWorkflowRole;
54
+ export declare const getWorkflowRoleOutput: typeof import("./getWorkflowRole").getWorkflowRoleOutput;
46
55
  export { NodeArgs, NodeState } from "./node";
47
56
  export type Node = import("./node").Node;
48
57
  export declare const Node: typeof import("./node").Node;
@@ -73,6 +82,15 @@ export declare const Role: typeof import("./role").Role;
73
82
  export { SecretStoreArgs, SecretStoreState } from "./secretStore";
74
83
  export type SecretStore = import("./secretStore").SecretStore;
75
84
  export declare const SecretStore: typeof import("./secretStore").SecretStore;
85
+ export { WorkflowArgs, WorkflowState } from "./workflow";
86
+ export type Workflow = import("./workflow").Workflow;
87
+ export declare const Workflow: typeof import("./workflow").Workflow;
88
+ export { WorkflowApproverArgs, WorkflowApproverState } from "./workflowApprover";
89
+ export type WorkflowApprover = import("./workflowApprover").WorkflowApprover;
90
+ export declare const WorkflowApprover: typeof import("./workflowApprover").WorkflowApprover;
91
+ export { WorkflowRoleArgs, WorkflowRoleState } from "./workflowRole";
92
+ export type WorkflowRole = import("./workflowRole").WorkflowRole;
93
+ export declare const WorkflowRole: typeof import("./workflowRole").WorkflowRole;
76
94
  import * as config from "./config";
77
95
  import * as types from "./types";
78
96
  export { config, types, };
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.types = exports.config = exports.SecretStore = exports.Role = exports.Resource = exports.RemoteIdentity = exports.Provider = exports.PeeringGroupResource = exports.PeeringGroupPeer = exports.PeeringGroupNode = exports.PeeringGroup = exports.Node = exports.getSshCaPubkeyOutput = exports.getSshCaPubkey = exports.getSecretStoreOutput = exports.getSecretStore = exports.getRoleOutput = exports.getRole = exports.getResourceOutput = exports.getResource = exports.getRemoteIdentityGroupOutput = exports.getRemoteIdentityGroup = exports.getRemoteIdentityOutput = exports.getRemoteIdentity = exports.getPeeringGroupResourceOutput = exports.getPeeringGroupResource = exports.getPeeringGroupPeerOutput = exports.getPeeringGroupPeer = exports.getPeeringGroupNodeOutput = exports.getPeeringGroupNode = exports.getPeeringGroupOutput = exports.getPeeringGroup = exports.getNodeOutput = exports.getNode = exports.getAccountAttachmentOutput = exports.getAccountAttachment = exports.getAccountOutput = exports.getAccount = exports.AccountAttachment = exports.Account = void 0;
5
+ exports.types = exports.config = exports.WorkflowRole = exports.WorkflowApprover = exports.Workflow = exports.SecretStore = exports.Role = exports.Resource = exports.RemoteIdentity = exports.Provider = exports.PeeringGroupResource = exports.PeeringGroupPeer = exports.PeeringGroupNode = exports.PeeringGroup = exports.Node = exports.getWorkflowRoleOutput = exports.getWorkflowRole = exports.getWorkflowApproverOutput = exports.getWorkflowApprover = exports.getWorkflowOutput = exports.getWorkflow = exports.getSshCaPubkeyOutput = exports.getSshCaPubkey = exports.getSecretStoreOutput = exports.getSecretStore = exports.getRoleOutput = exports.getRole = exports.getResourceOutput = exports.getResource = exports.getRemoteIdentityGroupOutput = exports.getRemoteIdentityGroup = exports.getRemoteIdentityOutput = exports.getRemoteIdentity = exports.getPeeringGroupResourceOutput = exports.getPeeringGroupResource = exports.getPeeringGroupPeerOutput = exports.getPeeringGroupPeer = exports.getPeeringGroupNodeOutput = exports.getPeeringGroupNode = exports.getPeeringGroupOutput = exports.getPeeringGroup = exports.getNodeOutput = exports.getNode = exports.getAccountAttachmentOutput = exports.getAccountAttachment = exports.getAccountOutput = exports.getAccount = exports.AccountAttachment = exports.Account = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  exports.Account = null;
@@ -48,6 +48,15 @@ utilities.lazyLoad(exports, ["getSecretStore", "getSecretStoreOutput"], () => re
48
48
  exports.getSshCaPubkey = null;
49
49
  exports.getSshCaPubkeyOutput = null;
50
50
  utilities.lazyLoad(exports, ["getSshCaPubkey", "getSshCaPubkeyOutput"], () => require("./getSshCaPubkey"));
51
+ exports.getWorkflow = null;
52
+ exports.getWorkflowOutput = null;
53
+ utilities.lazyLoad(exports, ["getWorkflow", "getWorkflowOutput"], () => require("./getWorkflow"));
54
+ exports.getWorkflowApprover = null;
55
+ exports.getWorkflowApproverOutput = null;
56
+ utilities.lazyLoad(exports, ["getWorkflowApprover", "getWorkflowApproverOutput"], () => require("./getWorkflowApprover"));
57
+ exports.getWorkflowRole = null;
58
+ exports.getWorkflowRoleOutput = null;
59
+ utilities.lazyLoad(exports, ["getWorkflowRole", "getWorkflowRoleOutput"], () => require("./getWorkflowRole"));
51
60
  exports.Node = null;
52
61
  utilities.lazyLoad(exports, ["Node"], () => require("./node"));
53
62
  exports.PeeringGroup = null;
@@ -68,6 +77,12 @@ exports.Role = null;
68
77
  utilities.lazyLoad(exports, ["Role"], () => require("./role"));
69
78
  exports.SecretStore = null;
70
79
  utilities.lazyLoad(exports, ["SecretStore"], () => require("./secretStore"));
80
+ exports.Workflow = null;
81
+ utilities.lazyLoad(exports, ["Workflow"], () => require("./workflow"));
82
+ exports.WorkflowApprover = null;
83
+ utilities.lazyLoad(exports, ["WorkflowApprover"], () => require("./workflowApprover"));
84
+ exports.WorkflowRole = null;
85
+ utilities.lazyLoad(exports, ["WorkflowRole"], () => require("./workflowRole"));
71
86
  // Export sub-modules:
72
87
  const config = require("./config");
73
88
  exports.config = config;
@@ -99,6 +114,12 @@ const _module = {
99
114
  return new exports.Role(name, undefined, { urn });
100
115
  case "sdm:index/secretStore:SecretStore":
101
116
  return new exports.SecretStore(name, undefined, { urn });
117
+ case "sdm:index/workflow:Workflow":
118
+ return new exports.Workflow(name, undefined, { urn });
119
+ case "sdm:index/workflowApprover:WorkflowApprover":
120
+ return new exports.WorkflowApprover(name, undefined, { urn });
121
+ case "sdm:index/workflowRole:WorkflowRole":
122
+ return new exports.WorkflowRole(name, undefined, { urn });
102
123
  default:
103
124
  throw new Error(`unknown resource type ${type}`);
104
125
  }
@@ -115,6 +136,9 @@ pulumi.runtime.registerResourceModule("sdm", "index/remoteIdentity", _module);
115
136
  pulumi.runtime.registerResourceModule("sdm", "index/resource", _module);
116
137
  pulumi.runtime.registerResourceModule("sdm", "index/role", _module);
117
138
  pulumi.runtime.registerResourceModule("sdm", "index/secretStore", _module);
139
+ pulumi.runtime.registerResourceModule("sdm", "index/workflow", _module);
140
+ pulumi.runtime.registerResourceModule("sdm", "index/workflowApprover", _module);
141
+ pulumi.runtime.registerResourceModule("sdm", "index/workflowRole", _module);
118
142
  pulumi.runtime.registerResourcePackage("sdm", {
119
143
  version: utilities.getVersion(),
120
144
  constructProvider: (name, type, urn) => {
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAG5E,QAAA,UAAU,GAA6C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