@pierskarsenbarg/sdm 1.12.0 → 1.13.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/getAccount.d.ts CHANGED
@@ -78,7 +78,7 @@ export interface GetAccountArgs {
78
78
  * Tags is a map of key, value pairs.
79
79
  */
80
80
  tags?: {
81
- [key: string]: any;
81
+ [key: string]: string;
82
82
  };
83
83
  /**
84
84
  * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters) for more information.
@@ -142,7 +142,7 @@ export interface GetAccountResult {
142
142
  * Tags is a map of key, value pairs.
143
143
  */
144
144
  readonly tags?: {
145
- [key: string]: any;
145
+ [key: string]: string;
146
146
  };
147
147
  readonly type?: string;
148
148
  }
@@ -224,7 +224,7 @@ export interface GetAccountOutputArgs {
224
224
  * Tags is a map of key, value pairs.
225
225
  */
226
226
  tags?: pulumi.Input<{
227
- [key: string]: any;
227
+ [key: string]: pulumi.Input<string>;
228
228
  }>;
229
229
  /**
230
230
  * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters) for more information.
@@ -0,0 +1,105 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * IdentityAliases define the username to be used for a specific account
5
+ * when connecting to a remote resource using that identity set.
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as sdm from "@pulumi/sdm";
11
+ *
12
+ * const user = sdm.getIdentityAlias({
13
+ * id: "i-0900909",
14
+ * username: "user",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getIdentityAlias(args?: GetIdentityAliasArgs, opts?: pulumi.InvokeOptions): Promise<GetIdentityAliasResult>;
19
+ /**
20
+ * A collection of arguments for invoking getIdentityAlias.
21
+ */
22
+ export interface GetIdentityAliasArgs {
23
+ /**
24
+ * The account for this identity alias.
25
+ */
26
+ accountId?: string;
27
+ /**
28
+ * Unique identifier of the IdentityAlias.
29
+ */
30
+ id?: string;
31
+ /**
32
+ * The identity set.
33
+ */
34
+ identitySetId?: string;
35
+ /**
36
+ * The username to be used as the identity alias for this account.
37
+ */
38
+ username?: string;
39
+ }
40
+ /**
41
+ * A collection of values returned by getIdentityAlias.
42
+ */
43
+ export interface GetIdentityAliasResult {
44
+ /**
45
+ * The account for this identity alias.
46
+ */
47
+ readonly accountId?: string;
48
+ /**
49
+ * Unique identifier of the IdentityAlias.
50
+ */
51
+ readonly id?: string;
52
+ /**
53
+ * A list where each element has the following attributes:
54
+ */
55
+ readonly identityAliases: outputs.GetIdentityAliasIdentityAlias[];
56
+ /**
57
+ * The identity set.
58
+ */
59
+ readonly identitySetId?: string;
60
+ /**
61
+ * a list of strings of ids of data sources that match the given arguments.
62
+ */
63
+ readonly ids: string[];
64
+ /**
65
+ * The username to be used as the identity alias for this account.
66
+ */
67
+ readonly username?: string;
68
+ }
69
+ /**
70
+ * IdentityAliases define the username to be used for a specific account
71
+ * when connecting to a remote resource using that identity set.
72
+ * ## Example Usage
73
+ *
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as sdm from "@pulumi/sdm";
77
+ *
78
+ * const user = sdm.getIdentityAlias({
79
+ * id: "i-0900909",
80
+ * username: "user",
81
+ * });
82
+ * ```
83
+ */
84
+ export declare function getIdentityAliasOutput(args?: GetIdentityAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIdentityAliasResult>;
85
+ /**
86
+ * A collection of arguments for invoking getIdentityAlias.
87
+ */
88
+ export interface GetIdentityAliasOutputArgs {
89
+ /**
90
+ * The account for this identity alias.
91
+ */
92
+ accountId?: pulumi.Input<string>;
93
+ /**
94
+ * Unique identifier of the IdentityAlias.
95
+ */
96
+ id?: pulumi.Input<string>;
97
+ /**
98
+ * The identity set.
99
+ */
100
+ identitySetId?: pulumi.Input<string>;
101
+ /**
102
+ * The username to be used as the identity alias for this account.
103
+ */
104
+ username?: pulumi.Input<string>;
105
+ }
@@ -0,0 +1,53 @@
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.getIdentityAliasOutput = exports.getIdentityAlias = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * IdentityAliases define the username to be used for a specific account
10
+ * when connecting to a remote resource using that identity set.
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as sdm from "@pulumi/sdm";
16
+ *
17
+ * const user = sdm.getIdentityAlias({
18
+ * id: "i-0900909",
19
+ * username: "user",
20
+ * });
21
+ * ```
22
+ */
23
+ function getIdentityAlias(args, opts) {
24
+ args = args || {};
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("sdm:index/getIdentityAlias:getIdentityAlias", {
27
+ "accountId": args.accountId,
28
+ "id": args.id,
29
+ "identitySetId": args.identitySetId,
30
+ "username": args.username,
31
+ }, opts);
32
+ }
33
+ exports.getIdentityAlias = getIdentityAlias;
34
+ /**
35
+ * IdentityAliases define the username to be used for a specific account
36
+ * when connecting to a remote resource using that identity set.
37
+ * ## Example Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as sdm from "@pulumi/sdm";
42
+ *
43
+ * const user = sdm.getIdentityAlias({
44
+ * id: "i-0900909",
45
+ * username: "user",
46
+ * });
47
+ * ```
48
+ */
49
+ function getIdentityAliasOutput(args, opts) {
50
+ return pulumi.output(args).apply((a) => getIdentityAlias(a, opts));
51
+ }
52
+ exports.getIdentityAliasOutput = getIdentityAliasOutput;
53
+ //# sourceMappingURL=getIdentityAlias.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIdentityAlias.js","sourceRoot":"","sources":["../getIdentityAlias.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,6CAA6C,EAAE;QACxE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4CAUC;AAqDD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
@@ -0,0 +1,77 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * A IdentitySet defines a group of identity aliases.
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as sdm from "@pulumi/sdm";
10
+ *
11
+ * const default = sdm.getIdentitySet({
12
+ * name: "default",
13
+ * });
14
+ * ```
15
+ */
16
+ export declare function getIdentitySet(args?: GetIdentitySetArgs, opts?: pulumi.InvokeOptions): Promise<GetIdentitySetResult>;
17
+ /**
18
+ * A collection of arguments for invoking getIdentitySet.
19
+ */
20
+ export interface GetIdentitySetArgs {
21
+ /**
22
+ * Unique identifier of the IdentitySet.
23
+ */
24
+ id?: string;
25
+ /**
26
+ * Unique human-readable name of the IdentitySet.
27
+ */
28
+ name?: string;
29
+ }
30
+ /**
31
+ * A collection of values returned by getIdentitySet.
32
+ */
33
+ export interface GetIdentitySetResult {
34
+ /**
35
+ * Unique identifier of the IdentitySet.
36
+ */
37
+ readonly id?: string;
38
+ /**
39
+ * A list where each element has the following attributes:
40
+ */
41
+ readonly identitySets: outputs.GetIdentitySetIdentitySet[];
42
+ /**
43
+ * a list of strings of ids of data sources that match the given arguments.
44
+ */
45
+ readonly ids: string[];
46
+ /**
47
+ * Unique human-readable name of the IdentitySet.
48
+ */
49
+ readonly name?: string;
50
+ }
51
+ /**
52
+ * A IdentitySet defines a group of identity aliases.
53
+ * ## Example Usage
54
+ *
55
+ * ```typescript
56
+ * import * as pulumi from "@pulumi/pulumi";
57
+ * import * as sdm from "@pulumi/sdm";
58
+ *
59
+ * const default = sdm.getIdentitySet({
60
+ * name: "default",
61
+ * });
62
+ * ```
63
+ */
64
+ export declare function getIdentitySetOutput(args?: GetIdentitySetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIdentitySetResult>;
65
+ /**
66
+ * A collection of arguments for invoking getIdentitySet.
67
+ */
68
+ export interface GetIdentitySetOutputArgs {
69
+ /**
70
+ * Unique identifier of the IdentitySet.
71
+ */
72
+ id?: pulumi.Input<string>;
73
+ /**
74
+ * Unique human-readable name of the IdentitySet.
75
+ */
76
+ name?: pulumi.Input<string>;
77
+ }
@@ -0,0 +1,47 @@
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.getIdentitySetOutput = exports.getIdentitySet = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * A IdentitySet defines a group of identity aliases.
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as sdm from "@pulumi/sdm";
15
+ *
16
+ * const default = sdm.getIdentitySet({
17
+ * name: "default",
18
+ * });
19
+ * ```
20
+ */
21
+ function getIdentitySet(args, opts) {
22
+ args = args || {};
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("sdm:index/getIdentitySet:getIdentitySet", {
25
+ "id": args.id,
26
+ "name": args.name,
27
+ }, opts);
28
+ }
29
+ exports.getIdentitySet = getIdentitySet;
30
+ /**
31
+ * A IdentitySet defines a group of identity aliases.
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as sdm from "@pulumi/sdm";
37
+ *
38
+ * const default = sdm.getIdentitySet({
39
+ * name: "default",
40
+ * });
41
+ * ```
42
+ */
43
+ function getIdentitySetOutput(args, opts) {
44
+ return pulumi.output(args).apply((a) => getIdentitySet(a, opts));
45
+ }
46
+ exports.getIdentitySetOutput = getIdentitySetOutput;
47
+ //# sourceMappingURL=getIdentitySet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIdentitySet.js","sourceRoot":"","sources":["../getIdentitySet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,yCAAyC,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
package/getNode.d.ts CHANGED
@@ -45,7 +45,7 @@ export interface GetNodeArgs {
45
45
  * Tags is a map of key, value pairs.
46
46
  */
47
47
  tags?: {
48
- [key: string]: any;
48
+ [key: string]: string;
49
49
  };
50
50
  /**
51
51
  * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters) for more information.
@@ -85,7 +85,7 @@ export interface GetNodeResult {
85
85
  * Tags is a map of key, value pairs.
86
86
  */
87
87
  readonly tags?: {
88
- [key: string]: any;
88
+ [key: string]: string;
89
89
  };
90
90
  readonly type?: string;
91
91
  }
@@ -134,7 +134,7 @@ export interface GetNodeOutputArgs {
134
134
  * Tags is a map of key, value pairs.
135
135
  */
136
136
  tags?: pulumi.Input<{
137
- [key: string]: any;
137
+ [key: string]: pulumi.Input<string>;
138
138
  }>;
139
139
  /**
140
140
  * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters) for more information.
package/getResource.d.ts CHANGED
@@ -44,7 +44,7 @@ export interface GetResourceArgs {
44
44
  * Tags is a map of key, value pairs.
45
45
  */
46
46
  tags?: {
47
- [key: string]: any;
47
+ [key: string]: string;
48
48
  };
49
49
  /**
50
50
  * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters) for more information.
@@ -88,7 +88,7 @@ export interface GetResourceResult {
88
88
  * Tags is a map of key, value pairs.
89
89
  */
90
90
  readonly tags?: {
91
- [key: string]: any;
91
+ [key: string]: string;
92
92
  };
93
93
  readonly type?: string;
94
94
  /**
@@ -140,7 +140,7 @@ export interface GetResourceOutputArgs {
140
140
  * Tags is a map of key, value pairs.
141
141
  */
142
142
  tags?: pulumi.Input<{
143
- [key: string]: any;
143
+ [key: string]: pulumi.Input<string>;
144
144
  }>;
145
145
  /**
146
146
  * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters) for more information.
@@ -21,7 +21,7 @@ export interface GetSecretStoreArgs {
21
21
  * Tags is a map of key, value pairs.
22
22
  */
23
23
  tags?: {
24
- [key: string]: any;
24
+ [key: string]: string;
25
25
  };
26
26
  /**
27
27
  * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters) for more information.
@@ -53,7 +53,7 @@ export interface GetSecretStoreResult {
53
53
  * Tags is a map of key, value pairs.
54
54
  */
55
55
  readonly tags?: {
56
- [key: string]: any;
56
+ [key: string]: string;
57
57
  };
58
58
  readonly type?: string;
59
59
  }
@@ -78,7 +78,7 @@ export interface GetSecretStoreOutputArgs {
78
78
  * Tags is a map of key, value pairs.
79
79
  */
80
80
  tags?: pulumi.Input<{
81
- [key: string]: any;
81
+ [key: string]: pulumi.Input<string>;
82
82
  }>;
83
83
  /**
84
84
  * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters) for more information.
@@ -0,0 +1,83 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * IdentityAliases define the username to be used for a specific account
4
+ * when connecting to a remote resource using that identity set.
5
+ * ## Import
6
+ *
7
+ * A IdentityAlias can be imported using the id, e.g.,
8
+ *
9
+ * ```sh
10
+ * $ pulumi import sdm:index/identityAlias:IdentityAlias example i-12345678
11
+ * ```
12
+ */
13
+ export declare class IdentityAlias extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing IdentityAlias resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IdentityAliasState, opts?: pulumi.CustomResourceOptions): IdentityAlias;
24
+ /**
25
+ * Returns true if the given object is an instance of IdentityAlias. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is IdentityAlias;
29
+ /**
30
+ * The account for this identity alias.
31
+ */
32
+ readonly accountId: pulumi.Output<string>;
33
+ /**
34
+ * The identity set.
35
+ */
36
+ readonly identitySetId: pulumi.Output<string>;
37
+ /**
38
+ * The username to be used as the identity alias for this account.
39
+ */
40
+ readonly username: pulumi.Output<string>;
41
+ /**
42
+ * Create a IdentityAlias resource with the given unique name, arguments, and options.
43
+ *
44
+ * @param name The _unique_ name of the resource.
45
+ * @param args The arguments to use to populate this resource's properties.
46
+ * @param opts A bag of options that control this resource's behavior.
47
+ */
48
+ constructor(name: string, args: IdentityAliasArgs, opts?: pulumi.CustomResourceOptions);
49
+ }
50
+ /**
51
+ * Input properties used for looking up and filtering IdentityAlias resources.
52
+ */
53
+ export interface IdentityAliasState {
54
+ /**
55
+ * The account for this identity alias.
56
+ */
57
+ accountId?: pulumi.Input<string>;
58
+ /**
59
+ * The identity set.
60
+ */
61
+ identitySetId?: pulumi.Input<string>;
62
+ /**
63
+ * The username to be used as the identity alias for this account.
64
+ */
65
+ username?: pulumi.Input<string>;
66
+ }
67
+ /**
68
+ * The set of arguments for constructing a IdentityAlias resource.
69
+ */
70
+ export interface IdentityAliasArgs {
71
+ /**
72
+ * The account for this identity alias.
73
+ */
74
+ accountId: pulumi.Input<string>;
75
+ /**
76
+ * The identity set.
77
+ */
78
+ identitySetId: pulumi.Input<string>;
79
+ /**
80
+ * The username to be used as the identity alias for this account.
81
+ */
82
+ username: pulumi.Input<string>;
83
+ }
@@ -0,0 +1,73 @@
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.IdentityAlias = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * IdentityAliases define the username to be used for a specific account
10
+ * when connecting to a remote resource using that identity set.
11
+ * ## Import
12
+ *
13
+ * A IdentityAlias can be imported using the id, e.g.,
14
+ *
15
+ * ```sh
16
+ * $ pulumi import sdm:index/identityAlias:IdentityAlias example i-12345678
17
+ * ```
18
+ */
19
+ class IdentityAlias extends pulumi.CustomResource {
20
+ /**
21
+ * Get an existing IdentityAlias resource's state with the given name, ID, and optional extra
22
+ * properties used to qualify the lookup.
23
+ *
24
+ * @param name The _unique_ name of the resulting resource.
25
+ * @param id The _unique_ provider ID of the resource to lookup.
26
+ * @param state Any extra arguments used during the lookup.
27
+ * @param opts Optional settings to control the behavior of the CustomResource.
28
+ */
29
+ static get(name, id, state, opts) {
30
+ return new IdentityAlias(name, state, Object.assign(Object.assign({}, opts), { id: id }));
31
+ }
32
+ /**
33
+ * Returns true if the given object is an instance of IdentityAlias. This is designed to work even
34
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
+ */
36
+ static isInstance(obj) {
37
+ if (obj === undefined || obj === null) {
38
+ return false;
39
+ }
40
+ return obj['__pulumiType'] === IdentityAlias.__pulumiType;
41
+ }
42
+ constructor(name, argsOrState, opts) {
43
+ let resourceInputs = {};
44
+ opts = opts || {};
45
+ if (opts.id) {
46
+ const state = argsOrState;
47
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
48
+ resourceInputs["identitySetId"] = state ? state.identitySetId : undefined;
49
+ resourceInputs["username"] = state ? state.username : undefined;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ if ((!args || args.accountId === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'accountId'");
55
+ }
56
+ if ((!args || args.identitySetId === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'identitySetId'");
58
+ }
59
+ if ((!args || args.username === undefined) && !opts.urn) {
60
+ throw new Error("Missing required property 'username'");
61
+ }
62
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
63
+ resourceInputs["identitySetId"] = args ? args.identitySetId : undefined;
64
+ resourceInputs["username"] = args ? args.username : undefined;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ super(IdentityAlias.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ }
70
+ exports.IdentityAlias = IdentityAlias;
71
+ /** @internal */
72
+ IdentityAlias.__pulumiType = 'sdm:index/identityAlias:IdentityAlias';
73
+ //# sourceMappingURL=identityAlias.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identityAlias.js","sourceRoot":"","sources":["../identityAlias.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;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"}
@@ -0,0 +1,68 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * A IdentitySet defines a group of identity aliases.
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as sdm from "@pierskarsenbarg/sdm";
9
+ *
10
+ * const _default = new sdm.IdentitySet("default", {});
11
+ * ```
12
+ * This resource can be imported using the import command.
13
+ *
14
+ * ## Import
15
+ *
16
+ * A IdentitySet can be imported using the id, e.g.,
17
+ *
18
+ * ```sh
19
+ * $ pulumi import sdm:index/identitySet:IdentitySet example ig-12345678
20
+ * ```
21
+ */
22
+ export declare class IdentitySet extends pulumi.CustomResource {
23
+ /**
24
+ * Get an existing IdentitySet resource's state with the given name, ID, and optional extra
25
+ * properties used to qualify the lookup.
26
+ *
27
+ * @param name The _unique_ name of the resulting resource.
28
+ * @param id The _unique_ provider ID of the resource to lookup.
29
+ * @param state Any extra arguments used during the lookup.
30
+ * @param opts Optional settings to control the behavior of the CustomResource.
31
+ */
32
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IdentitySetState, opts?: pulumi.CustomResourceOptions): IdentitySet;
33
+ /**
34
+ * Returns true if the given object is an instance of IdentitySet. This is designed to work even
35
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
36
+ */
37
+ static isInstance(obj: any): obj is IdentitySet;
38
+ /**
39
+ * Unique human-readable name of the IdentitySet.
40
+ */
41
+ readonly name: pulumi.Output<string>;
42
+ /**
43
+ * Create a IdentitySet resource with the given unique name, arguments, and options.
44
+ *
45
+ * @param name The _unique_ name of the resource.
46
+ * @param args The arguments to use to populate this resource's properties.
47
+ * @param opts A bag of options that control this resource's behavior.
48
+ */
49
+ constructor(name: string, args?: IdentitySetArgs, opts?: pulumi.CustomResourceOptions);
50
+ }
51
+ /**
52
+ * Input properties used for looking up and filtering IdentitySet resources.
53
+ */
54
+ export interface IdentitySetState {
55
+ /**
56
+ * Unique human-readable name of the IdentitySet.
57
+ */
58
+ name?: pulumi.Input<string>;
59
+ }
60
+ /**
61
+ * The set of arguments for constructing a IdentitySet resource.
62
+ */
63
+ export interface IdentitySetArgs {
64
+ /**
65
+ * Unique human-readable name of the IdentitySet.
66
+ */
67
+ name?: pulumi.Input<string>;
68
+ }