@pulumi/mongodbatlas 3.4.0 → 3.5.0-alpha.1658324991

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.
Files changed (84) hide show
  1. package/cloudBackupSchedule.d.ts +33 -6
  2. package/cloudBackupSchedule.js +10 -4
  3. package/cloudBackupSchedule.js.map +1 -1
  4. package/eventTrigger.d.ts +13 -0
  5. package/eventTrigger.js +3 -0
  6. package/eventTrigger.js.map +1 -1
  7. package/federatedSettingsIdentityProvider.d.ts +184 -0
  8. package/federatedSettingsIdentityProvider.js +120 -0
  9. package/federatedSettingsIdentityProvider.js.map +1 -0
  10. package/federatedSettingsOrgConfig.d.ts +54 -0
  11. package/federatedSettingsOrgConfig.js +71 -0
  12. package/federatedSettingsOrgConfig.js.map +1 -0
  13. package/federatedSettingsOrgRoleMapping.d.ts +140 -0
  14. package/federatedSettingsOrgRoleMapping.js +122 -0
  15. package/federatedSettingsOrgRoleMapping.js.map +1 -0
  16. package/getCloudBackupSchedule.d.ts +9 -0
  17. package/getCloudBackupSchedule.js.map +1 -1
  18. package/getEventTrigger.d.ts +4 -0
  19. package/getEventTrigger.js.map +1 -1
  20. package/getFederatedSettings.d.ts +61 -0
  21. package/getFederatedSettings.js +36 -0
  22. package/getFederatedSettings.js.map +1 -0
  23. package/getFederatedSettingsIdentityProvider.d.ts +122 -0
  24. package/getFederatedSettingsIdentityProvider.js +48 -0
  25. package/getFederatedSettingsIdentityProvider.js.map +1 -0
  26. package/getFederatedSettingsIdentityProviders.d.ts +79 -0
  27. package/getFederatedSettingsIdentityProviders.js +46 -0
  28. package/getFederatedSettingsIdentityProviders.js.map +1 -0
  29. package/getFederatedSettingsOrgConfig.d.ts +83 -0
  30. package/getFederatedSettingsOrgConfig.js +44 -0
  31. package/getFederatedSettingsOrgConfig.js.map +1 -0
  32. package/getFederatedSettingsOrgConfigs.d.ts +77 -0
  33. package/getFederatedSettingsOrgConfigs.js +44 -0
  34. package/getFederatedSettingsOrgConfigs.js.map +1 -0
  35. package/getFederatedSettingsOrgRoleMapping.d.ts +102 -0
  36. package/getFederatedSettingsOrgRoleMapping.js +74 -0
  37. package/getFederatedSettingsOrgRoleMapping.js.map +1 -0
  38. package/getFederatedSettingsOrgRoleMappings.d.ts +66 -0
  39. package/getFederatedSettingsOrgRoleMappings.js +28 -0
  40. package/getFederatedSettingsOrgRoleMappings.js.map +1 -0
  41. package/getPrivateEndpointRegionalMode.d.ts +45 -0
  42. package/getPrivateEndpointRegionalMode.js +28 -0
  43. package/getPrivateEndpointRegionalMode.js.map +1 -0
  44. package/getProject.d.ts +20 -0
  45. package/getProject.js.map +1 -1
  46. package/getServerlessInstance.d.ts +96 -0
  47. package/getServerlessInstance.js +44 -0
  48. package/getServerlessInstance.js.map +1 -0
  49. package/getServerlessInstances.d.ts +55 -0
  50. package/getServerlessInstances.js +41 -0
  51. package/getServerlessInstances.js.map +1 -0
  52. package/getThirdPartyIntegration.d.ts +68 -0
  53. package/getThirdPartyIntegration.js +5 -0
  54. package/getThirdPartyIntegration.js.map +1 -1
  55. package/index.d.ts +15 -0
  56. package/index.js +35 -0
  57. package/index.js.map +1 -1
  58. package/orgInvitation.d.ts +1 -13
  59. package/orgInvitation.js +1 -13
  60. package/orgInvitation.js.map +1 -1
  61. package/package.json +2 -2
  62. package/package.json.dev +2 -2
  63. package/privateEndpointRegionalMode.d.ts +80 -0
  64. package/privateEndpointRegionalMode.js +65 -0
  65. package/privateEndpointRegionalMode.js.map +1 -0
  66. package/project.d.ts +65 -0
  67. package/project.js +15 -0
  68. package/project.js.map +1 -1
  69. package/projectInvitation.d.ts +1 -16
  70. package/projectInvitation.js +1 -16
  71. package/projectInvitation.js.map +1 -1
  72. package/provider.d.ts +5 -5
  73. package/provider.js +0 -6
  74. package/provider.js.map +1 -1
  75. package/searchIndex.d.ts +4 -4
  76. package/searchIndex.js +4 -4
  77. package/serverlessInstance.d.ts +166 -0
  78. package/serverlessInstance.js +109 -0
  79. package/serverlessInstance.js.map +1 -0
  80. package/thirdPartyIntegration.d.ts +78 -0
  81. package/thirdPartyIntegration.js +12 -0
  82. package/thirdPartyIntegration.js.map +1 -1
  83. package/types/input.d.ts +64 -18
  84. package/types/output.d.ts +544 -2
