Skip to content

Commit 63c8634

Browse files
committed
deprecations
1 parent 67e9673 commit 63c8634

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/l1-resources/cloud-backup-restore-jobs/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface CfnCloudBackUpRestoreJobsProps {
1616
readonly projectId: string;
1717

1818
/**
19-
* Type of instance specified on the Instance Name serverless or cluster
19+
* Type of instance specified on the Instance Name serverless or cluster. **WARNING:** `serverless` instance type is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/).
2020
*
2121
* @schema CfnCloudBackUpRestoreJobsProps#InstanceType
2222
*/
@@ -144,7 +144,7 @@ export function toJson_CfnCloudBackUpRestoreJobsProps(
144144
/* eslint-enable max-len, quote-props */
145145

146146
/**
147-
* Type of instance specified on the Instance Name serverless or cluster
147+
* Type of instance specified on the Instance Name serverless or cluster. **WARNING:** `serverless` instance type is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/).
148148
*
149149
* @schema CfnCloudBackUpRestoreJobsPropsInstanceType
150150
*/

src/l1-resources/serverless-instance/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as cdk from "aws-cdk-lib";
33
import * as constructs from "constructs";
44

55
/**
6-
* Returns, adds, edits, and removes serverless instances.
6+
* **WARNING:** This resource is deprecated and will be removed in January 2026. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes serverless instances.
77
*
88
* @schema CfnServerlessInstanceProps
99
*/

src/l1-resources/serverless-private-endpoint/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as cdk from "aws-cdk-lib";
33
import * as constructs from "constructs";
44

55
/**
6-
* Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.
6+
* **WARNING:** This resource is deprecated and will be removed in May 2025. If you try to create a new ServerlessInstance, you will create a Flex cluster. As a result, you can't create ServerlessPrivateEndpoints for these new instances. For more details, see [Migrate your programmatic tools from M2, M5, or Serverless Instances to Flex Clusters](https://www.mongodb.com/docs/atlas/flex-migration/). Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.
77
*
88
* @schema CfnServerlessPrivateEndpointProps
99
*/

0 commit comments

Comments
 (0)