@pulumi/auth0 2.3.0 → 2.3.1

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/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
- * Status of the LogStream
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
- * Type of the log stream, which indicates the sink provider
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
- * Status of the LogStream
76
+ * The current status of the log stream. Options are "active", "paused", "suspended"
46
77
  */
47
78
  status?: pulumi.Input<string>;
48
79
  /**
49
- * Type of the log stream, which indicates the sink provider
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
- * Status of the LogStream
97
+ * The current status of the log stream. Options are "active", "paused", "suspended"
61
98
  */
62
99
  status?: pulumi.Input<string>;
63
100
  /**
64
- * Type of the log stream, which indicates the sink provider
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
@@ -5,6 +5,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.LogStream = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
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
+ */
8
27
  class LogStream extends pulumi.CustomResource {
9
28
  constructor(name, argsOrState, opts) {
10
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;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IA+ChD,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,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,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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
+ }
@@ -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;AAE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AC5D,MAAM,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACjD;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,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.3.0",
3
+ "version": "v2.3.1",
4
4
  "description": "A Pulumi package for creating and managing auth0 cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource auth0 v2.3.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource auth0 v2.3.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/auth0",
3
- "version": "v2.3.0",
3
+ "version": "v2.3.1",
4
4
  "description": "A Pulumi package for creating and managing auth0 cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/prompt.d.ts CHANGED
@@ -9,6 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as auth0 from "@pulumi/auth0";
10
10
  *
11
11
  * const example = new auth0.Prompt("example", {
12
+ * identifierFirst: false,
12
13
  * universalLoginExperience: "classic",
13
14
  * });
14
15
  * ```
@@ -29,6 +30,9 @@ export declare class Prompt extends pulumi.CustomResource {
29
30
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
30
31
  */
31
32
  static isInstance(obj: any): obj is Prompt;
33
+ /**
34
+ * Boolean. Indicates whether or not identifier first is used when using the new universal login experience.
35
+ */
32
36
  readonly identifierFirst: pulumi.Output<boolean | undefined>;
33
37
  /**
34
38
  * Which login experience to use. Options include `classic` and `new`.
@@ -47,6 +51,9 @@ export declare class Prompt extends pulumi.CustomResource {
47
51
  * Input properties used for looking up and filtering Prompt resources.
48
52
  */
49
53
  export interface PromptState {
54
+ /**
55
+ * Boolean. Indicates whether or not identifier first is used when using the new universal login experience.
56
+ */
50
57
  identifierFirst?: pulumi.Input<boolean>;
51
58
  /**
52
59
  * Which login experience to use. Options include `classic` and `new`.
@@ -57,6 +64,9 @@ export interface PromptState {
57
64
  * The set of arguments for constructing a Prompt resource.
58
65
  */
59
66
  export interface PromptArgs {
67
+ /**
68
+ * Boolean. Indicates whether or not identifier first is used when using the new universal login experience.
69
+ */
60
70
  identifierFirst?: pulumi.Input<boolean>;
61
71
  /**
62
72
  * Which login experience to use. Options include `classic` and `new`.
package/prompt.js CHANGED
@@ -15,6 +15,7 @@ const utilities = require("./utilities");
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
17
  * const example = new auth0.Prompt("example", {
18
+ * identifierFirst: false,
18
19
  * universalLoginExperience: "classic",
19
20
  * });
20
21
  * ```
package/prompt.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"prompt.js","sourceRoot":"","sources":["../prompt.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IA0C7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,MAAM,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,MAAM,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,MAAM,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;SACzF;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE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;SAC3F;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,MAAM,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;SACzF;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,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IA5DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBA8DC;AAhDG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
package/types/input.d.ts CHANGED
@@ -1,5 +1,57 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs } from "../types";
3
+ export interface ActionDependency {
4
+ /**
5
+ * Secret name.
6
+ */
7
+ name: pulumi.Input<string>;
8
+ /**
9
+ * Trigger version.
10
+ */
11
+ version: pulumi.Input<string>;
12
+ }
13
+ export interface ActionSecret {
14
+ /**
15
+ * Secret name.
16
+ */
17
+ name: pulumi.Input<string>;
18
+ /**
19
+ * Secret value.
20
+ */
21
+ value: pulumi.Input<string>;
22
+ }
23
+ export interface ActionSupportedTriggers {
24
+ /**
25
+ * Trigger ID.
26
+ */
27
+ id: pulumi.Input<string>;
28
+ /**
29
+ * Trigger version.
30
+ */
31
+ version: pulumi.Input<string>;
32
+ }
33
+ export interface BrandingColors {
34
+ /**
35
+ * String, Hexadecimal. Background color of login pages.
36
+ */
37
+ pageBackground?: pulumi.Input<string>;
38
+ /**
39
+ * String, Hexadecimal. Primary button background color.
40
+ */
41
+ primary?: pulumi.Input<string>;
42
+ }
43
+ export interface BrandingFont {
44
+ /**
45
+ * String. URL for the custom font.
46
+ */
47
+ url?: pulumi.Input<string>;
48
+ }
49
+ export interface BrandingUniversalLogin {
50
+ /**
51
+ * String, body of login pages.
52
+ */
53
+ body?: pulumi.Input<string>;
54
+ }
3
55
  export interface ClientAddons {
4
56
  /**
5
57
  * String
@@ -351,7 +403,7 @@ export interface ConnectionOptions {
351
403
  /**
352
404
  * Azure AD domain name.
353
405
  *
354
- * @deprecated use domain instead
406
+ * @deprecated Use domain instead
355
407
  */
356
408
  appDomain?: pulumi.Input<string>;
357
409
  /**
@@ -422,6 +474,9 @@ export interface ConnectionOptions {
422
474
  from?: pulumi.Input<string>;
423
475
  iconUrl?: pulumi.Input<string>;
424
476
  identityApi?: pulumi.Input<string>;
477
+ /**
478
+ * Configuration Options for IDP Initiated Authentication. This is an object with the properties: `clientId`, `clientProtocol`, and `clientAuthorizeQuery`
479
+ */
425
480
  idpInitiated?: pulumi.Input<inputs.ConnectionOptionsIdpInitiated>;
426
481
  /**
427
482
  * Indicates whether or not you have a legacy user store and want to gradually migrate those users to the Auth0 user store. [Learn more](https://auth0.com/docs/users/guides/configure-automatic-migration).
@@ -834,7 +889,7 @@ export interface GlobalClientRefreshToken {
834
889
  }
835
890
  export interface GuardianPhone {
836
891
  /**
837
- * List(String). Message types to use, array of `phone` and or `voice`. Adding both to array should enable the user to choose.
892
+ * List(String). Message types to use, array of `sms` and or `voice`. Adding both to array should enable the user to choose.
838
893
  */
839
894
  messageTypes: pulumi.Input<pulumi.Input<string>[]>;
840
895
  /**
@@ -873,26 +928,106 @@ export interface GuardianPhoneOptions {
873
928
  verificationMessage?: pulumi.Input<string>;
874
929
  }
875
930
  export interface LogStreamSink {
931
+ /**
932
+ * The AWS Account ID
933
+ */
876
934
  awsAccountId?: pulumi.Input<string>;
935
+ /**
936
+ * Name of the Partner Event Source to be used with AWS. Generally generated by Auth0 and passed to AWS so this should generally be an output attribute.
937
+ */
877
938
  awsPartnerEventSource?: pulumi.Input<string>;
939
+ /**
940
+ * The AWS Region (i.e "us-east-2")
941
+ */
878
942
  awsRegion?: pulumi.Input<string>;
943
+ /**
944
+ * Name of the Partner Topic to be used with Azure. Generally should not be specified.
945
+ */
879
946
  azurePartnerTopic?: pulumi.Input<string>;
947
+ /**
948
+ * The Azure region code (i.e. "ne")
949
+ */
880
950
  azureRegion?: pulumi.Input<string>;
951
+ /**
952
+ * The Azure EventGrid resource group which allows you to manage all Azure assets within one subscription
953
+ */
881
954
  azureResourceGroup?: pulumi.Input<string>;
955
+ /**
956
+ * The unique alphanumeric string that identifies your Azure subscription
957
+ */
882
958
  azureSubscriptionId?: pulumi.Input<string>;
959
+ /**
960
+ * The Datadog API key
961
+ */
883
962
  datadogApiKey?: pulumi.Input<string>;
963
+ /**
964
+ * The Datadog region
965
+ */
884
966
  datadogRegion?: pulumi.Input<string>;
967
+ /**
968
+ * Sent in the HTTP "Authorization" header with each request
969
+ */
885
970
  httpAuthorization?: pulumi.Input<string>;
971
+ /**
972
+ * The format of data sent over HTTP. Options are "JSONLINES" or "JSONARRAY"
973
+ */
886
974
  httpContentFormat?: pulumi.Input<string>;
975
+ /**
976
+ * The ContentType header to send over HTTP. Common value is "application/json"
977
+ */
887
978
  httpContentType?: pulumi.Input<string>;
979
+ /**
980
+ * Additional HTTP headers to be included as part of the HTTP request
981
+ */
888
982
  httpCustomHeaders?: pulumi.Input<pulumi.Input<string>[]>;
983
+ /**
984
+ * The HTTP endpoint to send streaming logs
985
+ */
889
986
  httpEndpoint?: pulumi.Input<string>;
987
+ /**
988
+ * The Splunk domain name
989
+ */
890
990
  splunkDomain?: pulumi.Input<string>;
891
991
  splunkPort?: pulumi.Input<string>;
992
+ /**
993
+ * This toggle should be turned off when using self-signed certificates
994
+ */
892
995
  splunkSecure?: pulumi.Input<boolean>;
996
+ /**
997
+ * The Splunk access token
998
+ */
893
999
  splunkToken?: pulumi.Input<string>;
1000
+ /**
1001
+ * Generated URL for your defined HTTP source in Sumo Logic for collecting streaming data from Auth0
1002
+ */
894
1003
  sumoSourceAddress?: pulumi.Input<string>;
895
1004
  }
1005
+ export interface OrganizationBranding {
1006
+ /**
1007
+ * Color scheme used to customize the login pages
1008
+ */
1009
+ colors?: pulumi.Input<{
1010
+ [key: string]: pulumi.Input<string>;
1011
+ }>;
1012
+ /**
1013
+ * URL of logo to display on login page
1014
+ */
1015
+ logoUrl?: pulumi.Input<string>;
1016
+ }
1017
+ export interface OrganizationConnection {
1018
+ /**
1019
+ * When true, all users that log in
1020
+ * with this connection will be automatically granted membership in the
1021
+ * organization. When false, users must be granted membership in the organization
1022
+ * before logging in with this connection.
1023
+ */
1024
+ assignMembershipOnLogin?: pulumi.Input<boolean>;
1025
+ /**
1026
+ * The connection ID of the connection to add to the
1027
+ * organization
1028
+ */
1029
+ connectionId: pulumi.Input<string>;
1030
+ }
896
1031
  export interface ResourceServerScope {
897
1032
  /**
898
1033
  * String. Description of the permission (scope).