@pierskarsenbarg/sdm 0.0.6

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 (95) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +56 -0
  3. package/account.d.ts +73 -0
  4. package/account.js +60 -0
  5. package/account.js.map +1 -0
  6. package/accountAttachment.d.ts +69 -0
  7. package/accountAttachment.js +66 -0
  8. package/accountAttachment.js.map +1 -0
  9. package/accountGrant.d.ts +69 -0
  10. package/accountGrant.js +66 -0
  11. package/accountGrant.js.map +1 -0
  12. package/config/index.d.ts +1 -0
  13. package/config/index.js +21 -0
  14. package/config/index.js.map +1 -0
  15. package/config/vars.d.ts +16 -0
  16. package/config/vars.js +31 -0
  17. package/config/vars.js.map +1 -0
  18. package/getAccount.d.ts +147 -0
  19. package/getAccount.js +50 -0
  20. package/getAccount.js.map +1 -0
  21. package/getAccountAttachment.d.ts +76 -0
  22. package/getAccountAttachment.js +38 -0
  23. package/getAccountAttachment.js.map +1 -0
  24. package/getAccountGrant.d.ts +77 -0
  25. package/getAccountGrant.js +39 -0
  26. package/getAccountGrant.js.map +1 -0
  27. package/getNode.d.ts +123 -0
  28. package/getNode.js +48 -0
  29. package/getNode.js.map +1 -0
  30. package/getRemoteIdentity.d.ts +90 -0
  31. package/getRemoteIdentity.js +41 -0
  32. package/getRemoteIdentity.js.map +1 -0
  33. package/getRemoteIdentityGroup.d.ts +64 -0
  34. package/getRemoteIdentityGroup.js +37 -0
  35. package/getRemoteIdentityGroup.js.map +1 -0
  36. package/getResource.d.ts +107 -0
  37. package/getResource.js +48 -0
  38. package/getResource.js.map +1 -0
  39. package/getRole.d.ts +106 -0
  40. package/getRole.js +45 -0
  41. package/getRole.js.map +1 -0
  42. package/getRoleAttachment.d.ts +79 -0
  43. package/getRoleAttachment.js +41 -0
  44. package/getRoleAttachment.js.map +1 -0
  45. package/getRoleGrant.d.ts +79 -0
  46. package/getRoleGrant.js +41 -0
  47. package/getRoleGrant.js.map +1 -0
  48. package/getSecretStore.d.ts +83 -0
  49. package/getSecretStore.js +30 -0
  50. package/getSecretStore.js.map +1 -0
  51. package/getSshCaPubkey.d.ts +53 -0
  52. package/getSshCaPubkey.js +35 -0
  53. package/getSshCaPubkey.js.map +1 -0
  54. package/index.d.ts +26 -0
  55. package/index.js +111 -0
  56. package/index.js.map +1 -0
  57. package/install-pulumi-plugin.js +26 -0
  58. package/node.d.ts +70 -0
  59. package/node.js +60 -0
  60. package/node.js.map +1 -0
  61. package/package.json +29 -0
  62. package/package.json.bak +29 -0
  63. package/provider.d.ts +55 -0
  64. package/provider.js +48 -0
  65. package/provider.js.map +1 -0
  66. package/remoteIdentity.d.ts +81 -0
  67. package/remoteIdentity.js +71 -0
  68. package/remoteIdentity.js.map +1 -0
  69. package/resource.d.ts +259 -0
  70. package/resource.js +198 -0
  71. package/resource.js.map +1 -0
  72. package/role.d.ts +105 -0
  73. package/role.js +64 -0
  74. package/role.js.map +1 -0
  75. package/roleAttachment.d.ts +69 -0
  76. package/roleAttachment.js +66 -0
  77. package/roleAttachment.js.map +1 -0
  78. package/roleGrant.d.ts +69 -0
  79. package/roleGrant.js +66 -0
  80. package/roleGrant.js.map +1 -0
  81. package/secretStore.d.ts +64 -0
  82. package/secretStore.js +68 -0
  83. package/secretStore.js.map +1 -0
  84. package/types/index.d.ts +3 -0
  85. package/types/index.js +11 -0
  86. package/types/index.js.map +1 -0
  87. package/types/input.d.ts +2690 -0
  88. package/types/input.js +5 -0
  89. package/types/input.js.map +1 -0
  90. package/types/output.d.ts +5596 -0
  91. package/types/output.js +5 -0
  92. package/types/output.js.map +1 -0
  93. package/utilities.d.ts +4 -0
  94. package/utilities.js +57 -0
  95. package/utilities.js.map +1 -0
