@formalco/pulumi 1.0.0-alpha.1754615478
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/LICENSE +373 -0
- package/README.md +59 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +2 -0
- package/config/vars.js +19 -0
- package/config/vars.js.map +1 -0
- package/connector.d.ts +83 -0
- package/connector.js +60 -0
- package/connector.js.map +1 -0
- package/connectorConfiguration.d.ts +75 -0
- package/connectorConfiguration.js +59 -0
- package/connectorConfiguration.js.map +1 -0
- package/connectorHostname.d.ts +121 -0
- package/connectorHostname.js +70 -0
- package/connectorHostname.js.map +1 -0
- package/connectorListener.d.ts +75 -0
- package/connectorListener.js +59 -0
- package/connectorListener.js.map +1 -0
- package/connectorListenerLink.d.ts +75 -0
- package/connectorListenerLink.js +62 -0
- package/connectorListenerLink.js.map +1 -0
- package/connectorListenerRule.d.ts +87 -0
- package/connectorListenerRule.js +67 -0
- package/connectorListenerRule.js.map +1 -0
- package/dataDiscovery.d.ts +107 -0
- package/dataDiscovery.js +74 -0
- package/dataDiscovery.js.map +1 -0
- package/dataDomain.d.ts +117 -0
- package/dataDomain.js +73 -0
- package/dataDomain.js.map +1 -0
- package/dataLabel.d.ts +75 -0
- package/dataLabel.js +62 -0
- package/dataLabel.js.map +1 -0
- package/encryptionKey.d.ts +103 -0
- package/encryptionKey.js +74 -0
- package/encryptionKey.js.map +1 -0
- package/getGroup.d.ts +48 -0
- package/getGroup.js +28 -0
- package/getGroup.js.map +1 -0
- package/getResource.d.ts +68 -0
- package/getResource.js +28 -0
- package/getResource.js.map +1 -0
- package/group.d.ts +75 -0
- package/group.js +59 -0
- package/group.js.map +1 -0
- package/groupUserLink.d.ts +75 -0
- package/groupUserLink.js +62 -0
- package/groupUserLink.js.map +1 -0
- package/index.d.ts +118 -0
- package/index.js +233 -0
- package/index.js.map +1 -0
- package/integrationBi.d.ts +77 -0
- package/integrationBi.js +59 -0
- package/integrationBi.js.map +1 -0
- package/integrationCloud.d.ts +183 -0
- package/integrationCloud.js +83 -0
- package/integrationCloud.js.map +1 -0
- package/integrationDataCatalog.d.ts +89 -0
- package/integrationDataCatalog.js +64 -0
- package/integrationDataCatalog.js.map +1 -0
- package/integrationLog.d.ts +89 -0
- package/integrationLog.js +58 -0
- package/integrationLog.js.map +1 -0
- package/integrationMdm.d.ts +65 -0
- package/integrationMdm.js +54 -0
- package/integrationMdm.js.map +1 -0
- package/integrationMfa.d.ts +77 -0
- package/integrationMfa.js +56 -0
- package/integrationMfa.js.map +1 -0
- package/inventoryObjectDataLabelLink.d.ts +87 -0
- package/inventoryObjectDataLabelLink.js +70 -0
- package/inventoryObjectDataLabelLink.js.map +1 -0
- package/logConfiguration.d.ts +129 -0
- package/logConfiguration.js +78 -0
- package/logConfiguration.js.map +1 -0
- package/nativeUser.d.ts +99 -0
- package/nativeUser.js +71 -0
- package/nativeUser.js.map +1 -0
- package/nativeUserLink.d.ts +95 -0
- package/nativeUserLink.js +69 -0
- package/nativeUserLink.js.map +1 -0
- package/package.json +29 -0
- package/permission.d.ts +99 -0
- package/permission.js +69 -0
- package/permission.js.map +1 -0
- package/policy.d.ts +139 -0
- package/policy.js +83 -0
- package/policy.js.map +1 -0
- package/policyDataLoader.d.ts +151 -0
- package/policyDataLoader.js +88 -0
- package/policyDataLoader.js.map +1 -0
- package/provider.d.ts +44 -0
- package/provider.js +54 -0
- package/provider.js.map +1 -0
- package/resource.d.ts +149 -0
- package/resource.js +77 -0
- package/resource.js.map +1 -0
- package/resourceClassifierConfiguration.d.ts +79 -0
- package/resourceClassifierConfiguration.js +64 -0
- package/resourceClassifierConfiguration.js.map +1 -0
- package/resourceHealthCheck.d.ts +75 -0
- package/resourceHealthCheck.js +62 -0
- package/resourceHealthCheck.js.map +1 -0
- package/resourceHostname.d.ts +87 -0
- package/resourceHostname.js +64 -0
- package/resourceHostname.js.map +1 -0
- package/resourceTlsConfiguration.d.ts +87 -0
- package/resourceTlsConfiguration.js +64 -0
- package/resourceTlsConfiguration.js.map +1 -0
- package/satellite.d.ts +91 -0
- package/satellite.js +62 -0
- package/satellite.js.map +1 -0
- package/sidecar.d.ts +123 -0
- package/sidecar.js +74 -0
- package/sidecar.js.map +1 -0
- package/sidecarResourceLink.d.ts +87 -0
- package/sidecarResourceLink.js +67 -0
- package/sidecarResourceLink.js.map +1 -0
- package/space.d.ts +83 -0
- package/space.js +58 -0
- package/space.js.map +1 -0
- package/tracker.d.ts +103 -0
- package/tracker.js +68 -0
- package/tracker.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +196 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +195 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +151 -0
- package/user.js +75 -0
- package/user.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +102 -0
- package/utilities.js.map +1 -0
package/dataLabel.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DataLabel = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Registering a Data Label with Formal.
|
|
10
|
+
*/
|
|
11
|
+
class DataLabel extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing DataLabel 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, id, state, opts) {
|
|
22
|
+
return new DataLabel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of DataLabel. 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) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === DataLabel.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["classifierData"] = state ? state.classifierData : undefined;
|
|
40
|
+
resourceInputs["classifierType"] = state ? state.classifierType : undefined;
|
|
41
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if ((!args || args.classifierData === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'classifierData'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.classifierType === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'classifierType'");
|
|
50
|
+
}
|
|
51
|
+
resourceInputs["classifierData"] = args ? args.classifierData : undefined;
|
|
52
|
+
resourceInputs["classifierType"] = args ? args.classifierType : undefined;
|
|
53
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
54
|
+
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
+
super(DataLabel.__pulumiType, name, resourceInputs, opts);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.DataLabel = DataLabel;
|
|
60
|
+
/** @internal */
|
|
61
|
+
DataLabel.__pulumiType = 'formal:index/dataLabel:DataLabel';
|
|
62
|
+
//# sourceMappingURL=dataLabel.js.map
|
package/dataLabel.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataLabel.js","sourceRoot":"","sources":["../dataLabel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,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;IAuBD,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,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,c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pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing EncryptionKey resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param state Any extra arguments used during the lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EncryptionKeyState, opts?: pulumi.CustomResourceOptions): EncryptionKey;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of EncryptionKey. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is EncryptionKey;
|
|
21
|
+
/**
|
|
22
|
+
* The algorithm used for encryption. Can be either 'aes*random' or 'aes*deterministic'.
|
|
23
|
+
*/
|
|
24
|
+
readonly algorithm: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* When the encryption key was created.
|
|
27
|
+
*/
|
|
28
|
+
readonly createdAt: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The URI of the decryptor (e.g., a URL to a Lambda function, either directly or via API Gateway). This is used to decrypt the data on the frontend only (and is never called by the Formal Control Plane backend).
|
|
31
|
+
*/
|
|
32
|
+
readonly decryptorUri: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the key in the provider's system (e.g., key ARN for AWS KMS).
|
|
35
|
+
*/
|
|
36
|
+
readonly keyId: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The provider of the encryption key. Currently only 'aws' is supported.
|
|
39
|
+
*/
|
|
40
|
+
readonly keyProvider: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Last update time.
|
|
43
|
+
*/
|
|
44
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a EncryptionKey resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args: EncryptionKeyArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Input properties used for looking up and filtering EncryptionKey resources.
|
|
56
|
+
*/
|
|
57
|
+
export interface EncryptionKeyState {
|
|
58
|
+
/**
|
|
59
|
+
* The algorithm used for encryption. Can be either 'aes*random' or 'aes*deterministic'.
|
|
60
|
+
*/
|
|
61
|
+
algorithm?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* When the encryption key was created.
|
|
64
|
+
*/
|
|
65
|
+
createdAt?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The URI of the decryptor (e.g., a URL to a Lambda function, either directly or via API Gateway). This is used to decrypt the data on the frontend only (and is never called by the Formal Control Plane backend).
|
|
68
|
+
*/
|
|
69
|
+
decryptorUri?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The ID of the key in the provider's system (e.g., key ARN for AWS KMS).
|
|
72
|
+
*/
|
|
73
|
+
keyId?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The provider of the encryption key. Currently only 'aws' is supported.
|
|
76
|
+
*/
|
|
77
|
+
keyProvider?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Last update time.
|
|
80
|
+
*/
|
|
81
|
+
updatedAt?: pulumi.Input<string>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The set of arguments for constructing a EncryptionKey resource.
|
|
85
|
+
*/
|
|
86
|
+
export interface EncryptionKeyArgs {
|
|
87
|
+
/**
|
|
88
|
+
* The algorithm used for encryption. Can be either 'aes*random' or 'aes*deterministic'.
|
|
89
|
+
*/
|
|
90
|
+
algorithm: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The URI of the decryptor (e.g., a URL to a Lambda function, either directly or via API Gateway). This is used to decrypt the data on the frontend only (and is never called by the Formal Control Plane backend).
|
|
93
|
+
*/
|
|
94
|
+
decryptorUri: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the key in the provider's system (e.g., key ARN for AWS KMS).
|
|
97
|
+
*/
|
|
98
|
+
keyId: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The provider of the encryption key. Currently only 'aws' is supported.
|
|
101
|
+
*/
|
|
102
|
+
keyProvider: pulumi.Input<string>;
|
|
103
|
+
}
|
package/encryptionKey.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.EncryptionKey = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Registering an Encryption Key with Formal.
|
|
10
|
+
*/
|
|
11
|
+
class EncryptionKey extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing EncryptionKey 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, id, state, opts) {
|
|
22
|
+
return new EncryptionKey(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of EncryptionKey. 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) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === EncryptionKey.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["algorithm"] = state ? state.algorithm : undefined;
|
|
40
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
41
|
+
resourceInputs["decryptorUri"] = state ? state.decryptorUri : undefined;
|
|
42
|
+
resourceInputs["keyId"] = state ? state.keyId : undefined;
|
|
43
|
+
resourceInputs["keyProvider"] = state ? state.keyProvider : undefined;
|
|
44
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
const args = argsOrState;
|
|
48
|
+
if ((!args || args.algorithm === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'algorithm'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.decryptorUri === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'decryptorUri'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.keyId === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'keyId'");
|
|
56
|
+
}
|
|
57
|
+
if ((!args || args.keyProvider === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'keyProvider'");
|
|
59
|
+
}
|
|
60
|
+
resourceInputs["algorithm"] = args ? args.algorithm : undefined;
|
|
61
|
+
resourceInputs["decryptorUri"] = args ? args.decryptorUri : undefined;
|
|
62
|
+
resourceInputs["keyId"] = args ? args.keyId : undefined;
|
|
63
|
+
resourceInputs["keyProvider"] = args ? args.keyProvider : undefined;
|
|
64
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
66
|
+
}
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
|
+
super(EncryptionKey.__pulumiType, name, resourceInputs, opts);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.EncryptionKey = EncryptionKey;
|
|
72
|
+
/** @internal */
|
|
73
|
+
EncryptionKey.__pulumiType = 'formal:index/encryptionKey:EncryptionKey';
|
|
74
|
+
//# sourceMappingURL=encryptionKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encryptionKey.js","sourceRoot":"","sources":["../encryptionKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;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;IAmCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,I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AAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;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;;AA/FL,sCAgGC;AAlFG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/getGroup.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data source for looking up a Group by name.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getGroup.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetGroupArgs {
|
|
10
|
+
/**
|
|
11
|
+
* The name of the Group.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getGroup.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetGroupResult {
|
|
19
|
+
/**
|
|
20
|
+
* Description for this Group.
|
|
21
|
+
*/
|
|
22
|
+
readonly description: string;
|
|
23
|
+
/**
|
|
24
|
+
* The Formal ID for this Group.
|
|
25
|
+
*/
|
|
26
|
+
readonly id: string;
|
|
27
|
+
/**
|
|
28
|
+
* The name of the Group.
|
|
29
|
+
*/
|
|
30
|
+
readonly name: string;
|
|
31
|
+
/**
|
|
32
|
+
* If set to true, this Group cannot be deleted.
|
|
33
|
+
*/
|
|
34
|
+
readonly terminationProtection: boolean;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Data source for looking up a Group by name.
|
|
38
|
+
*/
|
|
39
|
+
export declare function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupResult>;
|
|
40
|
+
/**
|
|
41
|
+
* A collection of arguments for invoking getGroup.
|
|
42
|
+
*/
|
|
43
|
+
export interface GetGroupOutputArgs {
|
|
44
|
+
/**
|
|
45
|
+
* The name of the Group.
|
|
46
|
+
*/
|
|
47
|
+
name: pulumi.Input<string>;
|
|
48
|
+
}
|
package/getGroup.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGroupOutput = exports.getGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for looking up a Group by name.
|
|
10
|
+
*/
|
|
11
|
+
function getGroup(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("formal:index/getGroup:getGroup", {
|
|
14
|
+
"name": args.name,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getGroup = getGroup;
|
|
18
|
+
/**
|
|
19
|
+
* Data source for looking up a Group by name.
|
|
20
|
+
*/
|
|
21
|
+
function getGroupOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("formal:index/getGroup:getGroup", {
|
|
24
|
+
"name": args.name,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getGroupOutput = getGroupOutput;
|
|
28
|
+
//# sourceMappingURL=getGroup.js.map
|
package/getGroup.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAiCD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
package/getResource.d.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data source for looking up a Resource by name.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getResource(args: GetResourceArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getResource.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetResourceArgs {
|
|
10
|
+
/**
|
|
11
|
+
* The name of the Resource.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getResource.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetResourceResult {
|
|
19
|
+
/**
|
|
20
|
+
* Creation time of the Resource.
|
|
21
|
+
*/
|
|
22
|
+
readonly createdAt: number;
|
|
23
|
+
/**
|
|
24
|
+
* Environment for the Resource.
|
|
25
|
+
*/
|
|
26
|
+
readonly environment: string;
|
|
27
|
+
/**
|
|
28
|
+
* Hostname of the Resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly hostname: string;
|
|
31
|
+
/**
|
|
32
|
+
* The provider-assigned unique ID for this managed resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the Resource.
|
|
37
|
+
*/
|
|
38
|
+
readonly name: string;
|
|
39
|
+
/**
|
|
40
|
+
* The port your Resource is listening on.
|
|
41
|
+
*/
|
|
42
|
+
readonly port: number;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the Space the Resource is in.
|
|
45
|
+
*/
|
|
46
|
+
readonly spaceId: string;
|
|
47
|
+
/**
|
|
48
|
+
* Technology of the Resource.
|
|
49
|
+
*/
|
|
50
|
+
readonly technology: string;
|
|
51
|
+
/**
|
|
52
|
+
* If set to true, the Resource cannot be deleted.
|
|
53
|
+
*/
|
|
54
|
+
readonly terminationProtection: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Data source for looking up a Resource by name.
|
|
58
|
+
*/
|
|
59
|
+
export declare function getResourceOutput(args: GetResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourceResult>;
|
|
60
|
+
/**
|
|
61
|
+
* A collection of arguments for invoking getResource.
|
|
62
|
+
*/
|
|
63
|
+
export interface GetResourceOutputArgs {
|
|
64
|
+
/**
|
|
65
|
+
* The name of the Resource.
|
|
66
|
+
*/
|
|
67
|
+
name: pulumi.Input<string>;
|
|
68
|
+
}
|
package/getResource.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getResourceOutput = exports.getResource = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for looking up a Resource by name.
|
|
10
|
+
*/
|
|
11
|
+
function getResource(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("formal:index/getResource:getResource", {
|
|
14
|
+
"name": args.name,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getResource = getResource;
|
|
18
|
+
/**
|
|
19
|
+
* Data source for looking up a Resource by name.
|
|
20
|
+
*/
|
|
21
|
+
function getResourceOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("formal:index/getResource:getResource", {
|
|
24
|
+
"name": args.name,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getResourceOutput = getResourceOutput;
|
|
28
|
+
//# sourceMappingURL=getResource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResource.js","sourceRoot":"","sources":["../getResource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAqDD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
package/group.d.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creating a Group in Formal.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Group extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param state Any extra arguments used during the lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is Group;
|
|
21
|
+
/**
|
|
22
|
+
* Description for this Group.
|
|
23
|
+
*/
|
|
24
|
+
readonly description: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Friendly Name for this Group.
|
|
27
|
+
*/
|
|
28
|
+
readonly name: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* If set to true, this Group cannot be deleted.
|
|
31
|
+
*/
|
|
32
|
+
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Create a Group resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name: string, args: GroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Input properties used for looking up and filtering Group resources.
|
|
44
|
+
*/
|
|
45
|
+
export interface GroupState {
|
|
46
|
+
/**
|
|
47
|
+
* Description for this Group.
|
|
48
|
+
*/
|
|
49
|
+
description?: pulumi.Input<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Friendly Name for this Group.
|
|
52
|
+
*/
|
|
53
|
+
name?: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* If set to true, this Group cannot be deleted.
|
|
56
|
+
*/
|
|
57
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The set of arguments for constructing a Group resource.
|
|
61
|
+
*/
|
|
62
|
+
export interface GroupArgs {
|
|
63
|
+
/**
|
|
64
|
+
* Description for this Group.
|
|
65
|
+
*/
|
|
66
|
+
description: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Friendly Name for this Group.
|
|
69
|
+
*/
|
|
70
|
+
name?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* If set to true, this Group cannot be deleted.
|
|
73
|
+
*/
|
|
74
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
75
|
+
}
|
package/group.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Group = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creating a Group in Formal.
|
|
10
|
+
*/
|
|
11
|
+
class Group extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Group 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, id, state, opts) {
|
|
22
|
+
return new Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Group. 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) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Group.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
40
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
41
|
+
resourceInputs["terminationProtection"] = state ? state.terminationProtection : undefined;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if ((!args || args.description === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'description'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
49
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
50
|
+
resourceInputs["terminationProtection"] = args ? args.terminationProtection : undefined;
|
|
51
|
+
}
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
53
|
+
super(Group.__pulumiType, name, resourceInputs, opts);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.Group = Group;
|
|
57
|
+
/** @internal */
|
|
58
|
+
Group.__pulumiType = 'formal:index/group:Group';
|
|
59
|
+
//# sourceMappingURL=group.js.map
|
package/group.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":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AAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AApEL,sBAqEC;AAvDG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Linking a User to a Group in Formal.
|
|
4
|
+
*/
|
|
5
|
+
export declare class GroupUserLink extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing GroupUserLink resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param state Any extra arguments used during the lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupUserLinkState, opts?: pulumi.CustomResourceOptions): GroupUserLink;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of GroupUserLink. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is GroupUserLink;
|
|
21
|
+
/**
|
|
22
|
+
* The Formal ID for the group to be linked.
|
|
23
|
+
*/
|
|
24
|
+
readonly groupId: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* If set to true, this Link cannot be deleted.
|
|
27
|
+
*/
|
|
28
|
+
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* The Formal ID of the user to be linked.
|
|
31
|
+
*/
|
|
32
|
+
readonly userId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Create a GroupUserLink resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name: string, args: GroupUserLinkArgs, opts?: pulumi.CustomResourceOptions);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Input properties used for looking up and filtering GroupUserLink resources.
|
|
44
|
+
*/
|
|
45
|
+
export interface GroupUserLinkState {
|
|
46
|
+
/**
|
|
47
|
+
* The Formal ID for the group to be linked.
|
|
48
|
+
*/
|
|
49
|
+
groupId?: pulumi.Input<string>;
|
|
50
|
+
/**
|
|
51
|
+
* If set to true, this Link cannot be deleted.
|
|
52
|
+
*/
|
|
53
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
54
|
+
/**
|
|
55
|
+
* The Formal ID of the user to be linked.
|
|
56
|
+
*/
|
|
57
|
+
userId?: pulumi.Input<string>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The set of arguments for constructing a GroupUserLink resource.
|
|
61
|
+
*/
|
|
62
|
+
export interface GroupUserLinkArgs {
|
|
63
|
+
/**
|
|
64
|
+
* The Formal ID for the group to be linked.
|
|
65
|
+
*/
|
|
66
|
+
groupId: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* If set to true, this Link cannot be deleted.
|
|
69
|
+
*/
|
|
70
|
+
terminationProtection?: pulumi.Input<boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* The Formal ID of the user to be linked.
|
|
73
|
+
*/
|
|
74
|
+
userId: pulumi.Input<string>;
|
|
75
|
+
}
|