@pulumi/mongodbatlas 3.9.0-alpha.1687672134 → 3.9.0
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/accessListApiKey.d.ts +7 -7
- package/accessListApiKey.js +1 -1
- package/advancedCluster.d.ts +45 -0
- package/advancedCluster.js +2 -0
- package/advancedCluster.js.map +1 -1
- package/cluster.d.ts +12 -21
- package/cluster.js +2 -0
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +139 -0
- package/clusterOutageSimulation.js +109 -0
- package/clusterOutageSimulation.js.map +1 -0
- package/dataLakePipeline.d.ts +181 -0
- package/dataLakePipeline.js +87 -0
- package/dataLakePipeline.js.map +1 -0
- package/federatedDatabaseInstance.d.ts +333 -0
- package/federatedDatabaseInstance.js +171 -0
- package/federatedDatabaseInstance.js.map +1 -0
- package/federatedQueryLimit.d.ts +166 -0
- package/federatedQueryLimit.js +113 -0
- package/federatedQueryLimit.js.map +1 -0
- package/getAccessListApiKey.d.ts +4 -4
- package/getAccessListApiKeys.d.ts +4 -4
- package/getClusterOutageSimulation.d.ts +85 -0
- package/getClusterOutageSimulation.js +48 -0
- package/getClusterOutageSimulation.js.map +1 -0
- package/getDataLakePipeline.d.ts +105 -0
- package/getDataLakePipeline.js +34 -0
- package/getDataLakePipeline.js.map +1 -0
- package/getDataLakePipelineRun.d.ts +96 -0
- package/getDataLakePipelineRun.js +31 -0
- package/getDataLakePipelineRun.js.map +1 -0
- package/getDataLakePipelineRuns.d.ts +55 -0
- package/getDataLakePipelineRuns.js +30 -0
- package/getDataLakePipelineRuns.js.map +1 -0
- package/getDataLakePipelines.d.ts +53 -0
- package/getDataLakePipelines.js +33 -0
- package/getDataLakePipelines.js.map +1 -0
- package/getFederatedDatabaseInstance.d.ts +172 -0
- package/getFederatedDatabaseInstance.js +93 -0
- package/getFederatedDatabaseInstance.js.map +1 -0
- package/getFederatedDatabaseInstances.d.ts +54 -0
- package/getFederatedDatabaseInstances.js +37 -0
- package/getFederatedDatabaseInstances.js.map +1 -0
- package/getFederatedQueryLimit.d.ts +109 -0
- package/getFederatedQueryLimit.js +61 -0
- package/getFederatedQueryLimit.js.map +1 -0
- package/getFederatedQueryLimits.d.ts +81 -0
- package/getFederatedQueryLimits.js +56 -0
- package/getFederatedQueryLimits.js.map +1 -0
- package/getOrganization.d.ts +69 -0
- package/getOrganization.js +47 -0
- package/getOrganization.js.map +1 -0
- package/getOrganizations.d.ts +85 -0
- package/getOrganizations.js +53 -0
- package/getOrganizations.js.map +1 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +52 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +20 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +36 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +19 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -0
- package/getProject.d.ts +4 -0
- package/getProject.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +2 -52
- package/getThirdPartyIntegration.js +0 -36
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +0 -46
- package/getThirdPartyIntegrations.js +0 -46
- package/getThirdPartyIntegrations.js.map +1 -1
- package/index.d.ts +57 -27
- package/index.js +74 -40
- package/index.js.map +1 -1
- package/networkContainer.d.ts +1 -1
- package/networkContainer.js +1 -1
- package/networkPeering.d.ts +1 -1
- package/networkPeering.js +1 -1
- package/organization.d.ts +126 -0
- package/organization.js +102 -0
- package/organization.js.map +1 -0
- package/package.json +2 -2
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +103 -0
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +77 -0
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -0
- package/project.d.ts +22 -0
- package/project.js +3 -0
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +20 -5
- package/projectApiKey.js +3 -3
- package/projectApiKey.js.map +1 -1
- package/searchIndex.d.ts +2 -2
- package/searchIndex.js +0 -3
- package/searchIndex.js.map +1 -1
- package/thirdPartyIntegration.d.ts +1 -99
- package/thirdPartyIntegration.js +2 -30
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +295 -45
- package/types/output.d.ts +892 -238
- package/cloudProviderSnapshot.d.ts +0 -186
- package/cloudProviderSnapshot.js +0 -105
- package/cloudProviderSnapshot.js.map +0 -1
- package/cloudProviderSnapshotBackupPolicy.d.ts +0 -140
- package/cloudProviderSnapshotBackupPolicy.js +0 -85
- package/cloudProviderSnapshotBackupPolicy.js.map +0 -1
- package/cloudProviderSnapshotRestoreJob.d.ts +0 -262
- package/cloudProviderSnapshotRestoreJob.js +0 -170
- package/cloudProviderSnapshotRestoreJob.js.map +0 -1
- package/getCloudProviderSnapshot.d.ts +0 -93
- package/getCloudProviderSnapshot.js +0 -35
- package/getCloudProviderSnapshot.js.map +0 -1
- package/getCloudProviderSnapshotBackupPolicy.d.ts +0 -81
- package/getCloudProviderSnapshotBackupPolicy.js +0 -34
- package/getCloudProviderSnapshotBackupPolicy.js.map +0 -1
- package/getCloudProviderSnapshotRestoreJob.d.ts +0 -110
- package/getCloudProviderSnapshotRestoreJob.js +0 -35
- package/getCloudProviderSnapshotRestoreJob.js.map +0 -1
- package/getCloudProviderSnapshotRestoreJobs.d.ts +0 -78
- package/getCloudProviderSnapshotRestoreJobs.js +0 -36
- package/getCloudProviderSnapshotRestoreJobs.js.map +0 -1
- package/getCloudProviderSnapshots.d.ts +0 -72
- package/getCloudProviderSnapshots.js +0 -36
- package/getCloudProviderSnapshots.js.map +0 -1
- package/privateIpMode.d.ts +0 -87
- package/privateIpMode.js +0 -84
- package/privateIpMode.js.map +0 -1
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* `mongodbatlas.DataLakePipeline` provides a Data Lake Pipeline resource.
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* Data Lake Pipeline can be imported using project ID, name of the data lake and name of the AWS s3 bucket, in the format `project_id`--`name`, e.g.
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import mongodbatlas:index/dataLakePipeline:DataLakePipeline example 1112222b3bf99403840e8934--test-data-lake-pipeline-test
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* See [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Data-Lake-Pipelines) Documentation for more information.
|
|
20
|
+
*/
|
|
21
|
+
export declare class DataLakePipeline extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing DataLakePipeline resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataLakePipelineState, opts?: pulumi.CustomResourceOptions): DataLakePipeline;
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of DataLakePipeline. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj: any): obj is DataLakePipeline;
|
|
37
|
+
/**
|
|
38
|
+
* Timestamp that indicates when the Data Lake Pipeline was created.
|
|
39
|
+
*/
|
|
40
|
+
readonly createdDate: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* List of backup schedule policy items that you can use as a Data Lake Pipeline source.
|
|
43
|
+
* * `ingestion_schedules.#.id` - Unique 24-hexadecimal digit string that identifies this backup policy item.
|
|
44
|
+
* * `ingestion_schedules.#.frequency_type` - Human-readable label that identifies the frequency type associated with the backup policy.
|
|
45
|
+
* * `ingestion_schedules.#.frequency_interval` - Number that indicates the frequency interval for a set of snapshots.
|
|
46
|
+
* * `ingestion_schedules.#.retention_unit` - Unit of time in which MongoDB Atlas measures snapshot retention.
|
|
47
|
+
* * `ingestion_schedules.#.retention_value` - Duration in days, weeks, or months that MongoDB Atlas retains the snapshot.
|
|
48
|
+
*/
|
|
49
|
+
readonly ingestionSchedules: pulumi.Output<outputs.DataLakePipelineIngestionSchedule[]>;
|
|
50
|
+
/**
|
|
51
|
+
* Timestamp that indicates the last time that the Data Lake Pipeline was updated.
|
|
52
|
+
*/
|
|
53
|
+
readonly lastUpdatedDate: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Name of the Atlas Data Lake Pipeline.
|
|
56
|
+
*/
|
|
57
|
+
readonly name: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The unique ID for the project to create a data lake pipeline.
|
|
60
|
+
*/
|
|
61
|
+
readonly projectId: pulumi.Output<string>;
|
|
62
|
+
readonly sink: pulumi.Output<outputs.DataLakePipelineSink | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* List of backup snapshots that you can use to trigger an on demand pipeline run.
|
|
65
|
+
* * `snapshots.#.id` - Unique 24-hexadecimal digit string that identifies the snapshot.
|
|
66
|
+
* * `snapshots.#.provider` - Human-readable label that identifies the cloud provider that stores this snapshot.
|
|
67
|
+
* * `snapshots.#.created_at` - Date and time when MongoDB Atlas took the snapshot.
|
|
68
|
+
* * `snapshots.#.expires_at` - Date and time when MongoDB Atlas deletes the snapshot.
|
|
69
|
+
* * `snapshots.#.frequency_type` - Human-readable label that identifies how often this snapshot triggers.
|
|
70
|
+
* * `snapshots.#.master_key` - Unique string that identifies the Amazon Web Services (AWS) Key Management Service (KMS) Customer Master Key (CMK) used to encrypt the snapshot.
|
|
71
|
+
* * `snapshots.#.mongod_version` - Version of the MongoDB host that this snapshot backs up.
|
|
72
|
+
* * `snapshots.#.replica_set_name` - Human-readable label that identifies the replica set from which MongoDB Atlas took this snapshot.
|
|
73
|
+
* * `snapshots.#.type` - Human-readable label that categorizes the cluster as a replica set or sharded cluster.
|
|
74
|
+
* * `snapshots.#.snapshot_type` - Human-readable label that identifies when this snapshot triggers.
|
|
75
|
+
* * `snapshots.#.status` - Human-readable label that indicates the stage of the backup process for this snapshot.
|
|
76
|
+
* * `snapshots.#.size` - List of backup snapshots that you can use to trigger an on demand pipeline run.
|
|
77
|
+
* * `snapshots.#.copy_region` - List that identifies the regions to which MongoDB Atlas copies the snapshot.
|
|
78
|
+
* * `snapshots.#.policies` - List that contains unique identifiers for the policy items.
|
|
79
|
+
*/
|
|
80
|
+
readonly snapshots: pulumi.Output<outputs.DataLakePipelineSnapshot[]>;
|
|
81
|
+
readonly source: pulumi.Output<outputs.DataLakePipelineSource | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* State of this Data Lake Pipeline.
|
|
84
|
+
*/
|
|
85
|
+
readonly state: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Fields to be excluded for this Data Lake Pipeline.
|
|
88
|
+
* * `transformations.#.field` - Key in the document.
|
|
89
|
+
* * `transformations.#.type` - Type of transformation applied during the export of the namespace in a Data Lake Pipeline.
|
|
90
|
+
*/
|
|
91
|
+
readonly transformations: pulumi.Output<outputs.DataLakePipelineTransformation[] | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Create a DataLakePipeline 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: DataLakePipelineArgs, opts?: pulumi.CustomResourceOptions);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Input properties used for looking up and filtering DataLakePipeline resources.
|
|
103
|
+
*/
|
|
104
|
+
export interface DataLakePipelineState {
|
|
105
|
+
/**
|
|
106
|
+
* Timestamp that indicates when the Data Lake Pipeline was created.
|
|
107
|
+
*/
|
|
108
|
+
createdDate?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* List of backup schedule policy items that you can use as a Data Lake Pipeline source.
|
|
111
|
+
* * `ingestion_schedules.#.id` - Unique 24-hexadecimal digit string that identifies this backup policy item.
|
|
112
|
+
* * `ingestion_schedules.#.frequency_type` - Human-readable label that identifies the frequency type associated with the backup policy.
|
|
113
|
+
* * `ingestion_schedules.#.frequency_interval` - Number that indicates the frequency interval for a set of snapshots.
|
|
114
|
+
* * `ingestion_schedules.#.retention_unit` - Unit of time in which MongoDB Atlas measures snapshot retention.
|
|
115
|
+
* * `ingestion_schedules.#.retention_value` - Duration in days, weeks, or months that MongoDB Atlas retains the snapshot.
|
|
116
|
+
*/
|
|
117
|
+
ingestionSchedules?: pulumi.Input<pulumi.Input<inputs.DataLakePipelineIngestionSchedule>[]>;
|
|
118
|
+
/**
|
|
119
|
+
* Timestamp that indicates the last time that the Data Lake Pipeline was updated.
|
|
120
|
+
*/
|
|
121
|
+
lastUpdatedDate?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Name of the Atlas Data Lake Pipeline.
|
|
124
|
+
*/
|
|
125
|
+
name?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The unique ID for the project to create a data lake pipeline.
|
|
128
|
+
*/
|
|
129
|
+
projectId?: pulumi.Input<string>;
|
|
130
|
+
sink?: pulumi.Input<inputs.DataLakePipelineSink>;
|
|
131
|
+
/**
|
|
132
|
+
* List of backup snapshots that you can use to trigger an on demand pipeline run.
|
|
133
|
+
* * `snapshots.#.id` - Unique 24-hexadecimal digit string that identifies the snapshot.
|
|
134
|
+
* * `snapshots.#.provider` - Human-readable label that identifies the cloud provider that stores this snapshot.
|
|
135
|
+
* * `snapshots.#.created_at` - Date and time when MongoDB Atlas took the snapshot.
|
|
136
|
+
* * `snapshots.#.expires_at` - Date and time when MongoDB Atlas deletes the snapshot.
|
|
137
|
+
* * `snapshots.#.frequency_type` - Human-readable label that identifies how often this snapshot triggers.
|
|
138
|
+
* * `snapshots.#.master_key` - Unique string that identifies the Amazon Web Services (AWS) Key Management Service (KMS) Customer Master Key (CMK) used to encrypt the snapshot.
|
|
139
|
+
* * `snapshots.#.mongod_version` - Version of the MongoDB host that this snapshot backs up.
|
|
140
|
+
* * `snapshots.#.replica_set_name` - Human-readable label that identifies the replica set from which MongoDB Atlas took this snapshot.
|
|
141
|
+
* * `snapshots.#.type` - Human-readable label that categorizes the cluster as a replica set or sharded cluster.
|
|
142
|
+
* * `snapshots.#.snapshot_type` - Human-readable label that identifies when this snapshot triggers.
|
|
143
|
+
* * `snapshots.#.status` - Human-readable label that indicates the stage of the backup process for this snapshot.
|
|
144
|
+
* * `snapshots.#.size` - List of backup snapshots that you can use to trigger an on demand pipeline run.
|
|
145
|
+
* * `snapshots.#.copy_region` - List that identifies the regions to which MongoDB Atlas copies the snapshot.
|
|
146
|
+
* * `snapshots.#.policies` - List that contains unique identifiers for the policy items.
|
|
147
|
+
*/
|
|
148
|
+
snapshots?: pulumi.Input<pulumi.Input<inputs.DataLakePipelineSnapshot>[]>;
|
|
149
|
+
source?: pulumi.Input<inputs.DataLakePipelineSource>;
|
|
150
|
+
/**
|
|
151
|
+
* State of this Data Lake Pipeline.
|
|
152
|
+
*/
|
|
153
|
+
state?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Fields to be excluded for this Data Lake Pipeline.
|
|
156
|
+
* * `transformations.#.field` - Key in the document.
|
|
157
|
+
* * `transformations.#.type` - Type of transformation applied during the export of the namespace in a Data Lake Pipeline.
|
|
158
|
+
*/
|
|
159
|
+
transformations?: pulumi.Input<pulumi.Input<inputs.DataLakePipelineTransformation>[]>;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* The set of arguments for constructing a DataLakePipeline resource.
|
|
163
|
+
*/
|
|
164
|
+
export interface DataLakePipelineArgs {
|
|
165
|
+
/**
|
|
166
|
+
* Name of the Atlas Data Lake Pipeline.
|
|
167
|
+
*/
|
|
168
|
+
name?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* The unique ID for the project to create a data lake pipeline.
|
|
171
|
+
*/
|
|
172
|
+
projectId: pulumi.Input<string>;
|
|
173
|
+
sink?: pulumi.Input<inputs.DataLakePipelineSink>;
|
|
174
|
+
source?: pulumi.Input<inputs.DataLakePipelineSource>;
|
|
175
|
+
/**
|
|
176
|
+
* Fields to be excluded for this Data Lake Pipeline.
|
|
177
|
+
* * `transformations.#.field` - Key in the document.
|
|
178
|
+
* * `transformations.#.type` - Type of transformation applied during the export of the namespace in a Data Lake Pipeline.
|
|
179
|
+
*/
|
|
180
|
+
transformations?: pulumi.Input<pulumi.Input<inputs.DataLakePipelineTransformation>[]>;
|
|
181
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.DataLakePipeline = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `mongodbatlas.DataLakePipeline` provides a Data Lake Pipeline resource.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ## Import
|
|
16
|
+
*
|
|
17
|
+
* Data Lake Pipeline can be imported using project ID, name of the data lake and name of the AWS s3 bucket, in the format `project_id`--`name`, e.g.
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import mongodbatlas:index/dataLakePipeline:DataLakePipeline example 1112222b3bf99403840e8934--test-data-lake-pipeline-test
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* See [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Data-Lake-Pipelines) Documentation for more information.
|
|
24
|
+
*/
|
|
25
|
+
class DataLakePipeline extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing DataLakePipeline resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name, id, state, opts) {
|
|
36
|
+
return new DataLakePipeline(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of DataLakePipeline. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj) {
|
|
43
|
+
if (obj === undefined || obj === null) {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
return obj['__pulumiType'] === DataLakePipeline.__pulumiType;
|
|
47
|
+
}
|
|
48
|
+
constructor(name, argsOrState, opts) {
|
|
49
|
+
let resourceInputs = {};
|
|
50
|
+
opts = opts || {};
|
|
51
|
+
if (opts.id) {
|
|
52
|
+
const state = argsOrState;
|
|
53
|
+
resourceInputs["createdDate"] = state ? state.createdDate : undefined;
|
|
54
|
+
resourceInputs["ingestionSchedules"] = state ? state.ingestionSchedules : undefined;
|
|
55
|
+
resourceInputs["lastUpdatedDate"] = state ? state.lastUpdatedDate : undefined;
|
|
56
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
58
|
+
resourceInputs["sink"] = state ? state.sink : undefined;
|
|
59
|
+
resourceInputs["snapshots"] = state ? state.snapshots : undefined;
|
|
60
|
+
resourceInputs["source"] = state ? state.source : undefined;
|
|
61
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
62
|
+
resourceInputs["transformations"] = state ? state.transformations : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'projectId'");
|
|
68
|
+
}
|
|
69
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
70
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
71
|
+
resourceInputs["sink"] = args ? args.sink : undefined;
|
|
72
|
+
resourceInputs["source"] = args ? args.source : undefined;
|
|
73
|
+
resourceInputs["transformations"] = args ? args.transformations : undefined;
|
|
74
|
+
resourceInputs["createdDate"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["ingestionSchedules"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["lastUpdatedDate"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["snapshots"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(DataLakePipeline.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.DataLakePipeline = DataLakePipeline;
|
|
85
|
+
/** @internal */
|
|
86
|
+
DataLakePipeline.__pulumiType = 'mongodbatlas:index/dataLakePipeline:DataLakePipeline';
|
|
87
|
+
//# sourceMappingURL=dataLakePipeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataLakePipeline.js","sourceRoot":"","sources":["../dataLakePipeline.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* `mongodbatlas.FederatedDatabaseInstance` provides a Federated Database Instance resource.
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### S With MongoDB Atlas Cluster As Storage Database
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
|
+
*
|
|
16
|
+
* const test = new mongodbatlas.FederatedDatabaseInstance("test", {
|
|
17
|
+
* projectId: "PROJECT ID",
|
|
18
|
+
* storageDatabases: [{
|
|
19
|
+
* collections: [{
|
|
20
|
+
* dataSources: [{
|
|
21
|
+
* collection: "COLLECTION IN THE CLUSTER",
|
|
22
|
+
* database: "DB IN THE CLUSTER",
|
|
23
|
+
* storeName: "CLUSTER NAME",
|
|
24
|
+
* }],
|
|
25
|
+
* name: "NAME OF THE COLLECTION",
|
|
26
|
+
* }],
|
|
27
|
+
* name: "VirtualDatabase0",
|
|
28
|
+
* }],
|
|
29
|
+
* storageStores: [{
|
|
30
|
+
* clusterName: "CLUSTER NAME",
|
|
31
|
+
* name: "STORE 1 NAME",
|
|
32
|
+
* projectId: "PROJECT ID",
|
|
33
|
+
* provider: "atlas",
|
|
34
|
+
* readPreference: {
|
|
35
|
+
* mode: "secondary",
|
|
36
|
+
* },
|
|
37
|
+
* }],
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
* ### S With Amazon S3 Bucket As Storage Database
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
45
|
+
*
|
|
46
|
+
* const test = new mongodbatlas.FederatedDatabaseInstance("test", {
|
|
47
|
+
* cloudProviderConfig: {
|
|
48
|
+
* aws: {
|
|
49
|
+
* roleId: "AWS ROLE ID",
|
|
50
|
+
* testS3Bucket: "S3 BUCKET NAME",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* projectId: "PROJECT ID",
|
|
54
|
+
* storageDatabases: [{
|
|
55
|
+
* collections: [{
|
|
56
|
+
* dataSources: [
|
|
57
|
+
* {
|
|
58
|
+
* collection: "COLLECTION IN THE CLUSTER",
|
|
59
|
+
* database: "DB IN THE CLUSTER",
|
|
60
|
+
* storeName: "CLUSTER NAME",
|
|
61
|
+
* },
|
|
62
|
+
* {
|
|
63
|
+
* path: "S3 BUCKET PATH",
|
|
64
|
+
* storeName: "S3 BUCKET NAME",
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* name: "NAME OF THE COLLECTION",
|
|
68
|
+
* }],
|
|
69
|
+
* name: "VirtualDatabase0",
|
|
70
|
+
* }],
|
|
71
|
+
* storageStores: [
|
|
72
|
+
* {
|
|
73
|
+
* clusterName: "CLUSTER NAME",
|
|
74
|
+
* name: "STORE 1 NAME",
|
|
75
|
+
* projectId: "PROJECT ID",
|
|
76
|
+
* provider: "atlas",
|
|
77
|
+
* readPreference: {
|
|
78
|
+
* mode: "secondary",
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* {
|
|
82
|
+
* bucket: "STORE 2 NAME",
|
|
83
|
+
* delimiter: "/",
|
|
84
|
+
* name: "S3 BUCKET NAME",
|
|
85
|
+
* prefix: "S3 BUCKET PREFIX",
|
|
86
|
+
* provider: "s3",
|
|
87
|
+
* region: "AWS REGION",
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* ## Import
|
|
94
|
+
*
|
|
95
|
+
* - The Federated Database Instance can be imported using project ID, name of the instance, in the format `project_id`--`name`, e.g.
|
|
96
|
+
*
|
|
97
|
+
* ```sh
|
|
98
|
+
* $ pulumi import mongodbatlas:index/federatedDatabaseInstance:FederatedDatabaseInstance mongodbatlas_federated_database_instance.example 1112222b3bf99403840e8934--test
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* - The Federated Database Instance can be imported using project ID, name of the instance and name of the AWS S3 bucket, in the format `project_id`--`name`--`aws_test_s3_bucket`, e.g.
|
|
102
|
+
*
|
|
103
|
+
* ```sh
|
|
104
|
+
* $ pulumi import mongodbatlas:index/federatedDatabaseInstance:FederatedDatabaseInstance mongodbatlas_federated_database_instance.example 1112222b3bf99403840e8934--test--s3-test
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* See [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Data-Federation) Documentation for more information.
|
|
108
|
+
*/
|
|
109
|
+
export declare class FederatedDatabaseInstance extends pulumi.CustomResource {
|
|
110
|
+
/**
|
|
111
|
+
* Get an existing FederatedDatabaseInstance resource's state with the given name, ID, and optional extra
|
|
112
|
+
* properties used to qualify the lookup.
|
|
113
|
+
*
|
|
114
|
+
* @param name The _unique_ name of the resulting resource.
|
|
115
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
116
|
+
* @param state Any extra arguments used during the lookup.
|
|
117
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
118
|
+
*/
|
|
119
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FederatedDatabaseInstanceState, opts?: pulumi.CustomResourceOptions): FederatedDatabaseInstance;
|
|
120
|
+
/**
|
|
121
|
+
* Returns true if the given object is an instance of FederatedDatabaseInstance. This is designed to work even
|
|
122
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
123
|
+
*/
|
|
124
|
+
static isInstance(obj: any): obj is FederatedDatabaseInstance;
|
|
125
|
+
readonly cloudProviderConfig: pulumi.Output<outputs.FederatedDatabaseInstanceCloudProviderConfig | undefined>;
|
|
126
|
+
readonly dataProcessRegion: pulumi.Output<outputs.FederatedDatabaseInstanceDataProcessRegion | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* The list of hostnames assigned to the Federated Database Instance. Each string in the array is a hostname assigned to the Federated Database Instance.
|
|
129
|
+
*/
|
|
130
|
+
readonly hostnames: pulumi.Output<string[]>;
|
|
131
|
+
/**
|
|
132
|
+
* Name of the Atlas Federated Database Instance.
|
|
133
|
+
* ### `cloudProviderConfig` - (Optional) Cloud provider linked to this data federated instance.
|
|
134
|
+
* #### `aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloudProviderConfig` since AWS is currently the only supported Cloud vendor on this feature at this time.
|
|
135
|
+
*/
|
|
136
|
+
readonly name: pulumi.Output<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The unique ID for the project to create a Federated Database Instance.
|
|
139
|
+
*/
|
|
140
|
+
readonly projectId: pulumi.Output<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Current state of the Federated Database Instance:
|
|
143
|
+
*/
|
|
144
|
+
readonly state: pulumi.Output<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Configuration details for mapping each data store to queryable databases and collections. For complete documentation on this object and its nested fields, see [databases](https://docs.mongodb.com/datalake/reference/format/data-lake-configuration#std-label-datalake-databases-reference). An empty object indicates that the Federated Database Instance has no mapping configuration for any data store.
|
|
147
|
+
* * `storage_databases.#.name` - Name of the database to which the Federated Database Instance maps the data contained in the data store.
|
|
148
|
+
* * `storage_databases.#.collections` - Array of objects where each object represents a collection and data sources that map to a [stores](https://docs.mongodb.com/datalake/reference/format/data-lake-configuration#mongodb-datalakeconf-datalakeconf.stores) data store.
|
|
149
|
+
* * `storage_databases.#.collections.#.name` - Name of the collection.
|
|
150
|
+
* * `storage_databases.#.collections.#.data_sources` - Array of objects where each object represents a stores data store to map with the collection.
|
|
151
|
+
* * `storage_databases.#.collections.#.data_sources.#.store_name` - Name of a data store to map to the `<collection>`. Must match the name of an object in the stores array.
|
|
152
|
+
* * `storage_databases.#.collections.#.data_sources.#.default_format` - Default format that Federated Database assumes if it encounters a file without an extension while searching the storeName.
|
|
153
|
+
* * `storage_databases.#.collections.#.data_sources.#.path` - File path that controls how MongoDB Cloud searches for and parses files in the storeName before mapping them to a collection. Specify / to capture all files and folders from the prefix path.
|
|
154
|
+
* * `storage_databases.#.collections.#.data_sources.#.database` - Human-readable label that identifies the database, which contains the collection in the cluster.
|
|
155
|
+
* * `storage_databases.#.collections.#.data_sources.#.allow_insecure` - Flag that validates the scheme in the specified URLs. If true, allows insecure HTTP scheme, doesn't verify the server's certificate chain and hostname, and accepts any certificate with any hostname presented by the server. If false, allows secure HTTPS scheme only.
|
|
156
|
+
* * `storage_databases.#.collections.#.data_sources.#.database_regex` - Regex pattern to use for creating the wildcard database.
|
|
157
|
+
* * `storage_databases.#.collections.#.data_sources.#.collection` - Human-readable label that identifies the collection in the database.
|
|
158
|
+
* * `storage_databases.#.collections.#.data_sources.#.collection_regex` - Regex pattern to use for creating the wildcard (*) collection.
|
|
159
|
+
* * `storage_databases.#.collections.#.data_sources.#.provenance_field_name` - Name for the field that includes the provenance of the documents in the results.
|
|
160
|
+
* * `storage_databases.#.collections.#.data_sources.#.storeName` - Human-readable label that identifies the data store that MongoDB Cloud maps to the collection.
|
|
161
|
+
* * `storage_databases.#.collections.#.data_sources.#.urls` - URLs of the publicly accessible data files. You can't specify URLs that require authentication.
|
|
162
|
+
* * `storage_databases.#.views` - Array of objects where each object represents an [aggregation pipeline](https://docs.mongodb.com/manual/core/aggregation-pipeline/#id1) on a collection. To learn more about views, see [Views](https://docs.mongodb.com/manual/core/views/).
|
|
163
|
+
* * `storage_databases.#.views.#.name` - Name of the view.
|
|
164
|
+
* * `storage_databases.#.views.#.source` - Name of the source collection for the view.
|
|
165
|
+
* * `storage_databases.#.views.#.pipeline`- Aggregation pipeline stage(s) to apply to the source collection.
|
|
166
|
+
*/
|
|
167
|
+
readonly storageDatabases: pulumi.Output<outputs.FederatedDatabaseInstanceStorageDatabase[] | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Each object in the array represents a data store. Federated Database uses the storage.databases configuration details to map data in each data store to queryable databases and collections. For complete documentation on this object and its nested fields, see [stores](https://docs.mongodb.com/datalake/reference/format/data-lake-configuration#std-label-datalake-stores-reference). An empty object indicates that the Federated Database Instance has no configured data stores.
|
|
170
|
+
* * `storage_stores.#.name` - Name of the data store.
|
|
171
|
+
* * `storage_stores.#.provider` - Defines where the data is stored.
|
|
172
|
+
* * `storage_stores.#.region` - Name of the AWS region in which the S3 bucket is hosted.
|
|
173
|
+
* * `storage_stores.#.bucket` - Name of the AWS S3 bucket.
|
|
174
|
+
* * `storage_stores.#.prefix` - Prefix the Federated Database Instance applies when searching for files in the S3 bucket.
|
|
175
|
+
* * `storage_stores.#.delimiter` - The delimiter that separates `storage_databases.#.collections.#.data_sources.#.path` segments in the data store.
|
|
176
|
+
* * `storage_stores.#.include_tags` - Determines whether or not to use S3 tags on the files in the given path as additional partition attributes.
|
|
177
|
+
* * `storage_stores.#.cluster_name` - Human-readable label of the MongoDB Cloud cluster on which the store is based.
|
|
178
|
+
* * `storage_stores.#.cluster_id` - ID of the Cluster the Online Archive belongs to.
|
|
179
|
+
* * `storage_stores.#.allow_insecure` - Flag that validates the scheme in the specified URLs.
|
|
180
|
+
* * `storage_stores.#.public` - Flag that indicates whether the bucket is public.
|
|
181
|
+
* * `storage_stores.#.default_format` - Default format that Data Lake assumes if it encounters a file without an extension while searching the storeName.
|
|
182
|
+
* * `storage_stores.#.urls` - Comma-separated list of publicly accessible HTTP URLs where data is stored.
|
|
183
|
+
* * `storage_stores.#.read_preference` - MongoDB Cloud cluster read preference, which describes how to route read requests to the cluster.
|
|
184
|
+
* * `storage_stores.#.read_preference.maxStalenessSeconds` - Maximum replication lag, or staleness, for reads from secondaries.
|
|
185
|
+
* * `storage_stores.#.read_preference.mode` - Read preference mode that specifies to which replica set member to route the read requests.
|
|
186
|
+
* * `storage_stores.#.read_preference.tagSets` - List that contains tag sets or tag specification documents.
|
|
187
|
+
* * `storage_stores.#.read_preference.tagSets.name` - Human-readable label of the tag.
|
|
188
|
+
* * `storage_stores.#.read_preference.tagSets.value` - Value of the tag.
|
|
189
|
+
*/
|
|
190
|
+
readonly storageStores: pulumi.Output<outputs.FederatedDatabaseInstanceStorageStore[]>;
|
|
191
|
+
/**
|
|
192
|
+
* Create a FederatedDatabaseInstance resource with the given unique name, arguments, and options.
|
|
193
|
+
*
|
|
194
|
+
* @param name The _unique_ name of the resource.
|
|
195
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
196
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
197
|
+
*/
|
|
198
|
+
constructor(name: string, args: FederatedDatabaseInstanceArgs, opts?: pulumi.CustomResourceOptions);
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Input properties used for looking up and filtering FederatedDatabaseInstance resources.
|
|
202
|
+
*/
|
|
203
|
+
export interface FederatedDatabaseInstanceState {
|
|
204
|
+
cloudProviderConfig?: pulumi.Input<inputs.FederatedDatabaseInstanceCloudProviderConfig>;
|
|
205
|
+
dataProcessRegion?: pulumi.Input<inputs.FederatedDatabaseInstanceDataProcessRegion>;
|
|
206
|
+
/**
|
|
207
|
+
* The list of hostnames assigned to the Federated Database Instance. Each string in the array is a hostname assigned to the Federated Database Instance.
|
|
208
|
+
*/
|
|
209
|
+
hostnames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
210
|
+
/**
|
|
211
|
+
* Name of the Atlas Federated Database Instance.
|
|
212
|
+
* ### `cloudProviderConfig` - (Optional) Cloud provider linked to this data federated instance.
|
|
213
|
+
* #### `aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloudProviderConfig` since AWS is currently the only supported Cloud vendor on this feature at this time.
|
|
214
|
+
*/
|
|
215
|
+
name?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* The unique ID for the project to create a Federated Database Instance.
|
|
218
|
+
*/
|
|
219
|
+
projectId?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Current state of the Federated Database Instance:
|
|
222
|
+
*/
|
|
223
|
+
state?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Configuration details for mapping each data store to queryable databases and collections. For complete documentation on this object and its nested fields, see [databases](https://docs.mongodb.com/datalake/reference/format/data-lake-configuration#std-label-datalake-databases-reference). An empty object indicates that the Federated Database Instance has no mapping configuration for any data store.
|
|
226
|
+
* * `storage_databases.#.name` - Name of the database to which the Federated Database Instance maps the data contained in the data store.
|
|
227
|
+
* * `storage_databases.#.collections` - Array of objects where each object represents a collection and data sources that map to a [stores](https://docs.mongodb.com/datalake/reference/format/data-lake-configuration#mongodb-datalakeconf-datalakeconf.stores) data store.
|
|
228
|
+
* * `storage_databases.#.collections.#.name` - Name of the collection.
|
|
229
|
+
* * `storage_databases.#.collections.#.data_sources` - Array of objects where each object represents a stores data store to map with the collection.
|
|
230
|
+
* * `storage_databases.#.collections.#.data_sources.#.store_name` - Name of a data store to map to the `<collection>`. Must match the name of an object in the stores array.
|
|
231
|
+
* * `storage_databases.#.collections.#.data_sources.#.default_format` - Default format that Federated Database assumes if it encounters a file without an extension while searching the storeName.
|
|
232
|
+
* * `storage_databases.#.collections.#.data_sources.#.path` - File path that controls how MongoDB Cloud searches for and parses files in the storeName before mapping them to a collection. Specify / to capture all files and folders from the prefix path.
|
|
233
|
+
* * `storage_databases.#.collections.#.data_sources.#.database` - Human-readable label that identifies the database, which contains the collection in the cluster.
|
|
234
|
+
* * `storage_databases.#.collections.#.data_sources.#.allow_insecure` - Flag that validates the scheme in the specified URLs. If true, allows insecure HTTP scheme, doesn't verify the server's certificate chain and hostname, and accepts any certificate with any hostname presented by the server. If false, allows secure HTTPS scheme only.
|
|
235
|
+
* * `storage_databases.#.collections.#.data_sources.#.database_regex` - Regex pattern to use for creating the wildcard database.
|
|
236
|
+
* * `storage_databases.#.collections.#.data_sources.#.collection` - Human-readable label that identifies the collection in the database.
|
|
237
|
+
* * `storage_databases.#.collections.#.data_sources.#.collection_regex` - Regex pattern to use for creating the wildcard (*) collection.
|
|
238
|
+
* * `storage_databases.#.collections.#.data_sources.#.provenance_field_name` - Name for the field that includes the provenance of the documents in the results.
|
|
239
|
+
* * `storage_databases.#.collections.#.data_sources.#.storeName` - Human-readable label that identifies the data store that MongoDB Cloud maps to the collection.
|
|
240
|
+
* * `storage_databases.#.collections.#.data_sources.#.urls` - URLs of the publicly accessible data files. You can't specify URLs that require authentication.
|
|
241
|
+
* * `storage_databases.#.views` - Array of objects where each object represents an [aggregation pipeline](https://docs.mongodb.com/manual/core/aggregation-pipeline/#id1) on a collection. To learn more about views, see [Views](https://docs.mongodb.com/manual/core/views/).
|
|
242
|
+
* * `storage_databases.#.views.#.name` - Name of the view.
|
|
243
|
+
* * `storage_databases.#.views.#.source` - Name of the source collection for the view.
|
|
244
|
+
* * `storage_databases.#.views.#.pipeline`- Aggregation pipeline stage(s) to apply to the source collection.
|
|
245
|
+
*/
|
|
246
|
+
storageDatabases?: pulumi.Input<pulumi.Input<inputs.FederatedDatabaseInstanceStorageDatabase>[]>;
|
|
247
|
+
/**
|
|
248
|
+
* Each object in the array represents a data store. Federated Database uses the storage.databases configuration details to map data in each data store to queryable databases and collections. For complete documentation on this object and its nested fields, see [stores](https://docs.mongodb.com/datalake/reference/format/data-lake-configuration#std-label-datalake-stores-reference). An empty object indicates that the Federated Database Instance has no configured data stores.
|
|
249
|
+
* * `storage_stores.#.name` - Name of the data store.
|
|
250
|
+
* * `storage_stores.#.provider` - Defines where the data is stored.
|
|
251
|
+
* * `storage_stores.#.region` - Name of the AWS region in which the S3 bucket is hosted.
|
|
252
|
+
* * `storage_stores.#.bucket` - Name of the AWS S3 bucket.
|
|
253
|
+
* * `storage_stores.#.prefix` - Prefix the Federated Database Instance applies when searching for files in the S3 bucket.
|
|
254
|
+
* * `storage_stores.#.delimiter` - The delimiter that separates `storage_databases.#.collections.#.data_sources.#.path` segments in the data store.
|
|
255
|
+
* * `storage_stores.#.include_tags` - Determines whether or not to use S3 tags on the files in the given path as additional partition attributes.
|
|
256
|
+
* * `storage_stores.#.cluster_name` - Human-readable label of the MongoDB Cloud cluster on which the store is based.
|
|
257
|
+
* * `storage_stores.#.cluster_id` - ID of the Cluster the Online Archive belongs to.
|
|
258
|
+
* * `storage_stores.#.allow_insecure` - Flag that validates the scheme in the specified URLs.
|
|
259
|
+
* * `storage_stores.#.public` - Flag that indicates whether the bucket is public.
|
|
260
|
+
* * `storage_stores.#.default_format` - Default format that Data Lake assumes if it encounters a file without an extension while searching the storeName.
|
|
261
|
+
* * `storage_stores.#.urls` - Comma-separated list of publicly accessible HTTP URLs where data is stored.
|
|
262
|
+
* * `storage_stores.#.read_preference` - MongoDB Cloud cluster read preference, which describes how to route read requests to the cluster.
|
|
263
|
+
* * `storage_stores.#.read_preference.maxStalenessSeconds` - Maximum replication lag, or staleness, for reads from secondaries.
|
|
264
|
+
* * `storage_stores.#.read_preference.mode` - Read preference mode that specifies to which replica set member to route the read requests.
|
|
265
|
+
* * `storage_stores.#.read_preference.tagSets` - List that contains tag sets or tag specification documents.
|
|
266
|
+
* * `storage_stores.#.read_preference.tagSets.name` - Human-readable label of the tag.
|
|
267
|
+
* * `storage_stores.#.read_preference.tagSets.value` - Value of the tag.
|
|
268
|
+
*/
|
|
269
|
+
storageStores?: pulumi.Input<pulumi.Input<inputs.FederatedDatabaseInstanceStorageStore>[]>;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* The set of arguments for constructing a FederatedDatabaseInstance resource.
|
|
273
|
+
*/
|
|
274
|
+
export interface FederatedDatabaseInstanceArgs {
|
|
275
|
+
cloudProviderConfig?: pulumi.Input<inputs.FederatedDatabaseInstanceCloudProviderConfig>;
|
|
276
|
+
dataProcessRegion?: pulumi.Input<inputs.FederatedDatabaseInstanceDataProcessRegion>;
|
|
277
|
+
/**
|
|
278
|
+
* Name of the Atlas Federated Database Instance.
|
|
279
|
+
* ### `cloudProviderConfig` - (Optional) Cloud provider linked to this data federated instance.
|
|
280
|
+
* #### `aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloudProviderConfig` since AWS is currently the only supported Cloud vendor on this feature at this time.
|
|
281
|
+
*/
|
|
282
|
+
name?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* The unique ID for the project to create a Federated Database Instance.
|
|
285
|
+
*/
|
|
286
|
+
projectId: pulumi.Input<string>;
|
|
287
|
+
/**
|
|
288
|
+
* Configuration details for mapping each data store to queryable databases and collections. For complete documentation on this object and its nested fields, see [databases](https://docs.mongodb.com/datalake/reference/format/data-lake-configuration#std-label-datalake-databases-reference). An empty object indicates that the Federated Database Instance has no mapping configuration for any data store.
|
|
289
|
+
* * `storage_databases.#.name` - Name of the database to which the Federated Database Instance maps the data contained in the data store.
|
|
290
|
+
* * `storage_databases.#.collections` - Array of objects where each object represents a collection and data sources that map to a [stores](https://docs.mongodb.com/datalake/reference/format/data-lake-configuration#mongodb-datalakeconf-datalakeconf.stores) data store.
|
|
291
|
+
* * `storage_databases.#.collections.#.name` - Name of the collection.
|
|
292
|
+
* * `storage_databases.#.collections.#.data_sources` - Array of objects where each object represents a stores data store to map with the collection.
|
|
293
|
+
* * `storage_databases.#.collections.#.data_sources.#.store_name` - Name of a data store to map to the `<collection>`. Must match the name of an object in the stores array.
|
|
294
|
+
* * `storage_databases.#.collections.#.data_sources.#.default_format` - Default format that Federated Database assumes if it encounters a file without an extension while searching the storeName.
|
|
295
|
+
* * `storage_databases.#.collections.#.data_sources.#.path` - File path that controls how MongoDB Cloud searches for and parses files in the storeName before mapping them to a collection. Specify / to capture all files and folders from the prefix path.
|
|
296
|
+
* * `storage_databases.#.collections.#.data_sources.#.database` - Human-readable label that identifies the database, which contains the collection in the cluster.
|
|
297
|
+
* * `storage_databases.#.collections.#.data_sources.#.allow_insecure` - Flag that validates the scheme in the specified URLs. If true, allows insecure HTTP scheme, doesn't verify the server's certificate chain and hostname, and accepts any certificate with any hostname presented by the server. If false, allows secure HTTPS scheme only.
|
|
298
|
+
* * `storage_databases.#.collections.#.data_sources.#.database_regex` - Regex pattern to use for creating the wildcard database.
|
|
299
|
+
* * `storage_databases.#.collections.#.data_sources.#.collection` - Human-readable label that identifies the collection in the database.
|
|
300
|
+
* * `storage_databases.#.collections.#.data_sources.#.collection_regex` - Regex pattern to use for creating the wildcard (*) collection.
|
|
301
|
+
* * `storage_databases.#.collections.#.data_sources.#.provenance_field_name` - Name for the field that includes the provenance of the documents in the results.
|
|
302
|
+
* * `storage_databases.#.collections.#.data_sources.#.storeName` - Human-readable label that identifies the data store that MongoDB Cloud maps to the collection.
|
|
303
|
+
* * `storage_databases.#.collections.#.data_sources.#.urls` - URLs of the publicly accessible data files. You can't specify URLs that require authentication.
|
|
304
|
+
* * `storage_databases.#.views` - Array of objects where each object represents an [aggregation pipeline](https://docs.mongodb.com/manual/core/aggregation-pipeline/#id1) on a collection. To learn more about views, see [Views](https://docs.mongodb.com/manual/core/views/).
|
|
305
|
+
* * `storage_databases.#.views.#.name` - Name of the view.
|
|
306
|
+
* * `storage_databases.#.views.#.source` - Name of the source collection for the view.
|
|
307
|
+
* * `storage_databases.#.views.#.pipeline`- Aggregation pipeline stage(s) to apply to the source collection.
|
|
308
|
+
*/
|
|
309
|
+
storageDatabases?: pulumi.Input<pulumi.Input<inputs.FederatedDatabaseInstanceStorageDatabase>[]>;
|
|
310
|
+
/**
|
|
311
|
+
* Each object in the array represents a data store. Federated Database uses the storage.databases configuration details to map data in each data store to queryable databases and collections. For complete documentation on this object and its nested fields, see [stores](https://docs.mongodb.com/datalake/reference/format/data-lake-configuration#std-label-datalake-stores-reference). An empty object indicates that the Federated Database Instance has no configured data stores.
|
|
312
|
+
* * `storage_stores.#.name` - Name of the data store.
|
|
313
|
+
* * `storage_stores.#.provider` - Defines where the data is stored.
|
|
314
|
+
* * `storage_stores.#.region` - Name of the AWS region in which the S3 bucket is hosted.
|
|
315
|
+
* * `storage_stores.#.bucket` - Name of the AWS S3 bucket.
|
|
316
|
+
* * `storage_stores.#.prefix` - Prefix the Federated Database Instance applies when searching for files in the S3 bucket.
|
|
317
|
+
* * `storage_stores.#.delimiter` - The delimiter that separates `storage_databases.#.collections.#.data_sources.#.path` segments in the data store.
|
|
318
|
+
* * `storage_stores.#.include_tags` - Determines whether or not to use S3 tags on the files in the given path as additional partition attributes.
|
|
319
|
+
* * `storage_stores.#.cluster_name` - Human-readable label of the MongoDB Cloud cluster on which the store is based.
|
|
320
|
+
* * `storage_stores.#.cluster_id` - ID of the Cluster the Online Archive belongs to.
|
|
321
|
+
* * `storage_stores.#.allow_insecure` - Flag that validates the scheme in the specified URLs.
|
|
322
|
+
* * `storage_stores.#.public` - Flag that indicates whether the bucket is public.
|
|
323
|
+
* * `storage_stores.#.default_format` - Default format that Data Lake assumes if it encounters a file without an extension while searching the storeName.
|
|
324
|
+
* * `storage_stores.#.urls` - Comma-separated list of publicly accessible HTTP URLs where data is stored.
|
|
325
|
+
* * `storage_stores.#.read_preference` - MongoDB Cloud cluster read preference, which describes how to route read requests to the cluster.
|
|
326
|
+
* * `storage_stores.#.read_preference.maxStalenessSeconds` - Maximum replication lag, or staleness, for reads from secondaries.
|
|
327
|
+
* * `storage_stores.#.read_preference.mode` - Read preference mode that specifies to which replica set member to route the read requests.
|
|
328
|
+
* * `storage_stores.#.read_preference.tagSets` - List that contains tag sets or tag specification documents.
|
|
329
|
+
* * `storage_stores.#.read_preference.tagSets.name` - Human-readable label of the tag.
|
|
330
|
+
* * `storage_stores.#.read_preference.tagSets.value` - Value of the tag.
|
|
331
|
+
*/
|
|
332
|
+
storageStores?: pulumi.Input<pulumi.Input<inputs.FederatedDatabaseInstanceStorageStore>[]>;
|
|
333
|
+
}
|