package/role.js ADDED
@@ -0,0 +1,64 @@
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.Role = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * Role can be imported using the id, e.g.,
12
+ *
13
+ * ```sh
14
+ * $ pulumi import sdm:index/role:Role example r-12345678
15
+ * ```
16
+ */
17
+ class Role extends pulumi.CustomResource {
18
+ constructor(name, argsOrState, opts) {
19
+ let resourceInputs = {};
20
+ opts = opts || {};
21
+ if (opts.id) {
22
+ const state = argsOrState;
23
+ resourceInputs["accessRules"] = state ? state.accessRules : undefined;
24
+ resourceInputs["composite"] = state ? state.composite : undefined;
25
+ resourceInputs["name"] = state ? state.name : undefined;
26
+ resourceInputs["tags"] = state ? state.tags : undefined;
27
+ }
28
+ else {
29
+ const args = argsOrState;
30
+ resourceInputs["accessRules"] = args ? args.accessRules : undefined;
31
+ resourceInputs["composite"] = args ? args.composite : undefined;
32
+ resourceInputs["name"] = args ? args.name : undefined;
33
+ resourceInputs["tags"] = args ? args.tags : undefined;
34
+ }
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
36
+ super(Role.__pulumiType, name, resourceInputs, opts);
37
+ }
38
+ /**
39
+ * Get an existing Role resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new Role(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of Role. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === Role.__pulumiType;
59
+ }
60
+ }
61
+ exports.Role = Role;
62
+ /** @internal */
63
+ Role.__pulumiType = 'sdm:index/role:Role';
64
+ //# sourceMappingURL=role.js.map
package/role.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAuD3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAmC,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAxED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;;AA1BL,oBA0EC;AA5DG,gBAAgB;AACO,iBAAY,GAAG,qBAAqB,CAAC"}
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Import
4
+ *
5
+ * RoleAttachment can be imported using the id, e.g.,
6
+ *
7
+ * ```sh
8
+ * $ pulumi import sdm:index/roleAttachment:RoleAttachment example ra-12345678
9
+ * ```
10
+ */
11
+ export declare class RoleAttachment extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing RoleAttachment resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RoleAttachmentState, opts?: pulumi.CustomResourceOptions): RoleAttachment;
22
+ /**
23
+ * Returns true if the given object is an instance of RoleAttachment. This is designed to work even
24
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
+ */
26
+ static isInstance(obj: any): obj is RoleAttachment;
27
+ /**
28
+ * The id of the attached role of this RoleAttachment.
29
+ */
30
+ readonly attachedRoleId: pulumi.Output<string>;
31
+ /**
32
+ * The id of the composite role of this RoleAttachment.
33
+ */
34
+ readonly compositeRoleId: pulumi.Output<string>;
35
+ /**
36
+ * Create a RoleAttachment resource with the given unique name, arguments, and options.
37
+ *
38
+ * @param name The _unique_ name of the resource.
39
+ * @param args The arguments to use to populate this resource's properties.
40
+ * @param opts A bag of options that control this resource's behavior.
41
+ */
42
+ constructor(name: string, args: RoleAttachmentArgs, opts?: pulumi.CustomResourceOptions);
43
+ }
44
+ /**
45
+ * Input properties used for looking up and filtering RoleAttachment resources.
46
+ */
47
+ export interface RoleAttachmentState {
48
+ /**
49
+ * The id of the attached role of this RoleAttachment.
50
+ */
51
+ attachedRoleId?: pulumi.Input<string>;
52
+ /**
53
+ * The id of the composite role of this RoleAttachment.
54
+ */
55
+ compositeRoleId?: pulumi.Input<string>;
56
+ }
57
+ /**
58
+ * The set of arguments for constructing a RoleAttachment resource.
59
+ */
60
+ export interface RoleAttachmentArgs {
61
+ /**
62
+ * The id of the attached role of this RoleAttachment.
63
+ */
64
+ attachedRoleId: pulumi.Input<string>;
65
+ /**
66
+ * The id of the composite role of this RoleAttachment.
67
+ */
68
+ compositeRoleId: pulumi.Input<string>;
69
+ }
@@ -0,0 +1,66 @@
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.RoleAttachment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * RoleAttachment can be imported using the id, e.g.,
12
+ *
13
+ * ```sh
14
+ * $ pulumi import sdm:index/roleAttachment:RoleAttachment example ra-12345678
15
+ * ```
16
+ */
17
+ class RoleAttachment extends pulumi.CustomResource {
18
+ constructor(name, argsOrState, opts) {
19
+ let resourceInputs = {};
20
+ opts = opts || {};
21
+ if (opts.id) {
22
+ const state = argsOrState;
23
+ resourceInputs["attachedRoleId"] = state ? state.attachedRoleId : undefined;
24
+ resourceInputs["compositeRoleId"] = state ? state.compositeRoleId : undefined;
25
+ }
26
+ else {
27
+ const args = argsOrState;
28
+ if ((!args || args.attachedRoleId === undefined) && !opts.urn) {
29
+ throw new Error("Missing required property 'attachedRoleId'");
30
+ }
31
+ if ((!args || args.compositeRoleId === undefined) && !opts.urn) {
32
+ throw new Error("Missing required property 'compositeRoleId'");
33
+ }
34
+ resourceInputs["attachedRoleId"] = args ? args.attachedRoleId : undefined;
35
+ resourceInputs["compositeRoleId"] = args ? args.compositeRoleId : undefined;
36
+ }
37
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
38
+ super(RoleAttachment.__pulumiType, name, resourceInputs, opts);
39
+ }
40
+ /**
41
+ * Get an existing RoleAttachment resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name, id, state, opts) {
50
+ return new RoleAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
+ }
52
+ /**
53
+ * Returns true if the given object is an instance of RoleAttachment. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj) {
57
+ if (obj === undefined || obj === null) {
58
+ return false;
59
+ }
60
+ return obj['__pulumiType'] === RoleAttachment.__pulumiType;
61
+ }
62
+ }
63
+ exports.RoleAttachment = RoleAttachment;
64
+ /** @internal */
65
+ RoleAttachment.__pulumiType = 'sdm:index/roleAttachment:RoleAttachment';
66
+ //# sourceMappingURL=roleAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roleAttachment.js","sourceRoot":"","sources":["../roleAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA6CrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5D,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAkEC;AApDG,gBAAgB;AACO,2BAAY,GAAG,yCAAyC,CAAC"}
package/roleGrant.d.ts ADDED
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Import
4
+ *
5
+ * RoleGrant can be imported using the id, e.g.,
6
+ *
7
+ * ```sh
8
+ * $ pulumi import sdm:index/roleGrant:RoleGrant example rg-12345678
9
+ * ```
10
+ */
11
+ export declare class RoleGrant extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing RoleGrant resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RoleGrantState, opts?: pulumi.CustomResourceOptions): RoleGrant;
22
+ /**
23
+ * Returns true if the given object is an instance of RoleGrant. This is designed to work even
24
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
+ */
26
+ static isInstance(obj: any): obj is RoleGrant;
27
+ /**
28
+ * The id of the resource of this RoleGrant.
29
+ */
30
+ readonly resourceId: pulumi.Output<string>;
31
+ /**
32
+ * The id of the attached role of this RoleGrant.
33
+ */
34
+ readonly roleId: pulumi.Output<string>;
35
+ /**
36
+ * Create a RoleGrant resource with the given unique name, arguments, and options.
37
+ *
38
+ * @param name The _unique_ name of the resource.
39
+ * @param args The arguments to use to populate this resource's properties.
40
+ * @param opts A bag of options that control this resource's behavior.
41
+ */
42
+ constructor(name: string, args: RoleGrantArgs, opts?: pulumi.CustomResourceOptions);
43
+ }
44
+ /**
45
+ * Input properties used for looking up and filtering RoleGrant resources.
46
+ */
47
+ export interface RoleGrantState {
48
+ /**
49
+ * The id of the resource of this RoleGrant.
50
+ */
51
+ resourceId?: pulumi.Input<string>;
52
+ /**
53
+ * The id of the attached role of this RoleGrant.
54
+ */
55
+ roleId?: pulumi.Input<string>;
56
+ }
57
+ /**
58
+ * The set of arguments for constructing a RoleGrant resource.
59
+ */
60
+ export interface RoleGrantArgs {
61
+ /**
62
+ * The id of the resource of this RoleGrant.
63
+ */
64
+ resourceId: pulumi.Input<string>;
65
+ /**
66
+ * The id of the attached role of this RoleGrant.
67
+ */
68
+ roleId: pulumi.Input<string>;
69
+ }
package/roleGrant.js ADDED
@@ -0,0 +1,66 @@
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.RoleGrant = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * RoleGrant can be imported using the id, e.g.,
12
+ *
13
+ * ```sh
14
+ * $ pulumi import sdm:index/roleGrant:RoleGrant example rg-12345678
15
+ * ```
16
+ */
17
+ class RoleGrant extends pulumi.CustomResource {
18
+ constructor(name, argsOrState, opts) {
19
+ let resourceInputs = {};
20
+ opts = opts || {};
21
+ if (opts.id) {
22
+ const state = argsOrState;
23
+ resourceInputs["resourceId"] = state ? state.resourceId : undefined;
24
+ resourceInputs["roleId"] = state ? state.roleId : undefined;
25
+ }
26
+ else {
27
+ const args = argsOrState;
28
+ if ((!args || args.resourceId === undefined) && !opts.urn) {
29
+ throw new Error("Missing required property 'resourceId'");
30
+ }
31
+ if ((!args || args.roleId === undefined) && !opts.urn) {
32
+ throw new Error("Missing required property 'roleId'");
33
+ }
34
+ resourceInputs["resourceId"] = args ? args.resourceId : undefined;
35
+ resourceInputs["roleId"] = args ? args.roleId : undefined;
36
+ }
37
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
38
+ super(RoleGrant.__pulumiType, name, resourceInputs, opts);
39
+ }
40
+ /**
41
+ * Get an existing RoleGrant resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name, id, state, opts) {
50
+ return new RoleGrant(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
+ }
52
+ /**
53
+ * Returns true if the given object is an instance of RoleGrant. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj) {
57
+ if (obj === undefined || obj === null) {
58
+ return false;
59
+ }
60
+ return obj['__pulumiType'] === RoleGrant.__pulumiType;
61
+ }
62
+ }
63
+ exports.RoleGrant = RoleGrant;
64
+ /** @internal */
65
+ RoleGrant.__pulumiType = 'sdm:index/roleGrant:RoleGrant';
66
+ //# sourceMappingURL=roleGrant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roleGrant.js","sourceRoot":"","sources":["../roleGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IA6ChD,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,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,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,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;;AA1BL,8BAkEC;AApDG,gBAAgB;AACO,sBAAY,GAAG,+BAA+B,CAAC"}
@@ -0,0 +1,64 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * ## Import
5
+ *
6
+ * SecretStore can be imported using the id, e.g.,
7
+ *
8
+ * ```sh
9
+ * $ pulumi import sdm:index/secretStore:SecretStore example se-12345678
10
+ * ```
11
+ */
12
+ export declare class SecretStore extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing SecretStore resource's state with the given name, ID, and optional extra
15
+ * properties used to qualify the lookup.
16
+ *
17
+ * @param name The _unique_ name of the resulting resource.
18
+ * @param id The _unique_ provider ID of the resource to lookup.
19
+ * @param state Any extra arguments used during the lookup.
20
+ * @param opts Optional settings to control the behavior of the CustomResource.
21
+ */
22
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretStoreState, opts?: pulumi.CustomResourceOptions): SecretStore;
23
+ /**
24
+ * Returns true if the given object is an instance of SecretStore. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj: any): obj is SecretStore;
28
+ readonly aws: pulumi.Output<outputs.SecretStoreAws | undefined>;
29
+ readonly azureStore: pulumi.Output<outputs.SecretStoreAzureStore | undefined>;
30
+ readonly gcpStore: pulumi.Output<outputs.SecretStoreGcpStore | undefined>;
31
+ readonly vaultApprole: pulumi.Output<outputs.SecretStoreVaultApprole | undefined>;
32
+ readonly vaultTls: pulumi.Output<outputs.SecretStoreVaultTls | undefined>;
33
+ readonly vaultToken: pulumi.Output<outputs.SecretStoreVaultToken | undefined>;
34
+ /**
35
+ * Create a SecretStore resource with the given unique name, arguments, and options.
36
+ *
37
+ * @param name The _unique_ name of the resource.
38
+ * @param args The arguments to use to populate this resource's properties.
39
+ * @param opts A bag of options that control this resource's behavior.
40
+ */
41
+ constructor(name: string, args?: SecretStoreArgs, opts?: pulumi.CustomResourceOptions);
42
+ }
43
+ /**
44
+ * Input properties used for looking up and filtering SecretStore resources.
45
+ */
46
+ export interface SecretStoreState {
47
+ aws?: pulumi.Input<inputs.SecretStoreAws>;
48
+ azureStore?: pulumi.Input<inputs.SecretStoreAzureStore>;
49
+ gcpStore?: pulumi.Input<inputs.SecretStoreGcpStore>;
50
+ vaultApprole?: pulumi.Input<inputs.SecretStoreVaultApprole>;
51
+ vaultTls?: pulumi.Input<inputs.SecretStoreVaultTls>;
52
+ vaultToken?: pulumi.Input<inputs.SecretStoreVaultToken>;
53
+ }
54
+ /**
55
+ * The set of arguments for constructing a SecretStore resource.
56
+ */
57
+ export interface SecretStoreArgs {
58
+ aws?: pulumi.Input<inputs.SecretStoreAws>;
59
+ azureStore?: pulumi.Input<inputs.SecretStoreAzureStore>;
60
+ gcpStore?: pulumi.Input<inputs.SecretStoreGcpStore>;
61
+ vaultApprole?: pulumi.Input<inputs.SecretStoreVaultApprole>;
62
+ vaultTls?: pulumi.Input<inputs.SecretStoreVaultTls>;
63
+ vaultToken?: pulumi.Input<inputs.SecretStoreVaultToken>;
64
+ }
package/secretStore.js ADDED
@@ -0,0 +1,68 @@
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.SecretStore = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * SecretStore can be imported using the id, e.g.,
12
+ *
13
+ * ```sh
14
+ * $ pulumi import sdm:index/secretStore:SecretStore example se-12345678
15
+ * ```
16
+ */
17
+ class SecretStore extends pulumi.CustomResource {
18
+ constructor(name, argsOrState, opts) {
19
+ let resourceInputs = {};
20
+ opts = opts || {};
21
+ if (opts.id) {
22
+ const state = argsOrState;
23
+ resourceInputs["aws"] = state ? state.aws : undefined;
24
+ resourceInputs["azureStore"] = state ? state.azureStore : undefined;
25
+ resourceInputs["gcpStore"] = state ? state.gcpStore : undefined;
26
+ resourceInputs["vaultApprole"] = state ? state.vaultApprole : undefined;
27
+ resourceInputs["vaultTls"] = state ? state.vaultTls : undefined;
28
+ resourceInputs["vaultToken"] = state ? state.vaultToken : undefined;
29
+ }
30
+ else {
31
+ const args = argsOrState;
32
+ resourceInputs["aws"] = args ? args.aws : undefined;
33
+ resourceInputs["azureStore"] = args ? args.azureStore : undefined;
34
+ resourceInputs["gcpStore"] = args ? args.gcpStore : undefined;
35
+ resourceInputs["vaultApprole"] = args ? args.vaultApprole : undefined;
36
+ resourceInputs["vaultTls"] = args ? args.vaultTls : undefined;
37
+ resourceInputs["vaultToken"] = args ? args.vaultToken : undefined;
38
+ }
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
40
+ super(SecretStore.__pulumiType, name, resourceInputs, opts);
41
+ }
42
+ /**
43
+ * Get an existing SecretStore resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name, id, state, opts) {
52
+ return new SecretStore(name, state, Object.assign(Object.assign({}, opts), { id: id }));
53
+ }
54
+ /**
55
+ * Returns true if the given object is an instance of SecretStore. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj) {
59
+ if (obj === undefined || obj === null) {
60
+ return false;
61
+ }
62
+ return obj['__pulumiType'] === SecretStore.__pulumiType;
63
+ }
64
+ }
65
+ exports.SecretStore = SecretStore;
66
+ /** @internal */
67
+ SecretStore.__pulumiType = 'sdm:index/secretStore:SecretStore';
68
+ //# sourceMappingURL=secretStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secretStore.js","sourceRoot":"","sources":["../secretStore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA2ClD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;;AA1BL,kCAkEC;AApDG,gBAAgB;AACO,wBAAY,GAAG,mCAAmC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import * as input from "./input";
2
+ import * as output from "./output";
3
+ export { input, output, };
package/types/index.js ADDED
@@ -0,0 +1,11 @@
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.output = exports.input = void 0;
6
+ // Export sub-modules:
7
+ const input = require("./input");
8
+ exports.input = input;
9
+ const output = require("./output");
10
+ exports.output = output;
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}