@pulumi/mongodbatlas 3.4.0 → 3.6.0-alpha.1662645483
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/advancedCluster.d.ts +0 -8
- package/advancedCluster.js +0 -8
- package/advancedCluster.js.map +1 -1
- package/cloudBackupSchedule.d.ts +33 -6
- package/cloudBackupSchedule.js +10 -4
- package/cloudBackupSchedule.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +0 -31
- package/cloudBackupSnapshot.js +0 -31
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +28 -4
- package/cloudBackupSnapshotRestoreJob.js +1 -1
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cloudProviderSnapshot.d.ts +0 -32
- package/cloudProviderSnapshot.js +0 -32
- package/cloudProviderSnapshot.js.map +1 -1
- package/cluster.d.ts +3 -3
- package/eventTrigger.d.ts +13 -0
- package/eventTrigger.js +3 -0
- package/eventTrigger.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +190 -0
- package/federatedSettingsIdentityProvider.js +120 -0
- package/federatedSettingsIdentityProvider.js.map +1 -0
- package/federatedSettingsOrgConfig.d.ts +54 -0
- package/federatedSettingsOrgConfig.js +71 -0
- package/federatedSettingsOrgConfig.js.map +1 -0
- package/federatedSettingsOrgRoleMapping.d.ts +140 -0
- package/federatedSettingsOrgRoleMapping.js +122 -0
- package/federatedSettingsOrgRoleMapping.js.map +1 -0
- package/getAdvancedCluster.d.ts +1 -1
- package/getAdvancedCluster.js +1 -1
- package/getAdvancedClusters.d.ts +0 -26
- package/getAdvancedClusters.js +0 -26
- package/getAdvancedClusters.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +9 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +3 -0
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJob.d.ts +3 -0
- package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJobs.d.ts +0 -32
- package/getCloudProviderSnapshotRestoreJobs.js +0 -32
- package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
- package/getEventTrigger.d.ts +4 -0
- package/getEventTrigger.js.map +1 -1
- package/getFederatedSettings.d.ts +61 -0
- package/getFederatedSettings.js +36 -0
- package/getFederatedSettings.js.map +1 -0
- package/getFederatedSettingsIdentityProvider.d.ts +122 -0
- package/getFederatedSettingsIdentityProvider.js +48 -0
- package/getFederatedSettingsIdentityProvider.js.map +1 -0
- package/getFederatedSettingsIdentityProviders.d.ts +79 -0
- package/getFederatedSettingsIdentityProviders.js +46 -0
- package/getFederatedSettingsIdentityProviders.js.map +1 -0
- package/getFederatedSettingsOrgConfig.d.ts +83 -0
- package/getFederatedSettingsOrgConfig.js +44 -0
- package/getFederatedSettingsOrgConfig.js.map +1 -0
- package/getFederatedSettingsOrgConfigs.d.ts +77 -0
- package/getFederatedSettingsOrgConfigs.js +44 -0
- package/getFederatedSettingsOrgConfigs.js.map +1 -0
- package/getFederatedSettingsOrgRoleMapping.d.ts +102 -0
- package/getFederatedSettingsOrgRoleMapping.js +74 -0
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -0
- package/getFederatedSettingsOrgRoleMappings.d.ts +66 -0
- package/getFederatedSettingsOrgRoleMappings.js +28 -0
- package/getFederatedSettingsOrgRoleMappings.js.map +1 -0
- package/getPrivateEndpointRegionalMode.d.ts +45 -0
- package/getPrivateEndpointRegionalMode.js +28 -0
- package/getPrivateEndpointRegionalMode.js.map +1 -0
- package/getPrivatelinkEndpointServiceAdl.d.ts +0 -17
- package/getPrivatelinkEndpointServiceAdl.js +0 -17
- package/getPrivatelinkEndpointServiceAdl.js.map +1 -1
- package/getProject.d.ts +20 -0
- package/getProject.js.map +1 -1
- package/getServerlessInstance.d.ts +96 -0
- package/getServerlessInstance.js +44 -0
- package/getServerlessInstance.js.map +1 -0
- package/getServerlessInstances.d.ts +55 -0
- package/getServerlessInstances.js +41 -0
- package/getServerlessInstances.js.map +1 -0
- package/getThirdPartyIntegration.d.ts +68 -0
- package/getThirdPartyIntegration.js +5 -0
- package/getThirdPartyIntegration.js.map +1 -1
- package/globalClusterConfig.d.ts +2 -2
- package/globalClusterConfig.js +2 -2
- package/index.d.ts +15 -0
- package/index.js +35 -0
- package/index.js.map +1 -1
- package/orgInvitation.d.ts +1 -13
- package/orgInvitation.js +1 -13
- package/orgInvitation.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/privateEndpointRegionalMode.d.ts +80 -0
- package/privateEndpointRegionalMode.js +65 -0
- package/privateEndpointRegionalMode.js.map +1 -0
- package/privateLinkEndpointService.d.ts +0 -32
- package/privateLinkEndpointService.js +0 -32
- package/privateLinkEndpointService.js.map +1 -1
- package/project.d.ts +65 -0
- package/project.js +15 -0
- package/project.js.map +1 -1
- package/projectInvitation.d.ts +1 -16
- package/projectInvitation.js +1 -16
- package/projectInvitation.js.map +1 -1
- package/provider.d.ts +5 -5
- package/provider.js +0 -6
- package/provider.js.map +1 -1
- package/searchIndex.d.ts +4 -4
- package/searchIndex.js +4 -4
- package/serverlessInstance.d.ts +166 -0
- package/serverlessInstance.js +109 -0
- package/serverlessInstance.js.map +1 -0
- package/thirdPartyIntegration.d.ts +78 -0
- package/thirdPartyIntegration.js +12 -0
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +60 -8
- package/types/output.d.ts +559 -5
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*/;
|
package/eventTrigger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventTrigger.js","sourceRoot":"","sources":["../eventTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"eventTrigger.js","sourceRoot":"","sources":["../eventTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+GG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAyHnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI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AChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IAvLD;;;;;;;;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,oCAyLC;AA3KG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,190 @@
|
|
|
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
|
+
/**
|
|
67
|
+
* Unique 20-hexadecimal digit string that identifies the IdP.
|
|
68
|
+
*/
|
|
69
|
+
readonly oktaIdpId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* 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:
|
|
72
|
+
* - HTTP POST
|
|
73
|
+
* - HTTP REDIRECT
|
|
74
|
+
*/
|
|
75
|
+
readonly requestBinding: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
|
|
78
|
+
*/
|
|
79
|
+
readonly responseSignatureAlgorithm: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Flag that indicates whether the identity provider has SSO debug enabled.
|
|
82
|
+
*/
|
|
83
|
+
readonly ssoDebugEnabled: pulumi.Output<boolean>;
|
|
84
|
+
/**
|
|
85
|
+
* Unique string that identifies the intended audience of the SAML assertion.
|
|
86
|
+
*/
|
|
87
|
+
readonly ssoUrl: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
|
|
90
|
+
*/
|
|
91
|
+
readonly status: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Create a FederatedSettingsIdentityProvider resource with the given unique name, arguments, and options.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resource.
|
|
96
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
97
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
98
|
+
*/
|
|
99
|
+
constructor(name: string, args: FederatedSettingsIdentityProviderArgs, opts?: pulumi.CustomResourceOptions);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Input properties used for looking up and filtering FederatedSettingsIdentityProvider resources.
|
|
103
|
+
*/
|
|
104
|
+
export interface FederatedSettingsIdentityProviderState {
|
|
105
|
+
/**
|
|
106
|
+
* List that contains the domains associated with the identity provider.
|
|
107
|
+
*/
|
|
108
|
+
associatedDomains?: pulumi.Input<pulumi.Input<string>[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
111
|
+
*/
|
|
112
|
+
federationSettingsId?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Unique string that identifies the issuer of the SAML
|
|
115
|
+
*/
|
|
116
|
+
issuerUri?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Human-readable label that identifies the identity provider.
|
|
119
|
+
*/
|
|
120
|
+
name?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Unique 20-hexadecimal digit string that identifies the IdP.
|
|
123
|
+
*/
|
|
124
|
+
oktaIdpId?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* 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:
|
|
127
|
+
* - HTTP POST
|
|
128
|
+
* - HTTP REDIRECT
|
|
129
|
+
*/
|
|
130
|
+
requestBinding?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
|
|
133
|
+
*/
|
|
134
|
+
responseSignatureAlgorithm?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Flag that indicates whether the identity provider has SSO debug enabled.
|
|
137
|
+
*/
|
|
138
|
+
ssoDebugEnabled?: pulumi.Input<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* Unique string that identifies the intended audience of the SAML assertion.
|
|
141
|
+
*/
|
|
142
|
+
ssoUrl?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
|
|
145
|
+
*/
|
|
146
|
+
status?: pulumi.Input<string>;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* The set of arguments for constructing a FederatedSettingsIdentityProvider resource.
|
|
150
|
+
*/
|
|
151
|
+
export interface FederatedSettingsIdentityProviderArgs {
|
|
152
|
+
/**
|
|
153
|
+
* List that contains the domains associated with the identity provider.
|
|
154
|
+
*/
|
|
155
|
+
associatedDomains?: pulumi.Input<pulumi.Input<string>[]>;
|
|
156
|
+
/**
|
|
157
|
+
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
158
|
+
*/
|
|
159
|
+
federationSettingsId: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Unique string that identifies the issuer of the SAML
|
|
162
|
+
*/
|
|
163
|
+
issuerUri: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Human-readable label that identifies the identity provider.
|
|
166
|
+
*/
|
|
167
|
+
name?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* 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:
|
|
170
|
+
* - HTTP POST
|
|
171
|
+
* - HTTP REDIRECT
|
|
172
|
+
*/
|
|
173
|
+
requestBinding: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. Valid values include SHA-1 and SHA-256.
|
|
176
|
+
*/
|
|
177
|
+
responseSignatureAlgorithm: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Flag that indicates whether the identity provider has SSO debug enabled.
|
|
180
|
+
*/
|
|
181
|
+
ssoDebugEnabled: pulumi.Input<boolean>;
|
|
182
|
+
/**
|
|
183
|
+
* Unique string that identifies the intended audience of the SAML assertion.
|
|
184
|
+
*/
|
|
185
|
+
ssoUrl: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* String enum that indicates whether the identity provider is active or not. Accepted values are ACTIVE or INACTIVE.
|
|
188
|
+
*/
|
|
189
|
+
status: pulumi.Input<string>;
|
|
190
|
+
}
|
|
@@ -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;IA+ExE,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,MAAM,KAAK,GAAG,WAAiE,CAAC;YAChF,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,WAAW,CAAC,GAAG,K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AAC,KAAK,iCAAiC,CAAC,YAAY,CAAC;IAClF,CAAC;;AA1BL,8EAmIC;AArHG,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
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.FederatedSettingsOrgConfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class FederatedSettingsOrgConfig extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["domainAllowLists"] = state ? state.domainAllowLists : undefined;
|
|
15
|
+
resourceInputs["domainRestrictionEnabled"] = state ? state.domainRestrictionEnabled : undefined;
|
|
16
|
+
resourceInputs["federationSettingsId"] = state ? state.federationSettingsId : undefined;
|
|
17
|
+
resourceInputs["identityProviderId"] = state ? state.identityProviderId : undefined;
|
|
18
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
19
|
+
resourceInputs["postAuthRoleGrants"] = state ? state.postAuthRoleGrants : undefined;
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
const args = argsOrState;
|
|
23
|
+
if ((!args || args.domainRestrictionEnabled === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'domainRestrictionEnabled'");
|
|
25
|
+
}
|
|
26
|
+
if ((!args || args.federationSettingsId === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'federationSettingsId'");
|
|
28
|
+
}
|
|
29
|
+
if ((!args || args.identityProviderId === undefined) && !opts.urn) {
|
|
30
|
+
throw new Error("Missing required property 'identityProviderId'");
|
|
31
|
+
}
|
|
32
|
+
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
33
|
+
throw new Error("Missing required property 'orgId'");
|
|
34
|
+
}
|
|
35
|
+
resourceInputs["domainAllowLists"] = args ? args.domainAllowLists : undefined;
|
|
36
|
+
resourceInputs["domainRestrictionEnabled"] = args ? args.domainRestrictionEnabled : undefined;
|
|
37
|
+
resourceInputs["federationSettingsId"] = args ? args.federationSettingsId : undefined;
|
|
38
|
+
resourceInputs["identityProviderId"] = args ? args.identityProviderId : undefined;
|
|
39
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
40
|
+
resourceInputs["postAuthRoleGrants"] = args ? args.postAuthRoleGrants : undefined;
|
|
41
|
+
}
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
43
|
+
super(FederatedSettingsOrgConfig.__pulumiType, name, resourceInputs, opts);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing FederatedSettingsOrgConfig resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new FederatedSettingsOrgConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of FederatedSettingsOrgConfig. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === FederatedSettingsOrgConfig.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.FederatedSettingsOrgConfig = FederatedSettingsOrgConfig;
|
|
69
|
+
/** @internal */
|
|
70
|
+
FederatedSettingsOrgConfig.__pulumiType = 'mongodbatlas:index/federatedSettingsOrgConfig:FederatedSettingsOrgConfig';
|
|
71
|
+
//# sourceMappingURL=federatedSettingsOrgConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"federatedSettingsOrgConfig.js","sourceRoot":"","sources":["../federatedSettingsOrgConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCA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AAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;IA5ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;;AA1BL,gEA8EC;AAhEG,gBAAgB;AACO,uCAAY,GAAG,0EAA0E,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* `mongodbatlas.FederatedSettingsOrgRoleMapping` provides an Role Mapping resource. This allows organization role mapping to be created.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
11
|
+
*
|
|
12
|
+
* const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
|
|
13
|
+
* externalGroupName: "myGrouptest",
|
|
14
|
+
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
15
|
+
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
16
|
+
* roleAssignments: [
|
|
17
|
+
* {
|
|
18
|
+
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
19
|
+
* roles: [
|
|
20
|
+
* "ORG_MEMBER",
|
|
21
|
+
* "ORG_GROUP_CREATOR",
|
|
22
|
+
* "ORG_BILLING_ADMIN",
|
|
23
|
+
* ],
|
|
24
|
+
* },
|
|
25
|
+
* {
|
|
26
|
+
* groupId: "628aa20d7f7f7f7f7098b81b8",
|
|
27
|
+
* roles: [
|
|
28
|
+
* "GROUP_OWNER",
|
|
29
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
30
|
+
* "GROUP_SEARCH_INDEX_EDITOR",
|
|
31
|
+
* "GROUP_DATA_ACCESS_READ_ONLY",
|
|
32
|
+
* ],
|
|
33
|
+
* },
|
|
34
|
+
* {
|
|
35
|
+
* groupId: "628aa20d7f7f7f7f7078b81b8",
|
|
36
|
+
* roles: [
|
|
37
|
+
* "GROUP_OWNER",
|
|
38
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
39
|
+
* "GROUP_SEARCH_INDEX_EDITOR",
|
|
40
|
+
* "GROUP_DATA_ACCESS_READ_ONLY",
|
|
41
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* FederatedSettingsOrgRoleMapping can be imported using federation_settings_id-org_id-role_mapping_id, e.g.
|
|
51
|
+
*
|
|
52
|
+
* ```sh
|
|
53
|
+
* $ pulumi import mongodbatlas:index/federatedSettingsOrgRoleMapping:FederatedSettingsOrgRoleMapping org_group_role_mapping_import 6287a663c7f7f7f71c441c6c-627a96837f7f7f7e306f14-628ae97f7f7468ea3727
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
|
|
57
|
+
*/
|
|
58
|
+
export declare class FederatedSettingsOrgRoleMapping extends pulumi.CustomResource {
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing FederatedSettingsOrgRoleMapping resource's state with the given name, ID, and optional extra
|
|
61
|
+
* properties used to qualify the lookup.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resulting resource.
|
|
64
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
+
* @param state Any extra arguments used during the lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FederatedSettingsOrgRoleMappingState, opts?: pulumi.CustomResourceOptions): FederatedSettingsOrgRoleMapping;
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of FederatedSettingsOrgRoleMapping. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj: any): obj is FederatedSettingsOrgRoleMapping;
|
|
74
|
+
/**
|
|
75
|
+
* Unique human-readable label that identifies the identity provider group to which this role mapping applies.
|
|
76
|
+
*/
|
|
77
|
+
readonly externalGroupName: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
80
|
+
*/
|
|
81
|
+
readonly federationSettingsId: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
|
|
84
|
+
*/
|
|
85
|
+
readonly orgId: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Atlas roles and the unique identifiers of the groups and organizations associated with each role.
|
|
88
|
+
*/
|
|
89
|
+
readonly roleAssignments: pulumi.Output<outputs.FederatedSettingsOrgRoleMappingRoleAssignment[]>;
|
|
90
|
+
/**
|
|
91
|
+
* Create a FederatedSettingsOrgRoleMapping resource with the given unique name, arguments, and options.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resource.
|
|
94
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
95
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
96
|
+
*/
|
|
97
|
+
constructor(name: string, args: FederatedSettingsOrgRoleMappingArgs, opts?: pulumi.CustomResourceOptions);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Input properties used for looking up and filtering FederatedSettingsOrgRoleMapping resources.
|
|
101
|
+
*/
|
|
102
|
+
export interface FederatedSettingsOrgRoleMappingState {
|
|
103
|
+
/**
|
|
104
|
+
* Unique human-readable label that identifies the identity provider group to which this role mapping applies.
|
|
105
|
+
*/
|
|
106
|
+
externalGroupName?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
109
|
+
*/
|
|
110
|
+
federationSettingsId?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
|
|
113
|
+
*/
|
|
114
|
+
orgId?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Atlas roles and the unique identifiers of the groups and organizations associated with each role.
|
|
117
|
+
*/
|
|
118
|
+
roleAssignments?: pulumi.Input<pulumi.Input<inputs.FederatedSettingsOrgRoleMappingRoleAssignment>[]>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The set of arguments for constructing a FederatedSettingsOrgRoleMapping resource.
|
|
122
|
+
*/
|
|
123
|
+
export interface FederatedSettingsOrgRoleMappingArgs {
|
|
124
|
+
/**
|
|
125
|
+
* Unique human-readable label that identifies the identity provider group to which this role mapping applies.
|
|
126
|
+
*/
|
|
127
|
+
externalGroupName: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
130
|
+
*/
|
|
131
|
+
federationSettingsId: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
|
|
134
|
+
*/
|
|
135
|
+
orgId: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Atlas roles and the unique identifiers of the groups and organizations associated with each role.
|
|
138
|
+
*/
|
|
139
|
+
roleAssignments: pulumi.Input<pulumi.Input<inputs.FederatedSettingsOrgRoleMappingRoleAssignment>[]>;
|
|
140
|
+
}
|