Skip to content

Commit a0bca6b

Browse files
authored
feat: Updates Organization resource with latest changes (#267)
1 parent bdcfd18 commit a0bca6b

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed

API.md

Lines changed: 43 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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,27 @@ export interface CfnOrganizationProps {
5454
* @schema CfnOrganizationProps#IsDeleted
5555
*/
5656
readonly isDeleted?: boolean;
57+
58+
/**
59+
* Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
60+
*
61+
* @schema CfnOrganizationProps#ApiAccessListRequired
62+
*/
63+
readonly apiAccessListRequired?: boolean;
64+
65+
/**
66+
* Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
67+
*
68+
* @schema CfnOrganizationProps#MultiFactorAuthRequired
69+
*/
70+
readonly multiFactorAuthRequired?: boolean;
71+
72+
/**
73+
* Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
74+
*
75+
* @schema CfnOrganizationProps#RestrictEmployeeAccess
76+
*/
77+
readonly restrictEmployeeAccess?: boolean;
5778
}
5879

5980
/**
@@ -74,6 +95,9 @@ export function toJson_CfnOrganizationProps(
7495
Profile: obj.profile,
7596
AwsSecretName: obj.awsSecretName,
7697
IsDeleted: obj.isDeleted,
98+
ApiAccessListRequired: obj.apiAccessListRequired,
99+
MultiFactorAuthRequired: obj.multiFactorAuthRequired,
100+
RestrictEmployeeAccess: obj.restrictEmployeeAccess,
77101
};
78102
// filter undefined values
79103
return Object.entries(result).reduce(

0 commit comments

Comments
 (0)