@pierskarsenbarg/sdm 1.9.0 → 1.10.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/{approvalWorkflowApproval.d.ts → approvalWorkflowApprover.d.ts} +14 -14
- package/{approvalWorkflowApproval.js → approvalWorkflowApprover.js} +13 -13
- package/{approvalWorkflowApproval.js.map → approvalWorkflowApprover.js.map} +1 -1
- package/index.d.ts +3 -3
- package/index.js +6 -6
- package/package.json +1 -1
|
@@ -8,12 +8,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
10
10
|
*
|
|
11
|
-
* const approvalWorkflowApproverAccountExample = new sdm.
|
|
11
|
+
* const approvalWorkflowApproverAccountExample = new sdm.ApprovalWorkflowApprover("approvalWorkflowApproverAccountExample", {
|
|
12
12
|
* accountId: "a-234605",
|
|
13
13
|
* approvalFlowId: "af-6799234",
|
|
14
14
|
* approvalStepId: "afs-2956266",
|
|
15
15
|
* });
|
|
16
|
-
* const approvalWorkflowApproverRoleExample = new sdm.
|
|
16
|
+
* const approvalWorkflowApproverRoleExample = new sdm.ApprovalWorkflowApprover("approvalWorkflowApproverRoleExample", {
|
|
17
17
|
* approvalFlowId: "af-1935694",
|
|
18
18
|
* approvalStepId: "afs-9245942",
|
|
19
19
|
* roleId: "r-542982",
|
|
@@ -27,12 +27,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
27
|
* A ApprovalWorkflowApprover can be imported using the id, e.g.,
|
|
28
28
|
*
|
|
29
29
|
* ```sh
|
|
30
|
-
* $ pulumi import sdm:index/
|
|
30
|
+
* $ pulumi import sdm:index/approvalWorkflowApprover:ApprovalWorkflowApprover example afa-12345678
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
export declare class
|
|
33
|
+
export declare class ApprovalWorkflowApprover extends pulumi.CustomResource {
|
|
34
34
|
/**
|
|
35
|
-
* Get an existing
|
|
35
|
+
* Get an existing ApprovalWorkflowApprover resource's state with the given name, ID, and optional extra
|
|
36
36
|
* properties used to qualify the lookup.
|
|
37
37
|
*
|
|
38
38
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -40,12 +40,12 @@ export declare class ApprovalWorkflowApproval extends pulumi.CustomResource {
|
|
|
40
40
|
* @param state Any extra arguments used during the lookup.
|
|
41
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
42
|
*/
|
|
43
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?:
|
|
43
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApprovalWorkflowApproverState, opts?: pulumi.CustomResourceOptions): ApprovalWorkflowApprover;
|
|
44
44
|
/**
|
|
45
|
-
* Returns true if the given object is an instance of
|
|
45
|
+
* Returns true if the given object is an instance of ApprovalWorkflowApprover. This is designed to work even
|
|
46
46
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
47
|
*/
|
|
48
|
-
static isInstance(obj: any): obj is
|
|
48
|
+
static isInstance(obj: any): obj is ApprovalWorkflowApprover;
|
|
49
49
|
/**
|
|
50
50
|
* The approver account id.
|
|
51
51
|
*/
|
|
@@ -63,18 +63,18 @@ export declare class ApprovalWorkflowApproval extends pulumi.CustomResource {
|
|
|
63
63
|
*/
|
|
64
64
|
readonly roleId: pulumi.Output<string | undefined>;
|
|
65
65
|
/**
|
|
66
|
-
* Create a
|
|
66
|
+
* Create a ApprovalWorkflowApprover resource with the given unique name, arguments, and options.
|
|
67
67
|
*
|
|
68
68
|
* @param name The _unique_ name of the resource.
|
|
69
69
|
* @param args The arguments to use to populate this resource's properties.
|
|
70
70
|
* @param opts A bag of options that control this resource's behavior.
|
|
71
71
|
*/
|
|
72
|
-
constructor(name: string, args:
|
|
72
|
+
constructor(name: string, args: ApprovalWorkflowApproverArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
* Input properties used for looking up and filtering
|
|
75
|
+
* Input properties used for looking up and filtering ApprovalWorkflowApprover resources.
|
|
76
76
|
*/
|
|
77
|
-
export interface
|
|
77
|
+
export interface ApprovalWorkflowApproverState {
|
|
78
78
|
/**
|
|
79
79
|
* The approver account id.
|
|
80
80
|
*/
|
|
@@ -93,9 +93,9 @@ export interface ApprovalWorkflowApprovalState {
|
|
|
93
93
|
roleId?: pulumi.Input<string>;
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
|
-
* The set of arguments for constructing a
|
|
96
|
+
* The set of arguments for constructing a ApprovalWorkflowApprover resource.
|
|
97
97
|
*/
|
|
98
|
-
export interface
|
|
98
|
+
export interface ApprovalWorkflowApproverArgs {
|
|
99
99
|
/**
|
|
100
100
|
* The approver account id.
|
|
101
101
|
*/
|
|
@@ -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.
|
|
5
|
+
exports.ApprovalWorkflowApprover = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
@@ -14,12 +14,12 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
16
16
|
*
|
|
17
|
-
* const approvalWorkflowApproverAccountExample = new sdm.
|
|
17
|
+
* const approvalWorkflowApproverAccountExample = new sdm.ApprovalWorkflowApprover("approvalWorkflowApproverAccountExample", {
|
|
18
18
|
* accountId: "a-234605",
|
|
19
19
|
* approvalFlowId: "af-6799234",
|
|
20
20
|
* approvalStepId: "afs-2956266",
|
|
21
21
|
* });
|
|
22
|
-
* const approvalWorkflowApproverRoleExample = new sdm.
|
|
22
|
+
* const approvalWorkflowApproverRoleExample = new sdm.ApprovalWorkflowApprover("approvalWorkflowApproverRoleExample", {
|
|
23
23
|
* approvalFlowId: "af-1935694",
|
|
24
24
|
* approvalStepId: "afs-9245942",
|
|
25
25
|
* roleId: "r-542982",
|
|
@@ -33,12 +33,12 @@ const utilities = require("./utilities");
|
|
|
33
33
|
* A ApprovalWorkflowApprover can be imported using the id, e.g.,
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
|
-
* $ pulumi import sdm:index/
|
|
36
|
+
* $ pulumi import sdm:index/approvalWorkflowApprover:ApprovalWorkflowApprover example afa-12345678
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
|
-
class
|
|
39
|
+
class ApprovalWorkflowApprover extends pulumi.CustomResource {
|
|
40
40
|
/**
|
|
41
|
-
* Get an existing
|
|
41
|
+
* Get an existing ApprovalWorkflowApprover resource's state with the given name, ID, and optional extra
|
|
42
42
|
* properties used to qualify the lookup.
|
|
43
43
|
*
|
|
44
44
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -47,17 +47,17 @@ class ApprovalWorkflowApproval extends pulumi.CustomResource {
|
|
|
47
47
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
48
|
*/
|
|
49
49
|
static get(name, id, state, opts) {
|
|
50
|
-
return new
|
|
50
|
+
return new ApprovalWorkflowApprover(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* Returns true if the given object is an instance of
|
|
53
|
+
* Returns true if the given object is an instance of ApprovalWorkflowApprover. This is designed to work even
|
|
54
54
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
55
|
*/
|
|
56
56
|
static isInstance(obj) {
|
|
57
57
|
if (obj === undefined || obj === null) {
|
|
58
58
|
return false;
|
|
59
59
|
}
|
|
60
|
-
return obj['__pulumiType'] ===
|
|
60
|
+
return obj['__pulumiType'] === ApprovalWorkflowApprover.__pulumiType;
|
|
61
61
|
}
|
|
62
62
|
constructor(name, argsOrState, opts) {
|
|
63
63
|
let resourceInputs = {};
|
|
@@ -83,10 +83,10 @@ class ApprovalWorkflowApproval extends pulumi.CustomResource {
|
|
|
83
83
|
resourceInputs["roleId"] = args ? args.roleId : undefined;
|
|
84
84
|
}
|
|
85
85
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
-
super(
|
|
86
|
+
super(ApprovalWorkflowApprover.__pulumiType, name, resourceInputs, opts);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
exports.
|
|
89
|
+
exports.ApprovalWorkflowApprover = ApprovalWorkflowApprover;
|
|
90
90
|
/** @internal */
|
|
91
|
-
|
|
92
|
-
//# sourceMappingURL=
|
|
91
|
+
ApprovalWorkflowApprover.__pulumiType = 'sdm:index/approvalWorkflowApprover:ApprovalWorkflowApprover';
|
|
92
|
+
//# sourceMappingURL=approvalWorkflowApprover.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"approvalWorkflowApprover.js","sourceRoot":"","sources":["../approvalWorkflowApprover.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,K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AAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA7EL,4DA8EC;AAhEG,gBAAgB;AACO,qCAAY,GAAG,6DAA6D,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export declare const AccountAttachment: typeof import("./accountAttachment").Acc
|
|
|
7
7
|
export { ApprovalWorkflowArgs, ApprovalWorkflowState } from "./approvalWorkflow";
|
|
8
8
|
export type ApprovalWorkflow = import("./approvalWorkflow").ApprovalWorkflow;
|
|
9
9
|
export declare const ApprovalWorkflow: typeof import("./approvalWorkflow").ApprovalWorkflow;
|
|
10
|
-
export {
|
|
11
|
-
export type
|
|
12
|
-
export declare const
|
|
10
|
+
export { ApprovalWorkflowApproverArgs, ApprovalWorkflowApproverState } from "./approvalWorkflowApprover";
|
|
11
|
+
export type ApprovalWorkflowApprover = import("./approvalWorkflowApprover").ApprovalWorkflowApprover;
|
|
12
|
+
export declare const ApprovalWorkflowApprover: typeof import("./approvalWorkflowApprover").ApprovalWorkflowApprover;
|
|
13
13
|
export { ApprovalWorkflowStepArgs, ApprovalWorkflowStepState } from "./approvalWorkflowStep";
|
|
14
14
|
export type ApprovalWorkflowStep = import("./approvalWorkflowStep").ApprovalWorkflowStep;
|
|
15
15
|
export declare const ApprovalWorkflowStep: typeof import("./approvalWorkflowStep").ApprovalWorkflowStep;
|
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.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.getApprovalWorkflowStepOutput = exports.getApprovalWorkflowStep = exports.getApprovalWorkflowApproverOutput = exports.getApprovalWorkflowApprover = exports.getApprovalWorkflowOutput = exports.getApprovalWorkflow = exports.getAccountAttachmentOutput = exports.getAccountAttachment = exports.getAccountOutput = exports.getAccount = exports.ApprovalWorkflowStep = exports.
|
|
5
|
+
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.getApprovalWorkflowStepOutput = exports.getApprovalWorkflowStep = exports.getApprovalWorkflowApproverOutput = exports.getApprovalWorkflowApprover = exports.getApprovalWorkflowOutput = exports.getApprovalWorkflow = exports.getAccountAttachmentOutput = exports.getAccountAttachment = exports.getAccountOutput = exports.getAccount = exports.ApprovalWorkflowStep = exports.ApprovalWorkflowApprover = exports.ApprovalWorkflow = exports.AccountAttachment = exports.Account = void 0;
|
|
6
6
|
exports.types = exports.config = exports.WorkflowRole = exports.WorkflowApprover = exports.Workflow = exports.SecretStore = exports.Role = exports.Resource = void 0;
|
|
7
7
|
const pulumi = require("@pulumi/pulumi");
|
|
8
8
|
const utilities = require("./utilities");
|
|
@@ -12,8 +12,8 @@ exports.AccountAttachment = null;
|
|
|
12
12
|
utilities.lazyLoad(exports, ["AccountAttachment"], () => require("./accountAttachment"));
|
|
13
13
|
exports.ApprovalWorkflow = null;
|
|
14
14
|
utilities.lazyLoad(exports, ["ApprovalWorkflow"], () => require("./approvalWorkflow"));
|
|
15
|
-
exports.
|
|
16
|
-
utilities.lazyLoad(exports, ["
|
|
15
|
+
exports.ApprovalWorkflowApprover = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["ApprovalWorkflowApprover"], () => require("./approvalWorkflowApprover"));
|
|
17
17
|
exports.ApprovalWorkflowStep = null;
|
|
18
18
|
utilities.lazyLoad(exports, ["ApprovalWorkflowStep"], () => require("./approvalWorkflowStep"));
|
|
19
19
|
exports.getAccount = null;
|
|
@@ -114,8 +114,8 @@ const _module = {
|
|
|
114
114
|
return new exports.AccountAttachment(name, undefined, { urn });
|
|
115
115
|
case "sdm:index/approvalWorkflow:ApprovalWorkflow":
|
|
116
116
|
return new exports.ApprovalWorkflow(name, undefined, { urn });
|
|
117
|
-
case "sdm:index/
|
|
118
|
-
return new exports.
|
|
117
|
+
case "sdm:index/approvalWorkflowApprover:ApprovalWorkflowApprover":
|
|
118
|
+
return new exports.ApprovalWorkflowApprover(name, undefined, { urn });
|
|
119
119
|
case "sdm:index/approvalWorkflowStep:ApprovalWorkflowStep":
|
|
120
120
|
return new exports.ApprovalWorkflowStep(name, undefined, { urn });
|
|
121
121
|
case "sdm:index/node:Node":
|
|
@@ -150,7 +150,7 @@ const _module = {
|
|
|
150
150
|
pulumi.runtime.registerResourceModule("sdm", "index/account", _module);
|
|
151
151
|
pulumi.runtime.registerResourceModule("sdm", "index/accountAttachment", _module);
|
|
152
152
|
pulumi.runtime.registerResourceModule("sdm", "index/approvalWorkflow", _module);
|
|
153
|
-
pulumi.runtime.registerResourceModule("sdm", "index/
|
|
153
|
+
pulumi.runtime.registerResourceModule("sdm", "index/approvalWorkflowApprover", _module);
|
|
154
154
|
pulumi.runtime.registerResourceModule("sdm", "index/approvalWorkflowStep", _module);
|
|
155
155
|
pulumi.runtime.registerResourceModule("sdm", "index/node", _module);
|
|
156
156
|
pulumi.runtime.registerResourceModule("sdm", "index/peeringGroup", _module);
|