@pulumi/mongodbatlas 3.37.0-alpha.1764050941 → 3.37.0-alpha.1764097779
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/cloudProviderAccessAuthorization.d.ts +2 -0
- package/cloudProviderAccessAuthorization.js +2 -0
- package/cloudProviderAccessAuthorization.js.map +1 -1
- package/cloudProviderAccessSetup.d.ts +2 -0
- package/cloudProviderAccessSetup.js +2 -0
- package/cloudProviderAccessSetup.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +44 -9
- package/getCloudProviderAccessSetup.js +36 -2
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getEncryptionAtRest.d.ts +4 -0
- package/getEncryptionAtRest.js +4 -0
- package/getEncryptionAtRest.js.map +1 -1
- package/getStreamPrivatelinkEndpoint.d.ts +226 -16
- package/getStreamPrivatelinkEndpoint.js +226 -16
- package/getStreamPrivatelinkEndpoint.js.map +1 -1
- package/getStreamPrivatelinkEndpoints.d.ts +226 -16
- package/getStreamPrivatelinkEndpoints.js +226 -16
- package/getStreamPrivatelinkEndpoints.js.map +1 -1
- package/networkPeering.d.ts +55 -1
- package/networkPeering.js +55 -1
- package/networkPeering.js.map +1 -1
- package/package.json +2 -2
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +2 -2
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +2 -2
- package/privatelinkEndpointServiceServerless.d.ts +7 -7
- package/privatelinkEndpointServiceServerless.js +7 -7
- package/project.d.ts +3 -3
- package/streamPrivatelinkEndpoint.d.ts +113 -8
- package/streamPrivatelinkEndpoint.js +113 -8
- package/streamPrivatelinkEndpoint.js.map +1 -1
- package/types/input.d.ts +11 -0
- package/types/output.d.ts +25 -0
|
@@ -78,6 +78,111 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
78
78
|
* export const interfaceEndpointIds = pluralDatasource.then(pluralDatasource => pluralDatasource.results.map(__item => __item.interfaceEndpointId));
|
|
79
79
|
* ```
|
|
80
80
|
*
|
|
81
|
+
* ### AWS MSK Privatelink
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as aws from "@pulumi/aws";
|
|
85
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
86
|
+
*
|
|
87
|
+
* const vpc = new aws.ec2.Vpc("vpc", {cidrBlock: "192.168.0.0/22"});
|
|
88
|
+
* const azs = aws.getAvailabilityZones({
|
|
89
|
+
* state: "available",
|
|
90
|
+
* });
|
|
91
|
+
* const subnetAz1 = new aws.ec2.Subnet("subnet_az1", {
|
|
92
|
+
* availabilityZone: azs.then(azs => azs.names?.[0]),
|
|
93
|
+
* cidrBlock: "192.168.0.0/24",
|
|
94
|
+
* vpcId: vpc.id,
|
|
95
|
+
* });
|
|
96
|
+
* const subnetAz2 = new aws.ec2.Subnet("subnet_az2", {
|
|
97
|
+
* availabilityZone: azs.then(azs => azs.names?.[1]),
|
|
98
|
+
* cidrBlock: "192.168.1.0/24",
|
|
99
|
+
* vpcId: vpc.id,
|
|
100
|
+
* });
|
|
101
|
+
* const sg = new aws.ec2.SecurityGroup("sg", {vpcId: vpc.id});
|
|
102
|
+
* const exampleConfiguration = new aws.msk.Configuration("example", {
|
|
103
|
+
* name: `${mskClusterName}-msk-configuration`,
|
|
104
|
+
* serverProperties: `auto.create.topics.enable=false
|
|
105
|
+
* default.replication.factor=3
|
|
106
|
+
* min.insync.replicas=2
|
|
107
|
+
* num.io.threads=8
|
|
108
|
+
* num.network.threads=5
|
|
109
|
+
* num.partitions=1
|
|
110
|
+
* num.replica.fetchers=2
|
|
111
|
+
* replica.lag.time.max.ms=30000
|
|
112
|
+
* socket.receive.buffer.bytes=102400
|
|
113
|
+
* socket.request.max.bytes=104857600
|
|
114
|
+
* socket.send.buffer.bytes=102400
|
|
115
|
+
* unclean.leader.election.enable=true
|
|
116
|
+
* allow.everyone.if.no.acl.found=false
|
|
117
|
+
* `,
|
|
118
|
+
* });
|
|
119
|
+
* const example = new aws.msk.Cluster("example", {
|
|
120
|
+
* clusterName: mskClusterName,
|
|
121
|
+
* kafkaVersion: "3.6.0",
|
|
122
|
+
* numberOfBrokerNodes: 2,
|
|
123
|
+
* brokerNodeGroupInfo: {
|
|
124
|
+
* instanceType: "kafka.m5.large",
|
|
125
|
+
* clientSubnets: [
|
|
126
|
+
* subnetAz1.id,
|
|
127
|
+
* subnetAz2.id,
|
|
128
|
+
* ],
|
|
129
|
+
* securityGroups: [sg.id],
|
|
130
|
+
* connectivityInfo: {
|
|
131
|
+
* vpcConnectivity: {
|
|
132
|
+
* clientAuthentication: {
|
|
133
|
+
* sasl: {
|
|
134
|
+
* scram: true,
|
|
135
|
+
* },
|
|
136
|
+
* },
|
|
137
|
+
* },
|
|
138
|
+
* },
|
|
139
|
+
* },
|
|
140
|
+
* clientAuthentication: {
|
|
141
|
+
* sasl: {
|
|
142
|
+
* scram: true,
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* configurationInfo: {
|
|
146
|
+
* arn: exampleConfiguration.arn,
|
|
147
|
+
* revision: exampleConfiguration.latestRevision,
|
|
148
|
+
* },
|
|
149
|
+
* });
|
|
150
|
+
* const exampleClusterPolicy = new aws.msk.ClusterPolicy("example", {
|
|
151
|
+
* clusterArn: example.arn,
|
|
152
|
+
* policy: pulumi.jsonStringify({
|
|
153
|
+
* Version: "2012-10-17",
|
|
154
|
+
* Statement: [{
|
|
155
|
+
* Effect: "Allow",
|
|
156
|
+
* Principal: {
|
|
157
|
+
* AWS: `arn:aws:iam::${awsAccountId}:root`,
|
|
158
|
+
* },
|
|
159
|
+
* Action: [
|
|
160
|
+
* "kafka:CreateVpcConnection",
|
|
161
|
+
* "kafka:GetBootstrapBrokers",
|
|
162
|
+
* "kafka:DescribeCluster",
|
|
163
|
+
* "kafka:DescribeClusterV2",
|
|
164
|
+
* ],
|
|
165
|
+
* Resource: example.arn,
|
|
166
|
+
* }],
|
|
167
|
+
* }),
|
|
168
|
+
* });
|
|
169
|
+
* const exampleMskSingleScramSecretAssociation = new aws.index.MskSingleScramSecretAssociation("example", {
|
|
170
|
+
* clusterArn: example.arn,
|
|
171
|
+
* secretArn: awsSecretArn,
|
|
172
|
+
* });
|
|
173
|
+
* const test = new mongodbatlas.StreamPrivatelinkEndpoint("test", {
|
|
174
|
+
* projectId: projectId,
|
|
175
|
+
* providerName: "AWS",
|
|
176
|
+
* vendor: "MSK",
|
|
177
|
+
* arn: example.arn,
|
|
178
|
+
* });
|
|
179
|
+
* const singularDatasource = test.id.apply(id => mongodbatlas.getStreamPrivatelinkEndpointOutput({
|
|
180
|
+
* projectId: projectId,
|
|
181
|
+
* id: id,
|
|
182
|
+
* }));
|
|
183
|
+
* export const privatelinkEndpointId = singularDatasource.apply(singularDatasource => singularDatasource.id);
|
|
184
|
+
* ```
|
|
185
|
+
*
|
|
81
186
|
* ### AWS S3 Privatelink
|
|
82
187
|
* ```typescript
|
|
83
188
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -85,22 +190,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
85
190
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
86
191
|
*
|
|
87
192
|
* // S3 bucket for stream data
|
|
88
|
-
* const streamBucket = new aws.
|
|
193
|
+
* const streamBucket = new aws.s3.BucketV2("stream_bucket", {
|
|
89
194
|
* bucket: s3BucketName,
|
|
90
195
|
* forceDestroy: true,
|
|
91
196
|
* });
|
|
92
|
-
* const streamBucketVersioning = new aws.
|
|
197
|
+
* const streamBucketVersioning = new aws.s3.BucketVersioningV2("stream_bucket_versioning", {
|
|
93
198
|
* bucket: streamBucket.id,
|
|
94
|
-
* versioningConfiguration:
|
|
199
|
+
* versioningConfiguration: {
|
|
95
200
|
* status: "Enabled",
|
|
96
|
-
* }
|
|
201
|
+
* },
|
|
97
202
|
* });
|
|
98
|
-
* const streamBucketEncryption = new aws.
|
|
203
|
+
* const streamBucketEncryption = new aws.s3.BucketServerSideEncryptionConfigurationV2("stream_bucket_encryption", {
|
|
99
204
|
* bucket: streamBucket.id,
|
|
100
|
-
*
|
|
101
|
-
* applyServerSideEncryptionByDefault:
|
|
205
|
+
* rules: [{
|
|
206
|
+
* applyServerSideEncryptionByDefault: {
|
|
102
207
|
* sseAlgorithm: "AES256",
|
|
103
|
-
* }
|
|
208
|
+
* },
|
|
104
209
|
* }],
|
|
105
210
|
* });
|
|
106
211
|
* // PrivateLink for S3
|
|
@@ -84,6 +84,111 @@ const utilities = require("./utilities");
|
|
|
84
84
|
* export const interfaceEndpointIds = pluralDatasource.then(pluralDatasource => pluralDatasource.results.map(__item => __item.interfaceEndpointId));
|
|
85
85
|
* ```
|
|
86
86
|
*
|
|
87
|
+
* ### AWS MSK Privatelink
|
|
88
|
+
* ```typescript
|
|
89
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
90
|
+
* import * as aws from "@pulumi/aws";
|
|
91
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
92
|
+
*
|
|
93
|
+
* const vpc = new aws.ec2.Vpc("vpc", {cidrBlock: "192.168.0.0/22"});
|
|
94
|
+
* const azs = aws.getAvailabilityZones({
|
|
95
|
+
* state: "available",
|
|
96
|
+
* });
|
|
97
|
+
* const subnetAz1 = new aws.ec2.Subnet("subnet_az1", {
|
|
98
|
+
* availabilityZone: azs.then(azs => azs.names?.[0]),
|
|
99
|
+
* cidrBlock: "192.168.0.0/24",
|
|
100
|
+
* vpcId: vpc.id,
|
|
101
|
+
* });
|
|
102
|
+
* const subnetAz2 = new aws.ec2.Subnet("subnet_az2", {
|
|
103
|
+
* availabilityZone: azs.then(azs => azs.names?.[1]),
|
|
104
|
+
* cidrBlock: "192.168.1.0/24",
|
|
105
|
+
* vpcId: vpc.id,
|
|
106
|
+
* });
|
|
107
|
+
* const sg = new aws.ec2.SecurityGroup("sg", {vpcId: vpc.id});
|
|
108
|
+
* const exampleConfiguration = new aws.msk.Configuration("example", {
|
|
109
|
+
* name: `${mskClusterName}-msk-configuration`,
|
|
110
|
+
* serverProperties: `auto.create.topics.enable=false
|
|
111
|
+
* default.replication.factor=3
|
|
112
|
+
* min.insync.replicas=2
|
|
113
|
+
* num.io.threads=8
|
|
114
|
+
* num.network.threads=5
|
|
115
|
+
* num.partitions=1
|
|
116
|
+
* num.replica.fetchers=2
|
|
117
|
+
* replica.lag.time.max.ms=30000
|
|
118
|
+
* socket.receive.buffer.bytes=102400
|
|
119
|
+
* socket.request.max.bytes=104857600
|
|
120
|
+
* socket.send.buffer.bytes=102400
|
|
121
|
+
* unclean.leader.election.enable=true
|
|
122
|
+
* allow.everyone.if.no.acl.found=false
|
|
123
|
+
* `,
|
|
124
|
+
* });
|
|
125
|
+
* const example = new aws.msk.Cluster("example", {
|
|
126
|
+
* clusterName: mskClusterName,
|
|
127
|
+
* kafkaVersion: "3.6.0",
|
|
128
|
+
* numberOfBrokerNodes: 2,
|
|
129
|
+
* brokerNodeGroupInfo: {
|
|
130
|
+
* instanceType: "kafka.m5.large",
|
|
131
|
+
* clientSubnets: [
|
|
132
|
+
* subnetAz1.id,
|
|
133
|
+
* subnetAz2.id,
|
|
134
|
+
* ],
|
|
135
|
+
* securityGroups: [sg.id],
|
|
136
|
+
* connectivityInfo: {
|
|
137
|
+
* vpcConnectivity: {
|
|
138
|
+
* clientAuthentication: {
|
|
139
|
+
* sasl: {
|
|
140
|
+
* scram: true,
|
|
141
|
+
* },
|
|
142
|
+
* },
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* },
|
|
146
|
+
* clientAuthentication: {
|
|
147
|
+
* sasl: {
|
|
148
|
+
* scram: true,
|
|
149
|
+
* },
|
|
150
|
+
* },
|
|
151
|
+
* configurationInfo: {
|
|
152
|
+
* arn: exampleConfiguration.arn,
|
|
153
|
+
* revision: exampleConfiguration.latestRevision,
|
|
154
|
+
* },
|
|
155
|
+
* });
|
|
156
|
+
* const exampleClusterPolicy = new aws.msk.ClusterPolicy("example", {
|
|
157
|
+
* clusterArn: example.arn,
|
|
158
|
+
* policy: pulumi.jsonStringify({
|
|
159
|
+
* Version: "2012-10-17",
|
|
160
|
+
* Statement: [{
|
|
161
|
+
* Effect: "Allow",
|
|
162
|
+
* Principal: {
|
|
163
|
+
* AWS: `arn:aws:iam::${awsAccountId}:root`,
|
|
164
|
+
* },
|
|
165
|
+
* Action: [
|
|
166
|
+
* "kafka:CreateVpcConnection",
|
|
167
|
+
* "kafka:GetBootstrapBrokers",
|
|
168
|
+
* "kafka:DescribeCluster",
|
|
169
|
+
* "kafka:DescribeClusterV2",
|
|
170
|
+
* ],
|
|
171
|
+
* Resource: example.arn,
|
|
172
|
+
* }],
|
|
173
|
+
* }),
|
|
174
|
+
* });
|
|
175
|
+
* const exampleMskSingleScramSecretAssociation = new aws.index.MskSingleScramSecretAssociation("example", {
|
|
176
|
+
* clusterArn: example.arn,
|
|
177
|
+
* secretArn: awsSecretArn,
|
|
178
|
+
* });
|
|
179
|
+
* const test = new mongodbatlas.StreamPrivatelinkEndpoint("test", {
|
|
180
|
+
* projectId: projectId,
|
|
181
|
+
* providerName: "AWS",
|
|
182
|
+
* vendor: "MSK",
|
|
183
|
+
* arn: example.arn,
|
|
184
|
+
* });
|
|
185
|
+
* const singularDatasource = test.id.apply(id => mongodbatlas.getStreamPrivatelinkEndpointOutput({
|
|
186
|
+
* projectId: projectId,
|
|
187
|
+
* id: id,
|
|
188
|
+
* }));
|
|
189
|
+
* export const privatelinkEndpointId = singularDatasource.apply(singularDatasource => singularDatasource.id);
|
|
190
|
+
* ```
|
|
191
|
+
*
|
|
87
192
|
* ### AWS S3 Privatelink
|
|
88
193
|
* ```typescript
|
|
89
194
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -91,22 +196,22 @@ const utilities = require("./utilities");
|
|
|
91
196
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
92
197
|
*
|
|
93
198
|
* // S3 bucket for stream data
|
|
94
|
-
* const streamBucket = new aws.
|
|
199
|
+
* const streamBucket = new aws.s3.BucketV2("stream_bucket", {
|
|
95
200
|
* bucket: s3BucketName,
|
|
96
201
|
* forceDestroy: true,
|
|
97
202
|
* });
|
|
98
|
-
* const streamBucketVersioning = new aws.
|
|
203
|
+
* const streamBucketVersioning = new aws.s3.BucketVersioningV2("stream_bucket_versioning", {
|
|
99
204
|
* bucket: streamBucket.id,
|
|
100
|
-
* versioningConfiguration:
|
|
205
|
+
* versioningConfiguration: {
|
|
101
206
|
* status: "Enabled",
|
|
102
|
-
* }
|
|
207
|
+
* },
|
|
103
208
|
* });
|
|
104
|
-
* const streamBucketEncryption = new aws.
|
|
209
|
+
* const streamBucketEncryption = new aws.s3.BucketServerSideEncryptionConfigurationV2("stream_bucket_encryption", {
|
|
105
210
|
* bucket: streamBucket.id,
|
|
106
|
-
*
|
|
107
|
-
* applyServerSideEncryptionByDefault:
|
|
211
|
+
* rules: [{
|
|
212
|
+
* applyServerSideEncryptionByDefault: {
|
|
108
213
|
* sseAlgorithm: "AES256",
|
|
109
|
-
* }
|
|
214
|
+
* },
|
|
110
215
|
* }],
|
|
111
216
|
* });
|
|
112
217
|
* // PrivateLink for S3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA9IL,8DA+IC;AAjIG,gBAAgB;AACO,sCAAY,GAAG,wEAAwE,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -878,6 +878,9 @@ export interface CloudProviderAccessAuthorizationFeatureUsage {
|
|
|
878
878
|
}>;
|
|
879
879
|
featureType?: pulumi.Input<string>;
|
|
880
880
|
}
|
|
881
|
+
export interface CloudProviderAccessAuthorizationGcp {
|
|
882
|
+
serviceAccountForAtlas?: pulumi.Input<string>;
|
|
883
|
+
}
|
|
881
884
|
export interface CloudProviderAccessSetupAwsConfig {
|
|
882
885
|
atlasAssumedRoleExternalId?: pulumi.Input<string>;
|
|
883
886
|
atlasAwsAccountArn?: pulumi.Input<string>;
|
|
@@ -887,6 +890,10 @@ export interface CloudProviderAccessSetupAzureConfig {
|
|
|
887
890
|
servicePrincipalId: pulumi.Input<string>;
|
|
888
891
|
tenantId: pulumi.Input<string>;
|
|
889
892
|
}
|
|
893
|
+
export interface CloudProviderAccessSetupGcpConfig {
|
|
894
|
+
serviceAccountForAtlas?: pulumi.Input<string>;
|
|
895
|
+
status?: pulumi.Input<string>;
|
|
896
|
+
}
|
|
890
897
|
export interface ClusterAdvancedConfiguration {
|
|
891
898
|
/**
|
|
892
899
|
* 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. This parameter is only supported for MongoDB version 6.0 and above.
|
|
@@ -1413,6 +1420,10 @@ export interface EncryptionAtRestGoogleCloudKmsConfig {
|
|
|
1413
1420
|
* Resource path that displays the key version resource ID for your Google Cloud KMS.
|
|
1414
1421
|
*/
|
|
1415
1422
|
keyVersionResourceId?: pulumi.Input<string>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Unique 24-hexadecimal digit string that identifies the Google Cloud Provider Access Role that MongoDB Cloud uses to access the Google Cloud KMS.
|
|
1425
|
+
*/
|
|
1426
|
+
roleId?: pulumi.Input<string>;
|
|
1416
1427
|
/**
|
|
1417
1428
|
* 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.
|
|
1418
1429
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -877,6 +877,9 @@ export interface CloudProviderAccessAuthorizationFeatureUsage {
|
|
|
877
877
|
};
|
|
878
878
|
featureType: string;
|
|
879
879
|
}
|
|
880
|
+
export interface CloudProviderAccessAuthorizationGcp {
|
|
881
|
+
serviceAccountForAtlas: string;
|
|
882
|
+
}
|
|
880
883
|
export interface CloudProviderAccessSetupAwsConfig {
|
|
881
884
|
atlasAssumedRoleExternalId: string;
|
|
882
885
|
atlasAwsAccountArn: string;
|
|
@@ -886,6 +889,10 @@ export interface CloudProviderAccessSetupAzureConfig {
|
|
|
886
889
|
servicePrincipalId: string;
|
|
887
890
|
tenantId: string;
|
|
888
891
|
}
|
|
892
|
+
export interface CloudProviderAccessSetupGcpConfig {
|
|
893
|
+
serviceAccountForAtlas: string;
|
|
894
|
+
status: string;
|
|
895
|
+
}
|
|
889
896
|
export interface ClusterAdvancedConfiguration {
|
|
890
897
|
/**
|
|
891
898
|
* 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. This parameter is only supported for MongoDB version 6.0 and above.
|
|
@@ -1412,6 +1419,10 @@ export interface EncryptionAtRestGoogleCloudKmsConfig {
|
|
|
1412
1419
|
* Resource path that displays the key version resource ID for your Google Cloud KMS.
|
|
1413
1420
|
*/
|
|
1414
1421
|
keyVersionResourceId?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* Unique 24-hexadecimal digit string that identifies the Google Cloud Provider Access Role that MongoDB Cloud uses to access the Google Cloud KMS.
|
|
1424
|
+
*/
|
|
1425
|
+
roleId?: string;
|
|
1415
1426
|
/**
|
|
1416
1427
|
* 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.
|
|
1417
1428
|
*/
|
|
@@ -3531,6 +3542,16 @@ export interface GetCloudProviderAccessSetupAzureConfig {
|
|
|
3531
3542
|
*/
|
|
3532
3543
|
tenantId: string;
|
|
3533
3544
|
}
|
|
3545
|
+
export interface GetCloudProviderAccessSetupGcpConfig {
|
|
3546
|
+
/**
|
|
3547
|
+
* The GCP service account email that Atlas uses.
|
|
3548
|
+
*/
|
|
3549
|
+
serviceAccountForAtlas: string;
|
|
3550
|
+
/**
|
|
3551
|
+
* The status of the GCP cloud provider access setup. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getgroupcloudprovideraccess#operation-getgroupcloudprovideraccess-200-body-application-vnd-atlas-2023-01-01-json-gcp-object-status).
|
|
3552
|
+
*/
|
|
3553
|
+
status: string;
|
|
3554
|
+
}
|
|
3534
3555
|
export interface GetClusterAdvancedConfiguration {
|
|
3535
3556
|
/**
|
|
3536
3557
|
* (Optional) The minimum pre- and post-image retention time in seconds. This parameter is only supported for MongoDB version 6.0 and above. Defaults to `-1`(off).
|
|
@@ -4704,6 +4725,10 @@ export interface GetEncryptionAtRestGoogleCloudKmsConfig {
|
|
|
4704
4725
|
* Resource path that displays the key version resource ID for your Google Cloud KMS.
|
|
4705
4726
|
*/
|
|
4706
4727
|
keyVersionResourceId: string;
|
|
4728
|
+
/**
|
|
4729
|
+
* Unique 24-hexadecimal digit string that identifies the Google Cloud Provider Access Role that MongoDB Cloud uses to access the Google Cloud KMS.
|
|
4730
|
+
*/
|
|
4731
|
+
roleId: string;
|
|
4707
4732
|
/**
|
|
4708
4733
|
* 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.
|
|
4709
4734
|
*/
|