Skip to content

Commit e0b3e5e

Browse files
committed
organization update
1 parent 56ca430 commit e0b3e5e

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

API.md

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/l1-resources/organization/index.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,21 @@ export interface CfnOrganizationProps {
4848
*/
4949
readonly awsSecretName: string;
5050

51+
/**
52+
* 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.
53+
*
54+
* @default true` for new Atlas Organizations created with the provider to prevent infrastructure drift caused by creation of new alerts.
55+
* @schema CfnOrganizationProps#SkipDefaultAlertsSettings
56+
*/
57+
readonly skipDefaultAlertsSettings?: boolean;
58+
59+
/**
60+
* 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/
61+
*
62+
* @schema CfnOrganizationProps#GenAIFeaturesEnabled
63+
*/
64+
readonly genAiFeaturesEnabled?: boolean;
65+
5166
/**
5267
* Flag that indicates whether this organization has been deleted.
5368
*
@@ -94,6 +109,8 @@ export function toJson_CfnOrganizationProps(
94109
OrgOwnerId: obj.orgOwnerId,
95110
Profile: obj.profile,
96111
AwsSecretName: obj.awsSecretName,
112+
SkipDefaultAlertsSettings: obj.skipDefaultAlertsSettings,
113+
GenAIFeaturesEnabled: obj.genAiFeaturesEnabled,
97114
IsDeleted: obj.isDeleted,
98115
ApiAccessListRequired: obj.apiAccessListRequired,
99116
MultiFactorAuthRequired: obj.multiFactorAuthRequired,

0 commit comments

Comments
 (0)