@pulumi/auth0 2.2.0 → 2.3.2
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/README.md +1 -1
- package/action.d.ts +171 -0
- package/action.js +113 -0
- package/action.js.map +1 -0
- package/branding.d.ts +118 -0
- package/branding.js +80 -0
- package/branding.js.map +1 -0
- package/client.d.ts +39 -0
- package/client.js +11 -1
- package/client.js.map +1 -1
- package/clientGrant.js +1 -0
- package/clientGrant.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +4 -4
- package/config/vars.js +26 -5
- package/config/vars.js.map +1 -1
- package/connection.js +1 -0
- package/connection.js.map +1 -1
- package/customDomain.d.ts +8 -2
- package/customDomain.js +1 -3
- package/customDomain.js.map +1 -1
- package/customDomainVerification.d.ts +48 -0
- package/customDomainVerification.js +54 -0
- package/customDomainVerification.js.map +1 -0
- package/email.js +1 -0
- package/email.js.map +1 -1
- package/emailTemplate.d.ts +3 -3
- package/emailTemplate.js +1 -0
- package/emailTemplate.js.map +1 -1
- package/globalClient.d.ts +9 -0
- package/globalClient.js +7 -0
- package/globalClient.js.map +1 -1
- package/guardian.d.ts +3 -3
- package/guardian.js +1 -0
- package/guardian.js.map +1 -1
- package/hook.d.ts +6 -3
- package/hook.js +4 -0
- package/hook.js.map +1 -1
- package/index.d.ts +4 -0
- package/index.js +49 -21
- package/index.js.map +1 -1
- package/logStream.d.ts +43 -6
- package/logStream.js +20 -0
- package/logStream.js.map +1 -1
- package/organization.d.ts +146 -0
- package/organization.js +93 -0
- package/organization.js.map +1 -0
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/prompt.d.ts +10 -0
- package/prompt.js +2 -0
- package/prompt.js.map +1 -1
- package/provider.js +2 -1
- package/provider.js.map +1 -1
- package/resourceServer.js +1 -0
- package/resourceServer.js.map +1 -1
- package/role.js +2 -1
- package/role.js.map +1 -1
- package/rule.js +1 -0
- package/rule.js.map +1 -1
- package/ruleConfig.js +1 -0
- package/ruleConfig.js.map +1 -1
- package/tenant.js +1 -0
- package/tenant.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +137 -2
- package/types/output.d.ts +137 -2
- package/user.js +1 -0
- package/user.js.map +1 -1
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
package/hook.d.ts
CHANGED
|
@@ -19,6 +19,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* callback(null, { user });
|
|
20
20
|
* }
|
|
21
21
|
* `,
|
|
22
|
+
* secrets: {
|
|
23
|
+
* foo: "bar",
|
|
24
|
+
* },
|
|
22
25
|
* triggerId: "pre-user-registration",
|
|
23
26
|
* });
|
|
24
27
|
* ```
|
|
@@ -58,7 +61,7 @@ export declare class Hook extends pulumi.CustomResource {
|
|
|
58
61
|
*/
|
|
59
62
|
readonly script: pulumi.Output<string>;
|
|
60
63
|
/**
|
|
61
|
-
*
|
|
64
|
+
* Map(String), sets the hook secrets associated with this hook. If specified, any secrets not listed here will be removed from the hook.
|
|
62
65
|
*/
|
|
63
66
|
readonly secrets: pulumi.Output<{
|
|
64
67
|
[key: string]: any;
|
|
@@ -99,7 +102,7 @@ export interface HookState {
|
|
|
99
102
|
*/
|
|
100
103
|
script?: pulumi.Input<string>;
|
|
101
104
|
/**
|
|
102
|
-
*
|
|
105
|
+
* Map(String), sets the hook secrets associated with this hook. If specified, any secrets not listed here will be removed from the hook.
|
|
103
106
|
*/
|
|
104
107
|
secrets?: pulumi.Input<{
|
|
105
108
|
[key: string]: any;
|
|
@@ -132,7 +135,7 @@ export interface HookArgs {
|
|
|
132
135
|
*/
|
|
133
136
|
script: pulumi.Input<string>;
|
|
134
137
|
/**
|
|
135
|
-
*
|
|
138
|
+
* Map(String), sets the hook secrets associated with this hook. If specified, any secrets not listed here will be removed from the hook.
|
|
136
139
|
*/
|
|
137
140
|
secrets?: pulumi.Input<{
|
|
138
141
|
[key: string]: any;
|
package/hook.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Hook = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -24,6 +25,9 @@ const utilities = require("./utilities");
|
|
|
24
25
|
* callback(null, { user });
|
|
25
26
|
* }
|
|
26
27
|
* `,
|
|
28
|
+
* secrets: {
|
|
29
|
+
* foo: "bar",
|
|
30
|
+
* },
|
|
27
31
|
* triggerId: "pre-user-registration",
|
|
28
32
|
* });
|
|
29
33
|
* ```
|
package/hook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../hook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../hook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IA6D3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,SAAS,CAAC,GAAG,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QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IA1FD;;;;;;;;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,oBA4FC;AA9EG,gBAAgB;AACO,iBAAY,GAAG,uBAAuB,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
export * from "./action";
|
|
2
|
+
export * from "./branding";
|
|
1
3
|
export * from "./client";
|
|
2
4
|
export * from "./clientGrant";
|
|
3
5
|
export * from "./connection";
|
|
4
6
|
export * from "./customDomain";
|
|
7
|
+
export * from "./customDomainVerification";
|
|
5
8
|
export * from "./email";
|
|
6
9
|
export * from "./emailTemplate";
|
|
7
10
|
export * from "./globalClient";
|
|
8
11
|
export * from "./guardian";
|
|
9
12
|
export * from "./hook";
|
|
10
13
|
export * from "./logStream";
|
|
14
|
+
export * from "./organization";
|
|
11
15
|
export * from "./prompt";
|
|
12
16
|
export * from "./provider";
|
|
13
17
|
export * from "./resourceServer";
|
package/index.js
CHANGED
|
@@ -1,47 +1,63 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
}
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
7
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.types = exports.config = void 0;
|
|
8
16
|
const pulumi = require("@pulumi/pulumi");
|
|
9
17
|
const utilities = require("./utilities");
|
|
10
18
|
// Export members:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
__exportStar(require("./action"), exports);
|
|
20
|
+
__exportStar(require("./branding"), exports);
|
|
21
|
+
__exportStar(require("./client"), exports);
|
|
22
|
+
__exportStar(require("./clientGrant"), exports);
|
|
23
|
+
__exportStar(require("./connection"), exports);
|
|
24
|
+
__exportStar(require("./customDomain"), exports);
|
|
25
|
+
__exportStar(require("./customDomainVerification"), exports);
|
|
26
|
+
__exportStar(require("./email"), exports);
|
|
27
|
+
__exportStar(require("./emailTemplate"), exports);
|
|
28
|
+
__exportStar(require("./globalClient"), exports);
|
|
29
|
+
__exportStar(require("./guardian"), exports);
|
|
30
|
+
__exportStar(require("./hook"), exports);
|
|
31
|
+
__exportStar(require("./logStream"), exports);
|
|
32
|
+
__exportStar(require("./organization"), exports);
|
|
33
|
+
__exportStar(require("./prompt"), exports);
|
|
34
|
+
__exportStar(require("./provider"), exports);
|
|
35
|
+
__exportStar(require("./resourceServer"), exports);
|
|
36
|
+
__exportStar(require("./role"), exports);
|
|
37
|
+
__exportStar(require("./rule"), exports);
|
|
38
|
+
__exportStar(require("./ruleConfig"), exports);
|
|
39
|
+
__exportStar(require("./tenant"), exports);
|
|
40
|
+
__exportStar(require("./user"), exports);
|
|
29
41
|
// Export sub-modules:
|
|
30
42
|
const config = require("./config");
|
|
31
43
|
exports.config = config;
|
|
32
44
|
const types = require("./types");
|
|
33
45
|
exports.types = types;
|
|
34
46
|
// Import resources to register:
|
|
47
|
+
const action_1 = require("./action");
|
|
48
|
+
const branding_1 = require("./branding");
|
|
35
49
|
const client_1 = require("./client");
|
|
36
50
|
const clientGrant_1 = require("./clientGrant");
|
|
37
51
|
const connection_1 = require("./connection");
|
|
38
52
|
const customDomain_1 = require("./customDomain");
|
|
53
|
+
const customDomainVerification_1 = require("./customDomainVerification");
|
|
39
54
|
const email_1 = require("./email");
|
|
40
55
|
const emailTemplate_1 = require("./emailTemplate");
|
|
41
56
|
const globalClient_1 = require("./globalClient");
|
|
42
57
|
const guardian_1 = require("./guardian");
|
|
43
58
|
const hook_1 = require("./hook");
|
|
44
59
|
const logStream_1 = require("./logStream");
|
|
60
|
+
const organization_1 = require("./organization");
|
|
45
61
|
const prompt_1 = require("./prompt");
|
|
46
62
|
const resourceServer_1 = require("./resourceServer");
|
|
47
63
|
const role_1 = require("./role");
|
|
@@ -53,6 +69,10 @@ const _module = {
|
|
|
53
69
|
version: utilities.getVersion(),
|
|
54
70
|
construct: (name, type, urn) => {
|
|
55
71
|
switch (type) {
|
|
72
|
+
case "auth0:index/action:Action":
|
|
73
|
+
return new action_1.Action(name, undefined, { urn });
|
|
74
|
+
case "auth0:index/branding:Branding":
|
|
75
|
+
return new branding_1.Branding(name, undefined, { urn });
|
|
56
76
|
case "auth0:index/client:Client":
|
|
57
77
|
return new client_1.Client(name, undefined, { urn });
|
|
58
78
|
case "auth0:index/clientGrant:ClientGrant":
|
|
@@ -61,6 +81,8 @@ const _module = {
|
|
|
61
81
|
return new connection_1.Connection(name, undefined, { urn });
|
|
62
82
|
case "auth0:index/customDomain:CustomDomain":
|
|
63
83
|
return new customDomain_1.CustomDomain(name, undefined, { urn });
|
|
84
|
+
case "auth0:index/customDomainVerification:CustomDomainVerification":
|
|
85
|
+
return new customDomainVerification_1.CustomDomainVerification(name, undefined, { urn });
|
|
64
86
|
case "auth0:index/email:Email":
|
|
65
87
|
return new email_1.Email(name, undefined, { urn });
|
|
66
88
|
case "auth0:index/emailTemplate:EmailTemplate":
|
|
@@ -73,6 +95,8 @@ const _module = {
|
|
|
73
95
|
return new hook_1.Hook(name, undefined, { urn });
|
|
74
96
|
case "auth0:index/logStream:LogStream":
|
|
75
97
|
return new logStream_1.LogStream(name, undefined, { urn });
|
|
98
|
+
case "auth0:index/organization:Organization":
|
|
99
|
+
return new organization_1.Organization(name, undefined, { urn });
|
|
76
100
|
case "auth0:index/prompt:Prompt":
|
|
77
101
|
return new prompt_1.Prompt(name, undefined, { urn });
|
|
78
102
|
case "auth0:index/resourceServer:ResourceServer":
|
|
@@ -92,16 +116,20 @@ const _module = {
|
|
|
92
116
|
}
|
|
93
117
|
},
|
|
94
118
|
};
|
|
119
|
+
pulumi.runtime.registerResourceModule("auth0", "index/action", _module);
|
|
120
|
+
pulumi.runtime.registerResourceModule("auth0", "index/branding", _module);
|
|
95
121
|
pulumi.runtime.registerResourceModule("auth0", "index/client", _module);
|
|
96
122
|
pulumi.runtime.registerResourceModule("auth0", "index/clientGrant", _module);
|
|
97
123
|
pulumi.runtime.registerResourceModule("auth0", "index/connection", _module);
|
|
98
124
|
pulumi.runtime.registerResourceModule("auth0", "index/customDomain", _module);
|
|
125
|
+
pulumi.runtime.registerResourceModule("auth0", "index/customDomainVerification", _module);
|
|
99
126
|
pulumi.runtime.registerResourceModule("auth0", "index/email", _module);
|
|
100
127
|
pulumi.runtime.registerResourceModule("auth0", "index/emailTemplate", _module);
|
|
101
128
|
pulumi.runtime.registerResourceModule("auth0", "index/globalClient", _module);
|
|
102
129
|
pulumi.runtime.registerResourceModule("auth0", "index/guardian", _module);
|
|
103
130
|
pulumi.runtime.registerResourceModule("auth0", "index/hook", _module);
|
|
104
131
|
pulumi.runtime.registerResourceModule("auth0", "index/logStream", _module);
|
|
132
|
+
pulumi.runtime.registerResourceModule("auth0", "index/organization", _module);
|
|
105
133
|
pulumi.runtime.registerResourceModule("auth0", "index/prompt", _module);
|
|
106
134
|
pulumi.runtime.registerResourceModule("auth0", "index/resourceServer", _module);
|
|
107
135
|
pulumi.runtime.registerResourceModule("auth0", "index/role", _module);
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAA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AAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AAErE,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,OAAO,EAAE;IAC5C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,wBAAwB,EAAE;YACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/logStream.d.ts
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* With this resource, you can manage your Auth0 log streams.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
11
|
+
*
|
|
12
|
+
* const example = new auth0.LogStream("example", {
|
|
13
|
+
* sink: {
|
|
14
|
+
* awsAccountId: "my_account_id",
|
|
15
|
+
* awsRegion: "us-east-2",
|
|
16
|
+
* },
|
|
17
|
+
* status: "active",
|
|
18
|
+
* type: "eventbridge",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
3
22
|
export declare class LogStream extends pulumi.CustomResource {
|
|
4
23
|
/**
|
|
5
24
|
* Get an existing LogStream resource's state with the given name, ID, and optional extra
|
|
@@ -16,14 +35,20 @@ export declare class LogStream extends pulumi.CustomResource {
|
|
|
16
35
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
36
|
*/
|
|
18
37
|
static isInstance(obj: any): obj is LogStream;
|
|
38
|
+
/**
|
|
39
|
+
* Name of the log stream
|
|
40
|
+
*/
|
|
19
41
|
readonly name: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* List(Resource) The sink configuration for the log stream. For details, see Sink Configuration.
|
|
44
|
+
*/
|
|
20
45
|
readonly sink: pulumi.Output<outputs.LogStreamSink>;
|
|
21
46
|
/**
|
|
22
|
-
*
|
|
47
|
+
* The current status of the log stream. Options are "active", "paused", "suspended"
|
|
23
48
|
*/
|
|
24
49
|
readonly status: pulumi.Output<string>;
|
|
25
50
|
/**
|
|
26
|
-
*
|
|
51
|
+
* The type of log stream. Options are "eventbridge", "eventgrid", "http", "datadog", "splunk", "sumo"
|
|
27
52
|
*/
|
|
28
53
|
readonly type: pulumi.Output<string>;
|
|
29
54
|
/**
|
|
@@ -39,14 +64,20 @@ export declare class LogStream extends pulumi.CustomResource {
|
|
|
39
64
|
* Input properties used for looking up and filtering LogStream resources.
|
|
40
65
|
*/
|
|
41
66
|
export interface LogStreamState {
|
|
67
|
+
/**
|
|
68
|
+
* Name of the log stream
|
|
69
|
+
*/
|
|
42
70
|
name?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* List(Resource) The sink configuration for the log stream. For details, see Sink Configuration.
|
|
73
|
+
*/
|
|
43
74
|
sink?: pulumi.Input<inputs.LogStreamSink>;
|
|
44
75
|
/**
|
|
45
|
-
*
|
|
76
|
+
* The current status of the log stream. Options are "active", "paused", "suspended"
|
|
46
77
|
*/
|
|
47
78
|
status?: pulumi.Input<string>;
|
|
48
79
|
/**
|
|
49
|
-
*
|
|
80
|
+
* The type of log stream. Options are "eventbridge", "eventgrid", "http", "datadog", "splunk", "sumo"
|
|
50
81
|
*/
|
|
51
82
|
type?: pulumi.Input<string>;
|
|
52
83
|
}
|
|
@@ -54,14 +85,20 @@ export interface LogStreamState {
|
|
|
54
85
|
* The set of arguments for constructing a LogStream resource.
|
|
55
86
|
*/
|
|
56
87
|
export interface LogStreamArgs {
|
|
88
|
+
/**
|
|
89
|
+
* Name of the log stream
|
|
90
|
+
*/
|
|
57
91
|
name?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* List(Resource) The sink configuration for the log stream. For details, see Sink Configuration.
|
|
94
|
+
*/
|
|
58
95
|
sink: pulumi.Input<inputs.LogStreamSink>;
|
|
59
96
|
/**
|
|
60
|
-
*
|
|
97
|
+
* The current status of the log stream. Options are "active", "paused", "suspended"
|
|
61
98
|
*/
|
|
62
99
|
status?: pulumi.Input<string>;
|
|
63
100
|
/**
|
|
64
|
-
*
|
|
101
|
+
* The type of log stream. Options are "eventbridge", "eventgrid", "http", "datadog", "splunk", "sumo"
|
|
65
102
|
*/
|
|
66
103
|
type: pulumi.Input<string>;
|
|
67
104
|
}
|
package/logStream.js
CHANGED
|
@@ -2,8 +2,28 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.LogStream = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* With this resource, you can manage your Auth0 log streams.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const example = new auth0.LogStream("example", {
|
|
18
|
+
* sink: {
|
|
19
|
+
* awsAccountId: "my_account_id",
|
|
20
|
+
* awsRegion: "us-east-2",
|
|
21
|
+
* },
|
|
22
|
+
* status: "active",
|
|
23
|
+
* type: "eventbridge",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
7
27
|
class LogStream extends pulumi.CustomResource {
|
|
8
28
|
constructor(name, argsOrState, opts) {
|
|
9
29
|
let inputs = {};
|
package/logStream.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logStream.js","sourceRoot":"","sources":["../logStream.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"logStream.js","sourceRoot":"","sources":["../logStream.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAqDhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACnD;aAAM;YACH,MAA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AAE,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,8BAgFC;AAlEG,gBAAgB;AACO,sBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The Organizations feature represents a broad update to the Auth0 platform that
|
|
5
|
+
* allows our business-to-business (B2B) customers to better manage their partners
|
|
6
|
+
* and customers, and to customize the ways that end-users access their
|
|
7
|
+
* applications. Auth0 customers can use Organizations to:
|
|
8
|
+
*
|
|
9
|
+
* - Represent their business customers and partners in Auth0 and manage their
|
|
10
|
+
* membership.
|
|
11
|
+
* - Configure branded, federated login flows for each business.
|
|
12
|
+
* - Build administration capabilities into their products, using Organizations
|
|
13
|
+
* APIs, so that those businesses can manage their own organizations.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
20
|
+
*
|
|
21
|
+
* const acme = new auth0.Organization("acme", {
|
|
22
|
+
* displayName: "Acme Inc.",
|
|
23
|
+
* branding: {
|
|
24
|
+
* logoUrl: "https://acme.com/logo.svg",
|
|
25
|
+
* colors: {
|
|
26
|
+
* primary: "#e3e2f0",
|
|
27
|
+
* page_background: "#e3e2ff",
|
|
28
|
+
* },
|
|
29
|
+
* },
|
|
30
|
+
* connections: [{
|
|
31
|
+
* connectionId: auth0_connection.acme.id,
|
|
32
|
+
* assignMembershipOnLogin: true,
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class Organization extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing Organization 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: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationState, opts?: pulumi.CustomResourceOptions): Organization;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Organization. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is Organization;
|
|
53
|
+
/**
|
|
54
|
+
* Defines how to style the login pages. For details, see
|
|
55
|
+
* Branding
|
|
56
|
+
*/
|
|
57
|
+
readonly branding: pulumi.Output<outputs.OrganizationBranding>;
|
|
58
|
+
/**
|
|
59
|
+
* Connections assigned to the organization. For
|
|
60
|
+
* details, see Connections
|
|
61
|
+
*/
|
|
62
|
+
readonly connections: pulumi.Output<outputs.OrganizationConnection[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Friendly name of this organization
|
|
65
|
+
*/
|
|
66
|
+
readonly displayName: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Metadata associated with the organization, Maximum of
|
|
69
|
+
* 10 metadata properties allowed
|
|
70
|
+
*/
|
|
71
|
+
readonly metadata: pulumi.Output<{
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
} | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of this organization
|
|
76
|
+
*/
|
|
77
|
+
readonly name: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a Organization resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name: string, args?: OrganizationArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Input properties used for looking up and filtering Organization resources.
|
|
89
|
+
*/
|
|
90
|
+
export interface OrganizationState {
|
|
91
|
+
/**
|
|
92
|
+
* Defines how to style the login pages. For details, see
|
|
93
|
+
* Branding
|
|
94
|
+
*/
|
|
95
|
+
branding?: pulumi.Input<inputs.OrganizationBranding>;
|
|
96
|
+
/**
|
|
97
|
+
* Connections assigned to the organization. For
|
|
98
|
+
* details, see Connections
|
|
99
|
+
*/
|
|
100
|
+
connections?: pulumi.Input<pulumi.Input<inputs.OrganizationConnection>[]>;
|
|
101
|
+
/**
|
|
102
|
+
* Friendly name of this organization
|
|
103
|
+
*/
|
|
104
|
+
displayName?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Metadata associated with the organization, Maximum of
|
|
107
|
+
* 10 metadata properties allowed
|
|
108
|
+
*/
|
|
109
|
+
metadata?: pulumi.Input<{
|
|
110
|
+
[key: string]: pulumi.Input<string>;
|
|
111
|
+
}>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of this organization
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The set of arguments for constructing a Organization resource.
|
|
119
|
+
*/
|
|
120
|
+
export interface OrganizationArgs {
|
|
121
|
+
/**
|
|
122
|
+
* Defines how to style the login pages. For details, see
|
|
123
|
+
* Branding
|
|
124
|
+
*/
|
|
125
|
+
branding?: pulumi.Input<inputs.OrganizationBranding>;
|
|
126
|
+
/**
|
|
127
|
+
* Connections assigned to the organization. For
|
|
128
|
+
* details, see Connections
|
|
129
|
+
*/
|
|
130
|
+
connections?: pulumi.Input<pulumi.Input<inputs.OrganizationConnection>[]>;
|
|
131
|
+
/**
|
|
132
|
+
* Friendly name of this organization
|
|
133
|
+
*/
|
|
134
|
+
displayName?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Metadata associated with the organization, Maximum of
|
|
137
|
+
* 10 metadata properties allowed
|
|
138
|
+
*/
|
|
139
|
+
metadata?: pulumi.Input<{
|
|
140
|
+
[key: string]: pulumi.Input<string>;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* The name of this organization
|
|
144
|
+
*/
|
|
145
|
+
name?: pulumi.Input<string>;
|
|
146
|
+
}
|
package/organization.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
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.Organization = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Organizations feature represents a broad update to the Auth0 platform that
|
|
10
|
+
* allows our business-to-business (B2B) customers to better manage their partners
|
|
11
|
+
* and customers, and to customize the ways that end-users access their
|
|
12
|
+
* applications. Auth0 customers can use Organizations to:
|
|
13
|
+
*
|
|
14
|
+
* - Represent their business customers and partners in Auth0 and manage their
|
|
15
|
+
* membership.
|
|
16
|
+
* - Configure branded, federated login flows for each business.
|
|
17
|
+
* - Build administration capabilities into their products, using Organizations
|
|
18
|
+
* APIs, so that those businesses can manage their own organizations.
|
|
19
|
+
*
|
|
20
|
+
* ## Example Usage
|
|
21
|
+
*
|
|
22
|
+
* ```typescript
|
|
23
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
24
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
25
|
+
*
|
|
26
|
+
* const acme = new auth0.Organization("acme", {
|
|
27
|
+
* displayName: "Acme Inc.",
|
|
28
|
+
* branding: {
|
|
29
|
+
* logoUrl: "https://acme.com/logo.svg",
|
|
30
|
+
* colors: {
|
|
31
|
+
* primary: "#e3e2f0",
|
|
32
|
+
* page_background: "#e3e2ff",
|
|
33
|
+
* },
|
|
34
|
+
* },
|
|
35
|
+
* connections: [{
|
|
36
|
+
* connectionId: auth0_connection.acme.id,
|
|
37
|
+
* assignMembershipOnLogin: true,
|
|
38
|
+
* }],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class Organization extends pulumi.CustomResource {
|
|
43
|
+
constructor(name, argsOrState, opts) {
|
|
44
|
+
let inputs = {};
|
|
45
|
+
opts = opts || {};
|
|
46
|
+
if (opts.id) {
|
|
47
|
+
const state = argsOrState;
|
|
48
|
+
inputs["branding"] = state ? state.branding : undefined;
|
|
49
|
+
inputs["connections"] = state ? state.connections : undefined;
|
|
50
|
+
inputs["displayName"] = state ? state.displayName : undefined;
|
|
51
|
+
inputs["metadata"] = state ? state.metadata : undefined;
|
|
52
|
+
inputs["name"] = state ? state.name : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
inputs["branding"] = args ? args.branding : undefined;
|
|
57
|
+
inputs["connections"] = args ? args.connections : undefined;
|
|
58
|
+
inputs["displayName"] = args ? args.displayName : undefined;
|
|
59
|
+
inputs["metadata"] = args ? args.metadata : undefined;
|
|
60
|
+
inputs["name"] = args ? args.name : undefined;
|
|
61
|
+
}
|
|
62
|
+
if (!opts.version) {
|
|
63
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
64
|
+
}
|
|
65
|
+
super(Organization.__pulumiType, name, inputs, opts);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing Organization resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new Organization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of Organization. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === Organization.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.Organization = Organization;
|
|
91
|
+
/** @internal */
|
|
92
|
+
Organization.__pulumiType = 'auth0:index/organization:Organization';
|
|
93
|
+
//# sourceMappingURL=organization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA4DnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,MAAM,CAAC,UAAU,CAAC,GAA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AAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAjFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAmFC;AArEG,gBAAgB;AACO,yBAAY,GAAG,uCAAuC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/auth0",
|
|
3
|
-
"version": "v2.2
|
|
3
|
+
"version": "v2.3.2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing auth0 cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,14 +11,15 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.2
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.3.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/mime": "^2.0.0",
|
|
21
|
-
"@types/node": "^10.0.0"
|
|
21
|
+
"@types/node": "^10.0.0",
|
|
22
|
+
"typescript": "^4.3.5"
|
|
22
23
|
},
|
|
23
24
|
"pulumi": {
|
|
24
25
|
"resource": true
|