Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions examples/l1-resources/organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ export class CdkTestingStack extends cdk.Stack {
apiKey: {
roles: ["ORG_OWNER"],
description: "test-cdk"
}

},
skipDefaultAlertsSettings: true,
genAiFeaturesEnabled: true
});
}

Expand Down
17 changes: 17 additions & 0 deletions src/l1-resources/organization/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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,
Expand Down
Loading