@@ -27,6 +27,10 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
27
27
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
28
  */
29
29
  static isInstance(obj: any): obj is CloudBackupSchedule;
30
+ /**
31
+ * Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
32
+ */
33
+ readonly autoExportEnabled: pulumi.Output<boolean>;
30
34
  /**
31
35
  * Unique identifier of the Atlas cluster.
32
36
  */
@@ -35,6 +39,7 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
35
39
  * The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
36
40
  */
37
41
  readonly clusterName: pulumi.Output<string>;
42
+ readonly export: pulumi.Output<outputs.CloudBackupScheduleExport>;
38
43
  /**
39
44
  * Unique identifier of the backup policy.
40
45
  */
@@ -54,11 +59,11 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
54
59
  /**
55
60
  * Monthly policy item
56
61
  */
57
- readonly policyItemMonthly: pulumi.Output<outputs.CloudBackupSchedulePolicyItemMonthly | undefined>;
62
+ readonly policyItemMonthlies: pulumi.Output<outputs.CloudBackupSchedulePolicyItemMonthly[] | undefined>;
58
63
  /**
59
64
  * Weekly policy item
60
65
  */
61
- readonly policyItemWeekly: pulumi.Output<outputs.CloudBackupSchedulePolicyItemWeekly | undefined>;
66
+ readonly policyItemWeeklies: pulumi.Output<outputs.CloudBackupSchedulePolicyItemWeekly[] | undefined>;
62
67
  /**
63
68
  * The unique identifier of the project for the Atlas cluster.
64
69
  */
@@ -79,6 +84,10 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
79
84
  * Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
80
85
  */
81
86
  readonly updateSnapshots: pulumi.Output<boolean>;
87
+ /**
88
+ * Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see [Export Cloud Backup Snapshot](https://www.mongodb.com/docs/atlas/backup/cloud-backup/export/#std-label-cloud-provider-snapshot-export).
89
+ */
90
+ readonly useOrgAndGroupNamesInExportPrefix: pulumi.Output<boolean>;
82
91
  /**
83
92
  * Create a CloudBackupSchedule resource with the given unique name, arguments, and options.
84
93
  *
@@ -92,6 +101,10 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
92
101
  * Input properties used for looking up and filtering CloudBackupSchedule resources.
93
102
  */
