@pulumi/mongodbatlas 3.18.0-alpha.1726033906 → 3.18.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/advancedCluster.d.ts +15 -3
- package/advancedCluster.js +2 -0
- package/advancedCluster.js.map +1 -1
- package/cluster.d.ts +3 -3
- package/encryptionAtRest.d.ts +30 -13
- package/encryptionAtRest.js +0 -10
- package/encryptionAtRest.js.map +1 -1
- package/encryptionAtRestPrivateEndpoint.d.ts +161 -0
- package/encryptionAtRestPrivateEndpoint.js +133 -0
- package/encryptionAtRestPrivateEndpoint.js.map +1 -0
- package/getAdvancedCluster.d.ts +5 -1
- package/getAdvancedCluster.js.map +1 -1
- package/getCluster.d.ts +1 -1
- package/getEncryptionAtRest.d.ts +275 -0
- package/getEncryptionAtRest.js +247 -0
- package/getEncryptionAtRest.js.map +1 -0
- package/getEncryptionAtRestPrivateEndpoint.d.ts +122 -0
- package/getEncryptionAtRestPrivateEndpoint.js +73 -0
- package/getEncryptionAtRestPrivateEndpoint.js.map +1 -0
- package/getEncryptionAtRestPrivateEndpoints.d.ts +101 -0
- package/getEncryptionAtRestPrivateEndpoints.js +70 -0
- package/getEncryptionAtRestPrivateEndpoints.js.map +1 -0
- package/getProject.d.ts +3 -1
- package/getProject.js.map +1 -1
- package/getProjectIpAddresses.d.ts +75 -0
- package/getProjectIpAddresses.js +55 -0
- package/getProjectIpAddresses.js.map +1 -0
- package/getStreamProcessor.d.ts +74 -0
- package/getStreamProcessor.js +35 -0
- package/getStreamProcessor.js.map +1 -0
- package/getStreamProcessors.d.ts +62 -0
- package/getStreamProcessors.js +34 -0
- package/getStreamProcessors.js.map +1 -0
- package/index.d.ts +24 -0
- package/index.js +34 -5
- package/index.js.map +1 -1
- package/onlineArchive.d.ts +9 -0
- package/onlineArchive.js.map +1 -1
- package/package.json +2 -2
- package/project.d.ts +6 -2
- package/project.js.map +1 -1
- package/streamProcessor.d.ts +137 -0
- package/streamProcessor.js +76 -0
- package/streamProcessor.js.map +1 -0
- package/types/input.d.ts +66 -16
- package/types/output.d.ts +304 -19
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*/
|
|
7
|
+
export declare class StreamProcessor extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing StreamProcessor resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StreamProcessorState, opts?: pulumi.CustomResourceOptions): StreamProcessor;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of StreamProcessor. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is StreamProcessor;
|
|
23
|
+
/**
|
|
24
|
+
* Human-readable label that identifies the stream instance.
|
|
25
|
+
*/
|
|
26
|
+
readonly instanceName: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Optional configuration for the stream processor.
|
|
29
|
+
*/
|
|
30
|
+
readonly options: pulumi.Output<outputs.StreamProcessorOptions | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Stream aggregation pipeline you want to apply to your streaming data. [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/stream-aggregation/#std-label-stream-aggregation) contain more information. Using jsonencode is recommended when settig this attribute. For more details see [Aggregation Pipelines Documentation](https://www.mongodb.com/docs/atlas/atlas-stream-processing/stream-aggregation/)
|
|
33
|
+
*/
|
|
34
|
+
readonly pipeline: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Human-readable label that identifies the stream processor.
|
|
37
|
+
*/
|
|
38
|
+
readonly processorName: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
41
|
+
*/
|
|
42
|
+
readonly projectId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to
|
|
45
|
+
* start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is
|
|
46
|
+
* created without specifying the state, it will default to `CREATED` state. **NOTE** When a stream processor is created,
|
|
47
|
+
* the only valid states are CREATED or STARTED. A stream processor can be automatically started when creating it if the
|
|
48
|
+
* state is set to STARTED.
|
|
49
|
+
*/
|
|
50
|
+
readonly state: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The stats associated with the stream processor. Refer to the [MongoDB Atlas
|
|
53
|
+
* Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/manage-stream-processor/#view-statistics-of-a-stream-processor)
|
|
54
|
+
* for more information.
|
|
55
|
+
*/
|
|
56
|
+
readonly stats: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a StreamProcessor resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: StreamProcessorArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Input properties used for looking up and filtering StreamProcessor resources.
|
|
68
|
+
*/
|
|
69
|
+
export interface StreamProcessorState {
|
|
70
|
+
/**
|
|
71
|
+
* Human-readable label that identifies the stream instance.
|
|
72
|
+
*/
|
|
73
|
+
instanceName?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Optional configuration for the stream processor.
|
|
76
|
+
*/
|
|
77
|
+
options?: pulumi.Input<inputs.StreamProcessorOptions>;
|
|
78
|
+
/**
|
|
79
|
+
* Stream aggregation pipeline you want to apply to your streaming data. [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/stream-aggregation/#std-label-stream-aggregation) contain more information. Using jsonencode is recommended when settig this attribute. For more details see [Aggregation Pipelines Documentation](https://www.mongodb.com/docs/atlas/atlas-stream-processing/stream-aggregation/)
|
|
80
|
+
*/
|
|
81
|
+
pipeline?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Human-readable label that identifies the stream processor.
|
|
84
|
+
*/
|
|
85
|
+
processorName?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
88
|
+
*/
|
|
89
|
+
projectId?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to
|
|
92
|
+
* start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is
|
|
93
|
+
* created without specifying the state, it will default to `CREATED` state. **NOTE** When a stream processor is created,
|
|
94
|
+
* the only valid states are CREATED or STARTED. A stream processor can be automatically started when creating it if the
|
|
95
|
+
* state is set to STARTED.
|
|
96
|
+
*/
|
|
97
|
+
state?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The stats associated with the stream processor. Refer to the [MongoDB Atlas
|
|
100
|
+
* Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/manage-stream-processor/#view-statistics-of-a-stream-processor)
|
|
101
|
+
* for more information.
|
|
102
|
+
*/
|
|
103
|
+
stats?: pulumi.Input<string>;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The set of arguments for constructing a StreamProcessor resource.
|
|
107
|
+
*/
|
|
108
|
+
export interface StreamProcessorArgs {
|
|
109
|
+
/**
|
|
110
|
+
* Human-readable label that identifies the stream instance.
|
|
111
|
+
*/
|
|
112
|
+
instanceName: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Optional configuration for the stream processor.
|
|
115
|
+
*/
|
|
116
|
+
options?: pulumi.Input<inputs.StreamProcessorOptions>;
|
|
117
|
+
/**
|
|
118
|
+
* Stream aggregation pipeline you want to apply to your streaming data. [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/stream-aggregation/#std-label-stream-aggregation) contain more information. Using jsonencode is recommended when settig this attribute. For more details see [Aggregation Pipelines Documentation](https://www.mongodb.com/docs/atlas/atlas-stream-processing/stream-aggregation/)
|
|
119
|
+
*/
|
|
120
|
+
pipeline: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Human-readable label that identifies the stream processor.
|
|
123
|
+
*/
|
|
124
|
+
processorName: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
127
|
+
*/
|
|
128
|
+
projectId: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to
|
|
131
|
+
* start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is
|
|
132
|
+
* created without specifying the state, it will default to `CREATED` state. **NOTE** When a stream processor is created,
|
|
133
|
+
* the only valid states are CREATED or STARTED. A stream processor can be automatically started when creating it if the
|
|
134
|
+
* state is set to STARTED.
|
|
135
|
+
*/
|
|
136
|
+
state?: pulumi.Input<string>;
|
|
137
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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.StreamProcessor = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*/
|
|
11
|
+
class StreamProcessor extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing StreamProcessor resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new StreamProcessor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of StreamProcessor. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === StreamProcessor.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["instanceName"] = state ? state.instanceName : undefined;
|
|
40
|
+
resourceInputs["options"] = state ? state.options : undefined;
|
|
41
|
+
resourceInputs["pipeline"] = state ? state.pipeline : undefined;
|
|
42
|
+
resourceInputs["processorName"] = state ? state.processorName : undefined;
|
|
43
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
44
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
45
|
+
resourceInputs["stats"] = state ? state.stats : undefined;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const args = argsOrState;
|
|
49
|
+
if ((!args || args.instanceName === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'instanceName'");
|
|
51
|
+
}
|
|
52
|
+
if ((!args || args.pipeline === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'pipeline'");
|
|
54
|
+
}
|
|
55
|
+
if ((!args || args.processorName === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'processorName'");
|
|
57
|
+
}
|
|
58
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'projectId'");
|
|
60
|
+
}
|
|
61
|
+
resourceInputs["instanceName"] = args ? args.instanceName : undefined;
|
|
62
|
+
resourceInputs["options"] = args ? args.options : undefined;
|
|
63
|
+
resourceInputs["pipeline"] = args ? args.pipeline : undefined;
|
|
64
|
+
resourceInputs["processorName"] = args ? args.processorName : undefined;
|
|
65
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
66
|
+
resourceInputs["state"] = args ? args.state : undefined;
|
|
67
|
+
resourceInputs["stats"] = undefined /*out*/;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
super(StreamProcessor.__pulumiType, name, resourceInputs, opts);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.StreamProcessor = StreamProcessor;
|
|
74
|
+
/** @internal */
|
|
75
|
+
StreamProcessor.__pulumiType = 'mongodbatlas:index/streamProcessor:StreamProcessor';
|
|
76
|
+
//# sourceMappingURL=streamProcessor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streamProcessor.js","sourceRoot":"","sources":["../streamProcessor.ts"],"names":[],"mappings":"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"}
|
package/types/input.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
export interface AdvancedClusterAdvancedConfiguration {
|
|
4
|
+
/**
|
|
5
|
+
* The minimum pre- and post-image retention time in seconds. This option corresponds to the `changeStreamOptions.preAndPostImages.expireAfterSeconds` cluster parameter. Defaults to `-1`(off). This setting controls the retention policy of change stream pre- and post-images. Pre- and post-images are the versions of a document before and after document modification, respectively.`expireAfterSeconds` controls how long MongoDB retains pre- and post-images. When set to -1 (off), MongoDB uses the default retention policy: pre- and post-images are retained until the corresponding change stream events are removed from the oplog. To set the minimum pre- and post-image retention time, specify an integer value greater than zero. Setting this too low could increase the risk of interrupting Realm sync or triggers processing.
|
|
6
|
+
*/
|
|
7
|
+
changeStreamOptionsPreAndPostImagesExpireAfterSeconds?: pulumi.Input<number>;
|
|
4
8
|
/**
|
|
5
9
|
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/). **(DEPRECATED)** MongoDB 5.0 and later clusters default to `local`. To use a custom read concern level, please refer to your driver documentation.
|
|
6
10
|
*
|
|
@@ -857,6 +861,10 @@ export interface CloudProviderAccessSetupAzureConfig {
|
|
|
857
861
|
tenantId: pulumi.Input<string>;
|
|
858
862
|
}
|
|
859
863
|
export interface ClusterAdvancedConfiguration {
|
|
864
|
+
/**
|
|
865
|
+
* The minimum pre- and post-image retention time in seconds. This option corresponds to the `changeStreamOptions.preAndPostImages.expireAfterSeconds` cluster parameter. Defaults to `-1`(off). This setting controls the retention policy of change stream pre- and post-images. Pre- and post-images are the versions of a document before and after document modification, respectively.`expireAfterSeconds` controls how long MongoDB retains pre- and post-images. When set to -1 (off), MongoDB uses the default retention policy: pre- and post-images are retained until the corresponding change stream events are removed from the oplog. To set the minimum pre- and post-image retention time, specify an integer value greater than zero. Setting this too low could increase the risk of interrupting Realm sync or triggers processing.
|
|
866
|
+
*/
|
|
867
|
+
changeStreamOptionsPreAndPostImagesExpireAfterSeconds?: pulumi.Input<number>;
|
|
860
868
|
/**
|
|
861
869
|
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/).
|
|
862
870
|
*
|
|
@@ -1272,76 +1280,98 @@ export interface DatabaseUserScope {
|
|
|
1272
1280
|
type?: pulumi.Input<string>;
|
|
1273
1281
|
}
|
|
1274
1282
|
export interface EncryptionAtRestAwsKmsConfig {
|
|
1283
|
+
/**
|
|
1284
|
+
* Unique alphanumeric string that identifies an Identity and Access Management (IAM) access key with permissions required to access your Amazon Web Services (AWS) Customer Master Key (CMK).
|
|
1285
|
+
*/
|
|
1275
1286
|
accessKeyId?: pulumi.Input<string>;
|
|
1276
1287
|
/**
|
|
1277
|
-
*
|
|
1288
|
+
* Unique alphanumeric string that identifies the Amazon Web Services (AWS) Customer Master Key (CMK) you used to encrypt and decrypt the MongoDB master keys.
|
|
1278
1289
|
*/
|
|
1279
1290
|
customerMasterKeyId?: pulumi.Input<string>;
|
|
1280
1291
|
/**
|
|
1281
|
-
*
|
|
1292
|
+
* Flag that indicates whether someone enabled encryption at rest for the specified project through Amazon Web Services (AWS) Key Management Service (KMS). To disable encryption at rest using customer key management and remove the configuration details, pass only this parameter with a value of `false`.
|
|
1282
1293
|
*/
|
|
1283
1294
|
enabled?: pulumi.Input<boolean>;
|
|
1284
1295
|
/**
|
|
1285
|
-
*
|
|
1296
|
+
* Physical location where MongoDB Atlas deploys your AWS-hosted MongoDB cluster nodes. The region you choose can affect network latency for clients accessing your databases. When MongoDB Cloud deploys a dedicated cluster, it checks if a VPC or VPC connection exists for that provider and region. If not, MongoDB Atlas creates them as part of the deployment. MongoDB Atlas assigns the VPC a CIDR block. To limit a new VPC peering connection to one CIDR block and region, create the connection first. Deploy the cluster after the connection starts.
|
|
1286
1297
|
*/
|
|
1287
1298
|
region?: pulumi.Input<string>;
|
|
1288
1299
|
/**
|
|
1289
|
-
*
|
|
1300
|
+
* Unique 24-hexadecimal digit string that identifies an Amazon Web Services (AWS) Identity and Access Management (IAM) role. This IAM role has the permissions required to manage your AWS customer master key.
|
|
1290
1301
|
*/
|
|
1291
1302
|
roleId?: pulumi.Input<string>;
|
|
1303
|
+
/**
|
|
1304
|
+
* Human-readable label of the Identity and Access Management (IAM) secret access key with permissions required to access your Amazon Web Services (AWS) customer master key.
|
|
1305
|
+
*/
|
|
1292
1306
|
secretAccessKey?: pulumi.Input<string>;
|
|
1307
|
+
/**
|
|
1308
|
+
* Flag that indicates whether the Amazon Web Services (AWS) Key Management Service (KMS) encryption key can encrypt and decrypt data.
|
|
1309
|
+
*/
|
|
1310
|
+
valid?: pulumi.Input<boolean>;
|
|
1293
1311
|
}
|
|
1294
1312
|
export interface EncryptionAtRestAzureKeyVaultConfig {
|
|
1295
1313
|
/**
|
|
1296
|
-
*
|
|
1314
|
+
* Azure environment in which your account credentials reside.
|
|
1297
1315
|
*/
|
|
1298
1316
|
azureEnvironment?: pulumi.Input<string>;
|
|
1299
1317
|
/**
|
|
1300
|
-
*
|
|
1318
|
+
* Unique 36-hexadecimal character string that identifies an Azure application associated with your Azure Active Directory tenant.
|
|
1301
1319
|
*/
|
|
1302
1320
|
clientId?: pulumi.Input<string>;
|
|
1303
1321
|
/**
|
|
1304
|
-
*
|
|
1322
|
+
* Flag that indicates whether someone enabled encryption at rest for the specified project. To disable encryption at rest using customer key management and remove the configuration details, pass only this parameter with a value of `false`.
|
|
1305
1323
|
*/
|
|
1306
1324
|
enabled?: pulumi.Input<boolean>;
|
|
1307
1325
|
/**
|
|
1308
|
-
*
|
|
1326
|
+
* Web address with a unique key that identifies for your Azure Key Vault.
|
|
1309
1327
|
*/
|
|
1310
1328
|
keyIdentifier?: pulumi.Input<string>;
|
|
1311
1329
|
/**
|
|
1312
|
-
*
|
|
1330
|
+
* Unique string that identifies the Azure Key Vault that contains your key.
|
|
1313
1331
|
*/
|
|
1314
1332
|
keyVaultName?: pulumi.Input<string>;
|
|
1315
1333
|
/**
|
|
1316
|
-
*
|
|
1334
|
+
* Enable connection to your Azure Key Vault over private networking.
|
|
1335
|
+
*/
|
|
1336
|
+
requirePrivateNetworking?: pulumi.Input<boolean>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Name of the Azure resource group that contains your Azure Key Vault.
|
|
1317
1339
|
*/
|
|
1318
1340
|
resourceGroupName?: pulumi.Input<string>;
|
|
1319
1341
|
/**
|
|
1320
|
-
*
|
|
1342
|
+
* Private data that you need secured and that belongs to the specified Azure Key Vault (AKV) tenant (**azureKeyVault.tenantID**). This data can include any type of sensitive data such as passwords, database connection strings, API keys, and the like. AKV stores this information as encrypted binary data.
|
|
1321
1343
|
*/
|
|
1322
1344
|
secret?: pulumi.Input<string>;
|
|
1323
1345
|
/**
|
|
1324
|
-
*
|
|
1346
|
+
* Unique 36-hexadecimal character string that identifies your Azure subscription.
|
|
1325
1347
|
*/
|
|
1326
1348
|
subscriptionId?: pulumi.Input<string>;
|
|
1327
1349
|
/**
|
|
1328
|
-
*
|
|
1350
|
+
* Unique 36-hexadecimal character string that identifies the Azure Active Directory tenant within your Azure subscription.
|
|
1329
1351
|
*/
|
|
1330
1352
|
tenantId?: pulumi.Input<string>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Flag that indicates whether the Azure encryption key can encrypt and decrypt data.
|
|
1355
|
+
*/
|
|
1356
|
+
valid?: pulumi.Input<boolean>;
|
|
1331
1357
|
}
|
|
1332
1358
|
export interface EncryptionAtRestGoogleCloudKmsConfig {
|
|
1333
1359
|
/**
|
|
1334
|
-
*
|
|
1360
|
+
* Flag that indicates whether someone enabled encryption at rest for the specified project. To disable encryption at rest using customer key management and remove the configuration details, pass only this parameter with a value of `false`.
|
|
1335
1361
|
*/
|
|
1336
1362
|
enabled?: pulumi.Input<boolean>;
|
|
1337
1363
|
/**
|
|
1338
|
-
*
|
|
1364
|
+
* Resource path that displays the key version resource ID for your Google Cloud KMS.
|
|
1339
1365
|
*/
|
|
1340
1366
|
keyVersionResourceId?: pulumi.Input<string>;
|
|
1341
1367
|
/**
|
|
1342
|
-
*
|
|
1368
|
+
* JavaScript Object Notation (JSON) object that contains the Google Cloud Key Management Service (KMS). Format the JSON as a string and not as an object.
|
|
1343
1369
|
*/
|
|
1344
1370
|
serviceAccountKey?: pulumi.Input<string>;
|
|
1371
|
+
/**
|
|
1372
|
+
* Flag that indicates whether the Google Cloud Key Management Service (KMS) encryption key can encrypt and decrypt data.
|
|
1373
|
+
*/
|
|
1374
|
+
valid?: pulumi.Input<boolean>;
|
|
1345
1375
|
}
|
|
1346
1376
|
export interface EventTriggerEventProcessors {
|
|
1347
1377
|
awsEventbridge?: pulumi.Input<inputs.EventTriggerEventProcessorsAwsEventbridge>;
|
|
@@ -2045,6 +2075,26 @@ export interface StreamInstanceStreamConfig {
|
|
|
2045
2075
|
*/
|
|
2046
2076
|
tier?: pulumi.Input<string>;
|
|
2047
2077
|
}
|
|
2078
|
+
export interface StreamProcessorOptions {
|
|
2079
|
+
/**
|
|
2080
|
+
* Dead letter queue for the stream processor. Refer to the [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/reference/glossary/#std-term-dead-letter-queue) for more information.
|
|
2081
|
+
*/
|
|
2082
|
+
dlq: pulumi.Input<inputs.StreamProcessorOptionsDlq>;
|
|
2083
|
+
}
|
|
2084
|
+
export interface StreamProcessorOptionsDlq {
|
|
2085
|
+
/**
|
|
2086
|
+
* Name of the collection to use for the DLQ.
|
|
2087
|
+
*/
|
|
2088
|
+
coll: pulumi.Input<string>;
|
|
2089
|
+
/**
|
|
2090
|
+
* Name of the connection to write DLQ messages to. Must be an Atlas connection.
|
|
2091
|
+
*/
|
|
2092
|
+
connectionName: pulumi.Input<string>;
|
|
2093
|
+
/**
|
|
2094
|
+
* Name of the database to use for the DLQ.
|
|
2095
|
+
*/
|
|
2096
|
+
db: pulumi.Input<string>;
|
|
2097
|
+
}
|
|
2048
2098
|
export interface X509AuthenticationDatabaseUserCertificate {
|
|
2049
2099
|
createdAt?: pulumi.Input<string>;
|
|
2050
2100
|
groupId?: pulumi.Input<string>;
|