diff --git a/API.md b/API.md index 68e9f24a..3df85b89 100644 --- a/API.md +++ b/API.md @@ -38635,10 +38635,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 +38718,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 +38784,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. diff --git a/examples/l1-resources/organization.ts b/examples/l1-resources/organization.ts index 43105b0b..056ff521 100644 --- a/examples/l1-resources/organization.ts +++ b/examples/l1-resources/organization.ts @@ -29,8 +29,9 @@ export class CdkTestingStack extends cdk.Stack { apiKey: { roles: ["ORG_OWNER"], description: "test-cdk" - } - + }, + skipDefaultAlertsSettings: true, + genAiFeaturesEnabled: true }); } 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,