diff --git a/API.md b/API.md index 68e9f24a..dad065ab 100644 --- a/API.md +++ b/API.md @@ -35569,6 +35569,8 @@ public readonly instanceType: CfnCloudBackUpRestoreJobsPropsInstanceType; 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/). + --- ##### `projectId`Required @@ -38635,10 +38637,12 @@ const cfnOrganizationProps: CfnOrganizationProps = { ... } | apiAccessListRequired | boolean | Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization. | | apiKey | ApiKey | *No description.* | | federatedSettingsId | string | Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. | +| genAiFeaturesEnabled | boolean | Flag that indicates whether this organization has access to generative AI features. | | isDeleted | boolean | Flag that indicates whether this organization has been deleted. | | multiFactorAuthRequired | boolean | Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. | | profile | string | Profile used to provide credentials information, (a secret with the cfn/atlas/profile/{Profile}, is required), if not provided default is used. | | restrictEmployeeAccess | boolean | Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. | +| skipDefaultAlertsSettings | boolean | Disables automatic alert creation. | --- @@ -38716,6 +38720,20 @@ If specified, the proposed Organization Owner of the new organization must have --- +##### `genAiFeaturesEnabled`Optional + +```typescript +public readonly genAiFeaturesEnabled: boolean; +``` + +- *Type:* boolean + +Flag that indicates whether this organization has access to generative AI features. + +This setting only applies to Atlas Commercial and defaults to `true`. With this setting on, Project Owners may be able to enable or disable individual AI features at the project level. To learn more, see https://www.mongodb.com/docs/generative-ai-faq/ + +--- + ##### `isDeleted`Optional ```typescript @@ -38768,6 +38786,21 @@ Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass a --- +##### `skipDefaultAlertsSettings`Optional + +```typescript +public readonly skipDefaultAlertsSettings: boolean; +``` + +- *Type:* boolean +- *Default:* true` for new Atlas Organizations created with the provider to prevent infrastructure drift caused by creation of new alerts. + +Disables automatic alert creation. + +When set to `true`, Atlas doesn't automatically create organization-level alerts. Defaults to `true` for new Atlas Organizations created with the provider to prevent infrastructure drift caused by creation of new alerts. + +--- + ### CfnOrgInvitationProps Returns, adds, and edits organizational units in MongoDB Cloud. @@ -40182,7 +40215,9 @@ Default type is **search**. ### CfnServerlessInstanceProps -Returns, adds, edits, and removes serverless instances. +**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. #### Initializer @@ -40337,9 +40372,9 @@ If set to true, MongoDB Cloud won't delete the serverless instance. If set to fa ### CfnServerlessPrivateEndpointProps -Returns, adds, edits, and removes private endpoints for serverless instances. +**WARNING:** This resource is deprecated and will be removed in May 2025. -To learn more, see the Atlas Administration API tab on the following tutorial. +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. #### Initializer @@ -41241,7 +41276,7 @@ An object where each field name is an event processor ID and each value is an ob For an example configuration object, see [Send Trigger Events to AWS -EventBridge](https://www.mongodb.com/docs/realm/triggers/examples/send-events-aws-eventbridge#std-label-event_processor_example). +EventBridge](https://www.mongodb.com/docs/atlas/app-services/triggers/aws-eventbridge/#std-label-event_processor_example). --- @@ -42129,6 +42164,7 @@ const databaseConfig: DatabaseConfig = { ... } | fullDocument | boolean | If `true`, indicates that `UPDATE` change events should include the most current [majority-committed](https://www.mongodb.com/docs/manual/reference/read-concern-majority/) version of the modified document in the `fullDocument` field. | | fullDocumentBeforeChange | boolean | If true, indicates that `UPDATE` change events should include a snapshot of the modified document from immediately before the update was applied. | | match | string | stringify version of a [$match](https://www.mongodb.com/docs/manual/reference/operator/aggregation/match) expression filters change events. The trigger will only fire if the expression evaluates to true for a given change event. | +| maximumThroughput | boolean | If `true`, the trigger will use the maximize throughput option (https://www.mongodb.com/docs/atlas/app-services/triggers/database-triggers/#std-label-triggers-maximum-throughput). | | operationTypes | DatabaseConfigOperationTypes[] | The type(s) of MongoDB change event that the trigger listens for. | | project | string | stringify version of a [$project](https://www.mongodb.com/docs/manual/reference/operator/aggregation/project/) expressions to limit the data included in each event. | | serviceId | string | The _id value of a linked MongoDB data source. | @@ -42205,6 +42241,18 @@ stringify version of a [$match](https://www.mongodb.com/docs/manual/reference/op --- +##### `maximumThroughput`Optional + +```typescript +public readonly maximumThroughput: boolean; +``` + +- *Type:* boolean + +If `true`, the trigger will use the maximize throughput option (https://www.mongodb.com/docs/atlas/app-services/triggers/database-triggers/#std-label-triggers-maximum-throughput). + +--- + ##### `operationTypes`Optional ```typescript @@ -47864,6 +47912,8 @@ pointInTime. 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/). + #### Members | **Name** | **Description** | diff --git a/src/l1-resources/cloud-backup-restore-jobs/index.ts b/src/l1-resources/cloud-backup-restore-jobs/index.ts index f00736f3..b43ab7be 100644 --- a/src/l1-resources/cloud-backup-restore-jobs/index.ts +++ b/src/l1-resources/cloud-backup-restore-jobs/index.ts @@ -16,7 +16,7 @@ export interface CfnCloudBackUpRestoreJobsProps { readonly projectId: string; /** - * Type of instance specified on the Instance Name serverless or cluster + * 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/). * * @schema CfnCloudBackUpRestoreJobsProps#InstanceType */ @@ -144,7 +144,7 @@ export function toJson_CfnCloudBackUpRestoreJobsProps( /* eslint-enable max-len, quote-props */ /** - * Type of instance specified on the Instance Name serverless or cluster + * 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/). * * @schema CfnCloudBackUpRestoreJobsPropsInstanceType */ diff --git a/src/l1-resources/organization/index.ts b/src/l1-resources/organization/index.ts index b22e5c14..77316181 100644 --- a/src/l1-resources/organization/index.ts +++ b/src/l1-resources/organization/index.ts @@ -48,6 +48,21 @@ export interface CfnOrganizationProps { */ readonly awsSecretName: string; + /** + * Disables automatic alert creation. When set to `true`, Atlas doesn't automatically create organization-level alerts. Defaults to `true` for new Atlas Organizations created with the provider to prevent infrastructure drift caused by creation of new alerts. + * + * @default true` for new Atlas Organizations created with the provider to prevent infrastructure drift caused by creation of new alerts. + * @schema CfnOrganizationProps#SkipDefaultAlertsSettings + */ + readonly skipDefaultAlertsSettings?: boolean; + + /** + * Flag that indicates whether this organization has access to generative AI features. This setting only applies to Atlas Commercial and defaults to `true`. With this setting on, Project Owners may be able to enable or disable individual AI features at the project level. To learn more, see https://www.mongodb.com/docs/generative-ai-faq/ + * + * @schema CfnOrganizationProps#GenAIFeaturesEnabled + */ + readonly genAiFeaturesEnabled?: boolean; + /** * Flag that indicates whether this organization has been deleted. * @@ -94,6 +109,8 @@ export function toJson_CfnOrganizationProps( OrgOwnerId: obj.orgOwnerId, Profile: obj.profile, AwsSecretName: obj.awsSecretName, + SkipDefaultAlertsSettings: obj.skipDefaultAlertsSettings, + GenAIFeaturesEnabled: obj.genAiFeaturesEnabled, IsDeleted: obj.isDeleted, ApiAccessListRequired: obj.apiAccessListRequired, MultiFactorAuthRequired: obj.multiFactorAuthRequired, diff --git a/src/l1-resources/serverless-instance/index.ts b/src/l1-resources/serverless-instance/index.ts index 168c284e..16ed2e63 100644 --- a/src/l1-resources/serverless-instance/index.ts +++ b/src/l1-resources/serverless-instance/index.ts @@ -3,7 +3,7 @@ import * as cdk from "aws-cdk-lib"; import * as constructs from "constructs"; /** - * Returns, adds, edits, and removes serverless instances. + * **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. * * @schema CfnServerlessInstanceProps */ diff --git a/src/l1-resources/serverless-private-endpoint/index.ts b/src/l1-resources/serverless-private-endpoint/index.ts index 0ea0b49f..05791a3d 100644 --- a/src/l1-resources/serverless-private-endpoint/index.ts +++ b/src/l1-resources/serverless-private-endpoint/index.ts @@ -3,7 +3,7 @@ import * as cdk from "aws-cdk-lib"; import * as constructs from "constructs"; /** - * Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial. + * **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. * * @schema CfnServerlessPrivateEndpointProps */ diff --git a/src/l1-resources/trigger/index.ts b/src/l1-resources/trigger/index.ts index 556e83f3..92a4c744 100644 --- a/src/l1-resources/trigger/index.ts +++ b/src/l1-resources/trigger/index.ts @@ -83,7 +83,7 @@ export interface CfnTriggerProps { * each value is an object that configures its corresponding * event processor. For an example configuration object, see * [Send Trigger Events to AWS - * EventBridge](https://www.mongodb.com/docs/realm/triggers/examples/send-events-aws-eventbridge#std-label-event_processor_example). + * EventBridge](https://www.mongodb.com/docs/atlas/app-services/triggers/aws-eventbridge/#std-label-event_processor_example). * * @schema CfnTriggerProps#EventProcessors */ @@ -230,6 +230,13 @@ export interface DatabaseConfig { */ readonly tolerateResumeErrors?: boolean; + /** + * If `true`, the trigger will use the maximize throughput option (https://www.mongodb.com/docs/atlas/app-services/triggers/database-triggers/#std-label-triggers-maximum-throughput). + * + * @schema DatabaseConfig#MaximumThroughput + */ + readonly maximumThroughput?: boolean; + /** * If `true`, event ordering is disabled and this Trigger * can process events in parallel. If `false`, event @@ -262,6 +269,7 @@ export function toJson_DatabaseConfig( FullDocumentBeforeChange: obj.fullDocumentBeforeChange, SkipCatchupEvents: obj.skipCatchupEvents, TolerateResumeErrors: obj.tolerateResumeErrors, + MaximumThroughput: obj.maximumThroughput, Unordered: obj.unordered, }; // filter undefined values