94
103
  export interface CloudBackupScheduleState {
104
+ /**
105
+ * Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
106
+ */
107
+ autoExportEnabled?: pulumi.Input<boolean>;
95
108
  /**
96
109
  * Unique identifier of the Atlas cluster.
97
110
  */
@@ -100,6 +113,7 @@ export interface CloudBackupScheduleState {
100
113
  * The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
101
114
  */
102
115
  clusterName?: pulumi.Input<string>;
116
+ export?: pulumi.Input<inputs.CloudBackupScheduleExport>;
103
117
  /**
104
118
  * Unique identifier of the backup policy.
105
119
  */
@@ -119,11 +133,11 @@ export interface CloudBackupScheduleState {
119
133
  /**
120
134
  * Monthly policy item
121
135
  */
122
- policyItemMonthly?: pulumi.Input<inputs.CloudBackupSchedulePolicyItemMonthly>;
136
+ policyItemMonthlies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemMonthly>[]>;
123
137
  /**
124
138
  * Weekly policy item
125
139
  */
126
- policyItemWeekly?: pulumi.Input<inputs.CloudBackupSchedulePolicyItemWeekly>;
140
+ policyItemWeeklies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemWeekly>[]>;
127
141
  /**
128
142
  * The unique identifier of the project for the Atlas cluster.
129
143
  */
@@ -144,15 +158,24 @@ export interface CloudBackupScheduleState {
144
158
  * Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
145
159
  */
146
160
  updateSnapshots?: pulumi.Input<boolean>;
161
+ /**
162
+ * Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see [Export Cloud Backup Snapshot](https://www.mongodb.com/docs/atlas/backup/cloud-backup/export/#std-label-cloud-provider-snapshot-export).
163
+ */
164
+ useOrgAndGroupNamesInExportPrefix?: pulumi.Input<boolean>;
147
165
  }
148
166
  /**
149
167
  * The set of arguments for constructing a CloudBackupSchedule resource.
150
168
  */
151
169
  export interface CloudBackupScheduleArgs {
170
+ /**
171
+ * Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
172
+ */
173
+ autoExportEnabled?: pulumi.Input<boolean>;
152
174
  /**
153
175
  * The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
154
176
  */
155
177
  clusterName: pulumi.Input<string>;
178
+ export?: pulumi.Input<inputs.CloudBackupScheduleExport>;
156
179
  /**
157
180
  * Daily policy item
158
181
  */
@@ -164,11 +187,11 @@ export interface CloudBackupScheduleArgs {
164
187
  /**
165
188
  * Monthly policy item
166
189
  */
167
- policyItemMonthly?: pulumi.Input<inputs.CloudBackupSchedulePolicyItemMonthly>;
190
+ policyItemMonthlies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemMonthly>[]>;
168
191
  /**
169
192
  * Weekly policy item
170
193
  */
171
- policyItemWeekly?: pulumi.Input<inputs.CloudBackupSchedulePolicyItemWeekly>;
194
+ policyItemWeeklies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemWeekly>[]>;
172
195
  /**
173
196
  * The unique identifier of the project for the Atlas cluster.
174
197
  */
@@ -189,4 +212,8 @@ export interface CloudBackupScheduleArgs {
189
212
  * Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
190
213
  */
191
214
  updateSnapshots?: pulumi.Input<boolean>;
215
+ /**
216
+ * Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see [Export Cloud Backup Snapshot](https://www.mongodb.com/docs/atlas/backup/cloud-backup/export/#std-label-cloud-provider-snapshot-export).
217
+ */
218
+ useOrgAndGroupNamesInExportPrefix?: pulumi.Input<boolean>;
192
219
  }
@@ -22,19 +22,22 @@ class CloudBackupSchedule extends pulumi.CustomResource {
22
22
  opts = opts || {};
23
23
  if (opts.id) {
24
24
  const state = argsOrState;
25
+ resourceInputs["autoExportEnabled"] = state ? state.autoExportEnabled : undefined;
25
26
  resourceInputs["clusterId"] = state ? state.clusterId : undefined;
26
27
  resourceInputs["clusterName"] = state ? state.clusterName : undefined;
28
+ resourceInputs["export"] = state ? state.export : undefined;
27
29
  resourceInputs["idPolicy"] = state ? state.idPolicy : undefined;
28
30
  resourceInputs["nextSnapshot"] = state ? state.nextSnapshot : undefined;
29
31
  resourceInputs["policyItemDaily"] = state ? state.policyItemDaily : undefined;
30
32
  resourceInputs["policyItemHourly"] = state ? state.policyItemHourly : undefined;
31
- resourceInputs["policyItemMonthly"] = state ? state.policyItemMonthly : undefined;
32
- resourceInputs["policyItemWeekly"] = state ? state.policyItemWeekly : undefined;
33
+ resourceInputs["policyItemMonthlies"] = state ? state.policyItemMonthlies : undefined;
34
+ resourceInputs["policyItemWeeklies"] = state ? state.policyItemWeeklies : undefined;
33
35
  resourceInputs["projectId"] = state ? state.projectId : undefined;
34
36
  resourceInputs["referenceHourOfDay"] = state ? state.referenceHourOfDay : undefined;
35
37
  resourceInputs["referenceMinuteOfHour"] = state ? state.referenceMinuteOfHour : undefined;
36
38
  resourceInputs["restoreWindowDays"] = state ? state.restoreWindowDays : undefined;
37
39
  resourceInputs["updateSnapshots"] = state ? state.updateSnapshots : undefined;
40
+ resourceInputs["useOrgAndGroupNamesInExportPrefix"] = state ? state.useOrgAndGroupNamesInExportPrefix : undefined;
38
41
  }
39
42
  else {
40
43
  const args = argsOrState;
@@ -44,16 +47,19 @@ class CloudBackupSchedule extends pulumi.CustomResource {
44
47
  if ((!args || args.projectId === undefined) && !opts.urn) {
45
48
  throw new Error("Missing required property 'projectId'");
46
49
  }
50
+ resourceInputs["autoExportEnabled"] = args ? args.autoExportEnabled : undefined;
47
51
  resourceInputs["clusterName"] = args ? args.clusterName : undefined;
52
+ resourceInputs["export"] = args ? args.export : undefined;
48
53
  resourceInputs["policyItemDaily"] = args ? args.policyItemDaily : undefined;
49
54
  resourceInputs["policyItemHourly"] = args ? args.policyItemHourly : undefined;
50
- resourceInputs["policyItemMonthly"] = args ? args.policyItemMonthly : undefined;
51
- resourceInputs["policyItemWeekly"] = args ? args.policyItemWeekly : undefined;
55
+ resourceInputs["policyItemMonthlies"] = args ? args.policyItemMonthlies : undefined;
56
+ resourceInputs["policyItemWeeklies"] = args ? args.policyItemWeeklies : undefined;
52
57
  resourceInputs["projectId"] = args ? args.projectId : undefined;
53
58
  resourceInputs["referenceHourOfDay"] = args ? args.referenceHourOfDay : undefined;
54
59
  resourceInputs["referenceMinuteOfHour"] = args ? args.referenceMinuteOfHour : undefined;
55
60
  resourceInputs["restoreWindowDays"] = args ? args.restoreWindowDays : undefined;
56
61
  resourceInputs["updateSnapshots"] = args ? args.updateSnapshots : undefined;
62
+ resourceInputs["useOrgAndGroupNamesInExportPrefix"] = args ? args.useOrgAndGroupNamesInExportPrefix : undefined;
57
63
  resourceInputs["clusterId"] = undefined /*out*/;
58
64
  resourceInputs["idPolicy"] = undefined /*out*/;
59
65
  resourceInputs["nextSnapshot"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"cloudBackupSchedule.js","sourceRoot":"","sources":["../cloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;A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IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDAmJC;AArIG,gBAAgB;AACO,gCAAY,GAAG,4DAA4D,CAAC"}
package/eventTrigger.d.ts CHANGED
@@ -71,6 +71,7 @@ import { input as inputs, output as outputs } from "./types";
71
71
  * },
72
72
  * projectId: "PROJECT ID",
73
73
  * type: "DATABASE",
74
+ * unordered: false,
74
75
  * });
75
76
  * ```
76
77
  * ### Example Usage: Authentication Trigger
@@ -207,6 +208,10 @@ export declare class EventTrigger extends pulumi.CustomResource {
207
208
  * The type of the trigger. Possible Values: `DATABASE`, `AUTHENTICATION`,`SCHEDULED`
208
209
  */
209
210
  readonly type: pulumi.Output<string>;
211
+ /**
212
+ * Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
213
+ */
214
+ readonly unordered: pulumi.Output<boolean>;
210
215
  /**
211
216
  * Create a EventTrigger resource with the given unique name, arguments, and options.
212
217
  *
@@ -300,6 +305,10 @@ export interface EventTriggerState {
300
305
  * The type of the trigger. Possible Values: `DATABASE`, `AUTHENTICATION`,`SCHEDULED`
301
306
  */
302
307
  type?: pulumi.Input<string>;
308
+ /**
309
+ * Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
310
+ */
311
+ unordered?: pulumi.Input<boolean>;
303
312
  }
304
313
  /**
305
314
  * The set of arguments for constructing a EventTrigger resource.
@@ -376,4 +385,8 @@ export interface EventTriggerArgs {
376
385
  * The type of the trigger. Possible Values: `DATABASE`, `AUTHENTICATION`,`SCHEDULED`
377
386
  */
378
387
  type: pulumi.Input<string>;
388
+ /**
389
+ * Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
390
+ */
391
+ unordered?: pulumi.Input<boolean>;
379
392
  }
package/eventTrigger.js CHANGED
@@ -76,6 +76,7 @@ const utilities = require("./utilities");
76
76
  * },
77
77
  * projectId: "PROJECT ID",
78
78
  * type: "DATABASE",
79
+ * unordered: false,
79
80
  * });
80
81
  * ```
81
82
  * ### Example Usage: Authentication Trigger
@@ -143,6 +144,7 @@ class EventTrigger extends pulumi.CustomResource {
143
144
  resourceInputs["projectId"] = state ? state.projectId : undefined;
144
145
  resourceInputs["triggerId"] = state ? state.triggerId : undefined;
145
146
  resourceInputs["type"] = state ? state.type : undefined;
147
+ resourceInputs["unordered"] = state ? state.unordered : undefined;
146
148
  }
147
149
  else {
148
150
  const args = argsOrState;
@@ -173,6 +175,7 @@ class EventTrigger extends pulumi.CustomResource {
173
175
  resourceInputs["name"] = args ? args.name : undefined;
174
176
  resourceInputs["projectId"] = args ? args.projectId : undefined;
175
177
  resourceInputs["type"] = args ? args.type : undefined;
178
+ resourceInputs["unordered"] = args ? args.unordered : undefined;
176
179
  resourceInputs["configScheduleType"] = undefined /*out*/;
177
180
  resourceInputs["functionName"] = undefined /*out*/;
178
181
  resourceInputs["triggerId"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"eventTrigger.js","sourceRoot":"","sources":["../eventTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8GG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC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AC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAyLC;AA3KG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
@@ -0,0 +1,184 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * `mongodbatlas.FederatedSettingsIdentityProvider` provides an Atlas federated settings identity provider resource provides a subset of settings to be maintained post import of the existing resource.
4
+ * ## Example Usage
5
+ *
6
+ * > **IMPORTANT** You **MUST** import this resource before you can manage it with this provider.
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
11
+ *
12
+ * const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
13
+ * associatedDomains: ["yourdomain.com"],
14
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
15
+ * issuerUri: "http://www.okta.com/exk17q7f7f7f7fp50h8",
16
+ * requestBinding: "HTTP-POST",
17
+ * responseSignatureAlgorithm: "SHA-256",
18
+ * ssoDebugEnabled: true,
19
+ * ssoUrl: "https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml",
20
+ * status: "ACTIVE",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * Identity Provider **must** be imported before using federation_settings_id-idp_id, e.g.
27
+ *
28
+ * ```sh
29
+ * $ pulumi import mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider identity_provider 6287a663c660f52b1c441c6c-0oad4fas87jL5Xnk1297
30
+ * ```
31
+ *
32
+ * For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
33
+ */
34
+ export declare class FederatedSettingsIdentityProvider extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing FederatedSettingsIdentityProvider 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: string, id: pulumi.Input<pulumi.ID>, state?: FederatedSettingsIdentityProviderState, opts?: pulumi.CustomResourceOptions): FederatedSettingsIdentityProvider;
45
+ /**
46
+ * Returns true if the given object is an instance of FederatedSettingsIdentityProvider. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is FederatedSettingsIdentityProvider;
50
+ /**
51
+ * List that contains the domains associated with the identity provider.
52
+ */
53
+ readonly associatedDomains: pulumi.Output<string[] | undefined>;
54
+ /**
55
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
56
+ */
57
+ readonly federationSettingsId: pulumi.Output<string>;
58
+ /**
59
+ * Unique string that identifies the issuer of the SAML
60
+ */
61
+ readonly issuerUri: pulumi.Output<string>;
62
+ /**
63
+ * Human-readable label that identifies the identity provider.
64
+ */
65
+ readonly name: pulumi.Output<string>;
66
+ readonly oktaIdpId: pulumi.Output<string>;
67
+ /**
68
+ * SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
69
+ * - HTTP POST
70
+ * - HTTP REDIRECT
71
+ */
72
+ readonly requestBinding: pulumi.Output<string>;
73
+ /**
74
+ * Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
75
+ */
76
+ readonly responseSignatureAlgorithm: pulumi.Output<string>;
77
+ /**
78
+ * Flag that indicates whether the identity provider has SSO debug enabled.
79
+ */
80
+ readonly ssoDebugEnabled: pulumi.Output<boolean>;
81
+ /**
82
+ * Unique string that identifies the intended audience of the SAML assertion.
83
+ */
84
+ readonly ssoUrl: pulumi.Output<string>;
85
+ /**
86
+ * String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
87
+ */
88
+ readonly status: pulumi.Output<string>;
89
+ /**
90
+ * Create a FederatedSettingsIdentityProvider resource with the given unique name, arguments, and options.
91
+ *
92
+ * @param name The _unique_ name of the resource.
93
+ * @param args The arguments to use to populate this resource's properties.
94
+ * @param opts A bag of options that control this resource's behavior.
95
+ */
96
+ constructor(name: string, args: FederatedSettingsIdentityProviderArgs, opts?: pulumi.CustomResourceOptions);
97
+ }
98
+ /**
99
+ * Input properties used for looking up and filtering FederatedSettingsIdentityProvider resources.
100
+ */
101
+ export interface FederatedSettingsIdentityProviderState {
102
+ /**
103
+ * List that contains the domains associated with the identity provider.
104
+ */
105
+ associatedDomains?: pulumi.Input<pulumi.Input<string>[]>;
106
+ /**
107
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
108
+ */
109
+ federationSettingsId?: pulumi.Input<string>;
110
+ /**
111
+ * Unique string that identifies the issuer of the SAML
112
+ */
113
+ issuerUri?: pulumi.Input<string>;
114
+ /**
115
+ * Human-readable label that identifies the identity provider.
116
+ */
117
+ name?: pulumi.Input<string>;
118
+ oktaIdpId?: pulumi.Input<string>;
119
+ /**
120
+ * SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
121
+ * - HTTP POST
122
+ * - HTTP REDIRECT
123
+ */
124
+ requestBinding?: pulumi.Input<string>;
125
+ /**
126
+ * Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
127
+ */
128
+ responseSignatureAlgorithm?: pulumi.Input<string>;
129
+ /**
130
+ * Flag that indicates whether the identity provider has SSO debug enabled.
131
+ */
132
+ ssoDebugEnabled?: pulumi.Input<boolean>;
133
+ /**
134
+ * Unique string that identifies the intended audience of the SAML assertion.
135
+ */
136
+ ssoUrl?: pulumi.Input<string>;
137
+ /**
138
+ * String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
139
+ */
140
+ status?: pulumi.Input<string>;
141
+ }
142
+ /**
143
+ * The set of arguments for constructing a FederatedSettingsIdentityProvider resource.
144
+ */
145
+ export interface FederatedSettingsIdentityProviderArgs {
146
+ /**
147
+ * List that contains the domains associated with the identity provider.
148
+ */
149
+ associatedDomains?: pulumi.Input<pulumi.Input<string>[]>;
150
+ /**
151
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
152
+ */
153
+ federationSettingsId: pulumi.Input<string>;
154
+ /**
155
+ * Unique string that identifies the issuer of the SAML
156
+ */
157
+ issuerUri: pulumi.Input<string>;
158
+ /**
159
+ * Human-readable label that identifies the identity provider.
160
+ */
161
+ name?: pulumi.Input<string>;
162
+ /**
163
+ * SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
164
+ * - HTTP POST
165
+ * - HTTP REDIRECT
166
+ */
167
+ requestBinding: pulumi.Input<string>;
168
+ /**
169
+ * Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
170
+ */
171
+ responseSignatureAlgorithm: pulumi.Input<string>;
172
+ /**
173
+ * Flag that indicates whether the identity provider has SSO debug enabled.
174
+ */
175
+ ssoDebugEnabled: pulumi.Input<boolean>;
176
+ /**
177
+ * Unique string that identifies the intended audience of the SAML assertion.
178
+ */
179
+ ssoUrl: pulumi.Input<string>;
180
+ /**
181
+ * String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
182
+ */
183
+ status: pulumi.Input<string>;
184
+ }
@@ -0,0 +1,120 @@
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.FederatedSettingsIdentityProvider = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.FederatedSettingsIdentityProvider` provides an Atlas federated settings identity provider resource provides a subset of settings to be maintained post import of the existing resource.
10
+ * ## Example Usage
11
+ *
12
+ * > **IMPORTANT** You **MUST** import this resource before you can manage it with this provider.
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
17
+ *
18
+ * const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
19
+ * associatedDomains: ["yourdomain.com"],
20
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
21
+ * issuerUri: "http://www.okta.com/exk17q7f7f7f7fp50h8",
22
+ * requestBinding: "HTTP-POST",
23
+ * responseSignatureAlgorithm: "SHA-256",
24
+ * ssoDebugEnabled: true,
25
+ * ssoUrl: "https://mysso.oktapreview.com/app/mysso_terraformtestsso/exk17q7f7f7f7f50h8/sso/saml",
26
+ * status: "ACTIVE",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * Identity Provider **must** be imported before using federation_settings_id-idp_id, e.g.
33
+ *
34
+ * ```sh
35
+ * $ pulumi import mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider identity_provider 6287a663c660f52b1c441c6c-0oad4fas87jL5Xnk1297
36
+ * ```
37
+ *
38
+ * For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
39
+ */
40
+ class FederatedSettingsIdentityProvider extends pulumi.CustomResource {
41
+ constructor(name, argsOrState, opts) {
42
+ let resourceInputs = {};
43
+ opts = opts || {};
44
+ if (opts.id) {
45
+ const state = argsOrState;
46
+ resourceInputs["associatedDomains"] = state ? state.associatedDomains : undefined;
47
+ resourceInputs["federationSettingsId"] = state ? state.federationSettingsId : undefined;
48
+ resourceInputs["issuerUri"] = state ? state.issuerUri : undefined;
49
+ resourceInputs["name"] = state ? state.name : undefined;
50
+ resourceInputs["oktaIdpId"] = state ? state.oktaIdpId : undefined;
51
+ resourceInputs["requestBinding"] = state ? state.requestBinding : undefined;
52
+ resourceInputs["responseSignatureAlgorithm"] = state ? state.responseSignatureAlgorithm : undefined;
53
+ resourceInputs["ssoDebugEnabled"] = state ? state.ssoDebugEnabled : undefined;
54
+ resourceInputs["ssoUrl"] = state ? state.ssoUrl : undefined;
55
+ resourceInputs["status"] = state ? state.status : undefined;
56
+ }
57
+ else {
58
+ const args = argsOrState;
59
+ if ((!args || args.federationSettingsId === undefined) && !opts.urn) {
60
+ throw new Error("Missing required property 'federationSettingsId'");
61
+ }
62
+ if ((!args || args.issuerUri === undefined) && !opts.urn) {
63
+ throw new Error("Missing required property 'issuerUri'");
64
+ }
65
+ if ((!args || args.requestBinding === undefined) && !opts.urn) {
66
+ throw new Error("Missing required property 'requestBinding'");
67
+ }
68
+ if ((!args || args.responseSignatureAlgorithm === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'responseSignatureAlgorithm'");
70
+ }
71
+ if ((!args || args.ssoDebugEnabled === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'ssoDebugEnabled'");
73
+ }
74
+ if ((!args || args.ssoUrl === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'ssoUrl'");
76
+ }
77
+ if ((!args || args.status === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'status'");
79
+ }
80
+ resourceInputs["associatedDomains"] = args ? args.associatedDomains : undefined;
81
+ resourceInputs["federationSettingsId"] = args ? args.federationSettingsId : undefined;
82
+ resourceInputs["issuerUri"] = args ? args.issuerUri : undefined;
83
+ resourceInputs["name"] = args ? args.name : undefined;
84
+ resourceInputs["requestBinding"] = args ? args.requestBinding : undefined;
85
+ resourceInputs["responseSignatureAlgorithm"] = args ? args.responseSignatureAlgorithm : undefined;
86
+ resourceInputs["ssoDebugEnabled"] = args ? args.ssoDebugEnabled : undefined;
87
+ resourceInputs["ssoUrl"] = args ? args.ssoUrl : undefined;
88
+ resourceInputs["status"] = args ? args.status : undefined;
89
+ resourceInputs["oktaIdpId"] = undefined /*out*/;
90
+ }
91
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
92
+ super(FederatedSettingsIdentityProvider.__pulumiType, name, resourceInputs, opts);
93
+ }
94
+ /**
95
+ * Get an existing FederatedSettingsIdentityProvider resource's state with the given name, ID, and optional extra
96
+ * properties used to qualify the lookup.
97
+ *
98
+ * @param name The _unique_ name of the resulting resource.
99
+ * @param id The _unique_ provider ID of the resource to lookup.
100
+ * @param state Any extra arguments used during the lookup.
101
+ * @param opts Optional settings to control the behavior of the CustomResource.
102
+ */
103
+ static get(name, id, state, opts) {
104
+ return new FederatedSettingsIdentityProvider(name, state, Object.assign(Object.assign({}, opts), { id: id }));
105
+ }
106
+ /**
107
+ * Returns true if the given object is an instance of FederatedSettingsIdentityProvider. This is designed to work even
108
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
109
+ */
110
+ static isInstance(obj) {
111
+ if (obj === undefined || obj === null) {
112
+ return false;
113
+ }
114
+ return obj['__pulumiType'] === FederatedSettingsIdentityProvider.__pulumiType;
115
+ }
116
+ }
117
+ exports.FederatedSettingsIdentityProvider = FederatedSettingsIdentityProvider;
118
+ /** @internal */
119
+ FederatedSettingsIdentityProvider.__pulumiType = 'mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider';
120
+ //# sourceMappingURL=federatedSettingsIdentityProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"federatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../federatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IA4ExE,YAAY,IAAY,EAAE,WAA4F,EAAE,IAAmC;QACvJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAA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IAAmC;QAC5I,OAAO,IAAI,iCAAiC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxF,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,iCAAiC,CAAC,YAAY,CAAC;IAClF,CAAC;;AA1BL,8EAgIC;AAlHG,gBAAgB;AACO,8CAAY,GAAG,wFAAwF,CAAC"}
@@ -0,0 +1,54 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class FederatedSettingsOrgConfig extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing FederatedSettingsOrgConfig resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FederatedSettingsOrgConfigState, opts?: pulumi.CustomResourceOptions): FederatedSettingsOrgConfig;
13
+ /**
14
+ * Returns true if the given object is an instance of FederatedSettingsOrgConfig. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is FederatedSettingsOrgConfig;
18
+ readonly domainAllowLists: pulumi.Output<string[] | undefined>;
19
+ readonly domainRestrictionEnabled: pulumi.Output<boolean>;
20
+ readonly federationSettingsId: pulumi.Output<string>;
21
+ readonly identityProviderId: pulumi.Output<string>;
22
+ readonly orgId: pulumi.Output<string>;
23
+ readonly postAuthRoleGrants: pulumi.Output<string[] | undefined>;
24
+ /**
25
+ * Create a FederatedSettingsOrgConfig resource with the given unique name, arguments, and options.
26
+ *
27
+ * @param name The _unique_ name of the resource.
28
+ * @param args The arguments to use to populate this resource's properties.
29
+ * @param opts A bag of options that control this resource's behavior.
30
+ */
31
+ constructor(name: string, args: FederatedSettingsOrgConfigArgs, opts?: pulumi.CustomResourceOptions);
32
+ }
33
+ /**
34
+ * Input properties used for looking up and filtering FederatedSettingsOrgConfig resources.
35
+ */
36
+ export interface FederatedSettingsOrgConfigState {
37
+ domainAllowLists?: pulumi.Input<pulumi.Input<string>[]>;
38
+ domainRestrictionEnabled?: pulumi.Input<boolean>;
39
+ federationSettingsId?: pulumi.Input<string>;
40
+ identityProviderId?: pulumi.Input<string>;
41
+ orgId?: pulumi.Input<string>;
42
+ postAuthRoleGrants?: pulumi.Input<pulumi.Input<string>[]>;
43
+ }
44
+ /**
45
+ * The set of arguments for constructing a FederatedSettingsOrgConfig resource.
46
+ */
47
+ export interface FederatedSettingsOrgConfigArgs {
48
+ domainAllowLists?: pulumi.Input<pulumi.Input<string>[]>;
49
+ domainRestrictionEnabled: pulumi.Input<boolean>;
50
+ federationSettingsId: pulumi.Input<string>;
51
+ identityProviderId: pulumi.Input<string>;
52
+ orgId: pulumi.Input<string>;
53
+ postAuthRoleGrants?: pulumi.Input<pulumi.Input<string>[]>;
54
+ }