@formalco/pulumi 1.2.4 → 1.2.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.
- package/config/vars.d.ts +12 -0
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/encryptionKey.d.ts +6 -6
- package/index.d.ts +12 -0
- package/index.d.ts.map +1 -1
- package/index.js +22 -2
- package/index.js.map +1 -1
- package/integrationCloud.d.ts +102 -2
- package/integrationCloud.d.ts.map +1 -1
- package/integrationCloud.js +24 -0
- package/integrationCloud.js.map +1 -1
- package/integrationCloudAzureActivation.d.ts +76 -0
- package/integrationCloudAzureActivation.d.ts.map +1 -0
- package/integrationCloudAzureActivation.js +88 -0
- package/integrationCloudAzureActivation.js.map +1 -0
- package/integrationOidc.d.ts +5 -5
- package/logRewrite.d.ts +106 -0
- package/logRewrite.d.ts.map +1 -0
- package/logRewrite.js +91 -0
- package/logRewrite.js.map +1 -0
- package/nativeUser.d.ts +3 -3
- package/nativeUserV3.d.ts +348 -0
- package/nativeUserV3.d.ts.map +1 -0
- package/nativeUserV3.js +203 -0
- package/nativeUserV3.js.map +1 -0
- package/package.json +2 -2
- package/policy.d.ts +18 -0
- package/policy.d.ts.map +1 -1
- package/policy.js +2 -0
- package/policy.js.map +1 -1
- package/provider.d.ts +19 -0
- package/provider.d.ts.map +1 -1
- package/provider.js +5 -1
- package/provider.js.map +1 -1
- package/resource.d.ts +23 -3
- package/resource.d.ts.map +1 -1
- package/resource.js +4 -0
- package/resource.js.map +1 -1
- package/resourceNativeUserSelection.d.ts +107 -0
- package/resourceNativeUserSelection.d.ts.map +1 -0
- package/resourceNativeUserSelection.js +126 -0
- package/resourceNativeUserSelection.js.map +1 -0
- package/types/input.d.ts +415 -3
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +414 -2
- package/types/output.d.ts.map +1 -1
- package/user.d.ts +6 -6
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Reports the Azure tenant and managed identity client id back to Formal to activate an Azure Cloud Integration.
|
|
4
|
+
*/
|
|
5
|
+
export declare class IntegrationCloudAzureActivation extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing IntegrationCloudAzureActivation 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?: IntegrationCloudAzureActivationState, opts?: pulumi.CustomResourceOptions): IntegrationCloudAzureActivation;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of IntegrationCloudAzureActivation. 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 IntegrationCloudAzureActivation;
|
|
21
|
+
/**
|
|
22
|
+
* The client id of the managed identity created for this integration.
|
|
23
|
+
*/
|
|
24
|
+
readonly clientId: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* The ID of the Azure Cloud Integration to activate.
|
|
27
|
+
*/
|
|
28
|
+
readonly integrationId: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The Entra tenant the managed identity created for this integration belongs to.
|
|
31
|
+
*/
|
|
32
|
+
readonly tenantId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Create a IntegrationCloudAzureActivation 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: IntegrationCloudAzureActivationArgs, opts?: pulumi.CustomResourceOptions);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Input properties used for looking up and filtering IntegrationCloudAzureActivation resources.
|
|
44
|
+
*/
|
|
45
|
+
export interface IntegrationCloudAzureActivationState {
|
|
46
|
+
/**
|
|
47
|
+
* The client id of the managed identity created for this integration.
|
|
48
|
+
*/
|
|
49
|
+
clientId?: pulumi.Input<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The ID of the Azure Cloud Integration to activate.
|
|
52
|
+
*/
|
|
53
|
+
integrationId?: pulumi.Input<string | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* The Entra tenant the managed identity created for this integration belongs to.
|
|
56
|
+
*/
|
|
57
|
+
tenantId?: pulumi.Input<string | undefined>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The set of arguments for constructing a IntegrationCloudAzureActivation resource.
|
|
61
|
+
*/
|
|
62
|
+
export interface IntegrationCloudAzureActivationArgs {
|
|
63
|
+
/**
|
|
64
|
+
* The client id of the managed identity created for this integration.
|
|
65
|
+
*/
|
|
66
|
+
clientId: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The ID of the Azure Cloud Integration to activate.
|
|
69
|
+
*/
|
|
70
|
+
integrationId: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The Entra tenant the managed identity created for this integration belongs to.
|
|
73
|
+
*/
|
|
74
|
+
tenantId: pulumi.Input<string>;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=integrationCloudAzureActivation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationCloudAzureActivation.d.ts","sourceRoot":"","sources":["../integrationCloudAzureActivation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;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E,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.IntegrationCloudAzureActivation = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Reports the Azure tenant and managed identity client id back to Formal to activate an Azure Cloud Integration.
|
|
33
|
+
*/
|
|
34
|
+
class IntegrationCloudAzureActivation extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing IntegrationCloudAzureActivation resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new IntegrationCloudAzureActivation(name, state, { ...opts, id: id });
|
|
46
|
+
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/integrationCloudAzureActivation:IntegrationCloudAzureActivation';
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of IntegrationCloudAzureActivation. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === IntegrationCloudAzureActivation.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["clientId"] = state?.clientId;
|
|
65
|
+
resourceInputs["integrationId"] = state?.integrationId;
|
|
66
|
+
resourceInputs["tenantId"] = state?.tenantId;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if (args?.clientId === undefined && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'clientId'");
|
|
72
|
+
}
|
|
73
|
+
if (args?.integrationId === undefined && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'integrationId'");
|
|
75
|
+
}
|
|
76
|
+
if (args?.tenantId === undefined && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'tenantId'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["clientId"] = args?.clientId;
|
|
80
|
+
resourceInputs["integrationId"] = args?.integrationId;
|
|
81
|
+
resourceInputs["tenantId"] = args?.tenantId;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(IntegrationCloudAzureActivation.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.IntegrationCloudAzureActivation = IntegrationCloudAzureActivation;
|
|
88
|
+
//# sourceMappingURL=integrationCloudAzureActivation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationCloudAzureActivation.js","sourceRoot":"","sources":["../integrationCloudAzureActivation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8EAA8E,CAAC;IAErH;;;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,cAA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AAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AA1EL,0EA2EC"}
|
package/integrationOidc.d.ts
CHANGED
|
@@ -19,11 +19,11 @@ export declare class IntegrationOidc extends pulumi.CustomResource {
|
|
|
19
19
|
*/
|
|
20
20
|
static isInstance(obj: any): obj is IntegrationOidc;
|
|
21
21
|
/**
|
|
22
|
-
* The Formal audience value that tokens
|
|
22
|
+
* The Formal audience value that tokens may present: `oidc.formal.ai/{id}`. Providers that cannot set a custom audience (e.g. Spacelift) can instead send `X-Formal-OIDC-Integration-Id` with this resource's `id`.
|
|
23
23
|
*/
|
|
24
24
|
readonly audience: pulumi.Output<string>;
|
|
25
25
|
/**
|
|
26
|
-
* CEL expression evaluated against verified token claims. Must return a boolean. Defaults to `true`.
|
|
26
|
+
* CEL expression evaluated against verified token claims. Must return a boolean. Defaults to `true`. When selecting the integration with `X-Formal-OIDC-Integration-Id`, this condition must validate the provider-native audience and identity claims.
|
|
27
27
|
*/
|
|
28
28
|
readonly claimCondition: pulumi.Output<string | undefined>;
|
|
29
29
|
/**
|
|
@@ -72,11 +72,11 @@ export declare class IntegrationOidc extends pulumi.CustomResource {
|
|
|
72
72
|
*/
|
|
73
73
|
export interface IntegrationOidcState {
|
|
74
74
|
/**
|
|
75
|
-
* The Formal audience value that tokens
|
|
75
|
+
* The Formal audience value that tokens may present: `oidc.formal.ai/{id}`. Providers that cannot set a custom audience (e.g. Spacelift) can instead send `X-Formal-OIDC-Integration-Id` with this resource's `id`.
|
|
76
76
|
*/
|
|
77
77
|
audience?: pulumi.Input<string | undefined>;
|
|
78
78
|
/**
|
|
79
|
-
* CEL expression evaluated against verified token claims. Must return a boolean. Defaults to `true`.
|
|
79
|
+
* CEL expression evaluated against verified token claims. Must return a boolean. Defaults to `true`. When selecting the integration with `X-Formal-OIDC-Integration-Id`, this condition must validate the provider-native audience and identity claims.
|
|
80
80
|
*/
|
|
81
81
|
claimCondition?: pulumi.Input<string | undefined>;
|
|
82
82
|
/**
|
|
@@ -117,7 +117,7 @@ export interface IntegrationOidcState {
|
|
|
117
117
|
*/
|
|
118
118
|
export interface IntegrationOidcArgs {
|
|
119
119
|
/**
|
|
120
|
-
* CEL expression evaluated against verified token claims. Must return a boolean. Defaults to `true`.
|
|
120
|
+
* CEL expression evaluated against verified token claims. Must return a boolean. Defaults to `true`. When selecting the integration with `X-Formal-OIDC-Integration-Id`, this condition must validate the provider-native audience and identity claims.
|
|
121
121
|
*/
|
|
122
122
|
claimCondition?: pulumi.Input<string | undefined>;
|
|
123
123
|
/**
|
package/logRewrite.d.ts
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages a rule that rewrites matching Formal logs before they are exported or stored.
|
|
6
|
+
*/
|
|
7
|
+
export declare class LogRewrite extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing LogRewrite resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LogRewriteState, opts?: pulumi.CustomResourceOptions): LogRewrite;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of LogRewrite. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is LogRewrite;
|
|
23
|
+
/**
|
|
24
|
+
* When the log rewrite was created.
|
|
25
|
+
*/
|
|
26
|
+
readonly createdAt: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the asymmetric encryption key used by encrypt actions.
|
|
29
|
+
*/
|
|
30
|
+
readonly encryptionKeyId: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* The name of this log rewrite.
|
|
33
|
+
*/
|
|
34
|
+
readonly name: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* A log field path and the actions to apply to it.
|
|
37
|
+
*/
|
|
38
|
+
readonly paths: pulumi.Output<outputs.LogRewritePath[]>;
|
|
39
|
+
/**
|
|
40
|
+
* A CEL expression that determines which logs this rewrite applies to.
|
|
41
|
+
*/
|
|
42
|
+
readonly scopeCel: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* When the log rewrite was last updated.
|
|
45
|
+
*/
|
|
46
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Create a LogRewrite resource with the given unique name, arguments, and options.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resource.
|
|
51
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
52
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
53
|
+
*/
|
|
54
|
+
constructor(name: string, args: LogRewriteArgs, opts?: pulumi.CustomResourceOptions);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Input properties used for looking up and filtering LogRewrite resources.
|
|
58
|
+
*/
|
|
59
|
+
export interface LogRewriteState {
|
|
60
|
+
/**
|
|
61
|
+
* When the log rewrite was created.
|
|
62
|
+
*/
|
|
63
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the asymmetric encryption key used by encrypt actions.
|
|
66
|
+
*/
|
|
67
|
+
encryptionKeyId?: pulumi.Input<string | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* The name of this log rewrite.
|
|
70
|
+
*/
|
|
71
|
+
name?: pulumi.Input<string | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* A log field path and the actions to apply to it.
|
|
74
|
+
*/
|
|
75
|
+
paths?: pulumi.Input<pulumi.Input<inputs.LogRewritePath>[] | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* A CEL expression that determines which logs this rewrite applies to.
|
|
78
|
+
*/
|
|
79
|
+
scopeCel?: pulumi.Input<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* When the log rewrite was last updated.
|
|
82
|
+
*/
|
|
83
|
+
updatedAt?: pulumi.Input<string | undefined>;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a LogRewrite resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface LogRewriteArgs {
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the asymmetric encryption key used by encrypt actions.
|
|
91
|
+
*/
|
|
92
|
+
encryptionKeyId?: pulumi.Input<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* The name of this log rewrite.
|
|
95
|
+
*/
|
|
96
|
+
name?: pulumi.Input<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* A log field path and the actions to apply to it.
|
|
99
|
+
*/
|
|
100
|
+
paths: pulumi.Input<pulumi.Input<inputs.LogRewritePath>[]>;
|
|
101
|
+
/**
|
|
102
|
+
* A CEL expression that determines which logs this rewrite applies to.
|
|
103
|
+
*/
|
|
104
|
+
scopeCel: pulumi.Input<string>;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=logRewrite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logRewrite.d.ts","sourceRoot":"","sources":["../logRewrite.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;WACW,GAAG,CAAC,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KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;IAC3D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
|
package/logRewrite.js
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.LogRewrite = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages a rule that rewrites matching Formal logs before they are exported or stored.
|
|
33
|
+
*/
|
|
34
|
+
class LogRewrite extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing LogRewrite resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new LogRewrite(name, state, { ...opts, id: id });
|
|
46
|
+
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/logRewrite:LogRewrite';
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of LogRewrite. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === LogRewrite.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
65
|
+
resourceInputs["encryptionKeyId"] = state?.encryptionKeyId;
|
|
66
|
+
resourceInputs["name"] = state?.name;
|
|
67
|
+
resourceInputs["paths"] = state?.paths;
|
|
68
|
+
resourceInputs["scopeCel"] = state?.scopeCel;
|
|
69
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
const args = argsOrState;
|
|
73
|
+
if (args?.paths === undefined && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'paths'");
|
|
75
|
+
}
|
|
76
|
+
if (args?.scopeCel === undefined && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'scopeCel'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["encryptionKeyId"] = args?.encryptionKeyId;
|
|
80
|
+
resourceInputs["name"] = args?.name;
|
|
81
|
+
resourceInputs["paths"] = args?.paths;
|
|
82
|
+
resourceInputs["scopeCel"] = args?.scopeCel;
|
|
83
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(LogRewrite.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.LogRewrite = LogRewrite;
|
|
91
|
+
//# sourceMappingURL=logRewrite.js.map
|
|
@@ -0,0 +1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;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAzFL,gCA0FC"}
|
package/nativeUser.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare class NativeUser extends pulumi.CustomResource {
|
|
|
44
44
|
*/
|
|
45
45
|
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Whether the Connector uses this Native User when a connection does not name one. Defaults to false, so a Resource whose Native Users all leave this unset has no default.
|
|
48
48
|
*/
|
|
49
49
|
readonly useAsDefault: pulumi.Output<boolean | undefined>;
|
|
50
50
|
/**
|
|
@@ -86,7 +86,7 @@ export interface NativeUserState {
|
|
|
86
86
|
*/
|
|
87
87
|
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Whether the Connector uses this Native User when a connection does not name one. Defaults to false, so a Resource whose Native Users all leave this unset has no default.
|
|
90
90
|
*/
|
|
91
91
|
useAsDefault?: pulumi.Input<boolean | undefined>;
|
|
92
92
|
}
|
|
@@ -120,7 +120,7 @@ export interface NativeUserArgs {
|
|
|
120
120
|
*/
|
|
121
121
|
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Whether the Connector uses this Native User when a connection does not name one. Defaults to false, so a Resource whose Native Users all leave this unset has no default.
|
|
124
124
|
*/
|
|
125
125
|
useAsDefault?: pulumi.Input<boolean | undefined>;
|
|
126
126
|
}
|