aws-data-landing-zone 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +2 -2
- package/CHANGELOG.md +58 -0
- package/assets/constructs/dlz-macie/lambda/macie-members/index.js +25 -9
- package/assets/constructs/dlz-macie/lambda/macie-members/index.js.map +2 -2
- package/lib/constructs/account-chatbots/index.js +1 -1
- package/lib/constructs/dlz-budget/index.js +1 -1
- package/lib/constructs/dlz-control-tower-control/control-tower-control.js +1 -1
- package/lib/constructs/dlz-guardduty/guardduty-delegated-admin.js +1 -1
- package/lib/constructs/dlz-guardduty/guardduty-member-features.js +1 -1
- package/lib/constructs/dlz-guardduty/guardduty-org-config.js +1 -1
- package/lib/constructs/dlz-lake-formation/dlz-lake-formation.js +1 -1
- package/lib/constructs/dlz-macie/lambda/macie-members/index.js +33 -10
- package/lib/constructs/dlz-macie/macie-delegated-admin.js +1 -1
- package/lib/constructs/dlz-macie/macie-members.js +1 -1
- package/lib/constructs/dlz-macie/macie-org-config.js +1 -1
- package/lib/constructs/dlz-ssm-reader/dlz-ssm-reader-stack-cache.js +1 -1
- package/lib/constructs/dlz-ssm-reader/dlz-ssm-reader.js +1 -1
- package/lib/constructs/dlz-stack/index.js +1 -1
- package/lib/constructs/dlz-vpc/dlz-account-networks.js +1 -1
- package/lib/constructs/dlz-vpc/dlz-vpc.js +1 -1
- package/lib/constructs/dlz-vpc/network-address.js +1 -1
- package/lib/constructs/iam/iam-account-alias.js +1 -1
- package/lib/constructs/iam/iam-password-policy.js +1 -1
- package/lib/constructs/iam-identity-center/iam-identity-center-group.js +1 -1
- package/lib/constructs/iam-identity-center/iam-identity-center.js +1 -1
- package/lib/constructs/iam-identity-center/identity-store-user.js +1 -1
- package/lib/constructs/organization-policies/service-control-policy.js +1 -1
- package/lib/constructs/organization-policies/tag-policy.js +1 -1
- package/lib/data-landing-zone-client.js +1 -1
- package/lib/data-landing-zone.js +1 -1
- package/lib/defaults.js +1 -1
- package/lib/lib/report/index.js +1 -1
- package/lib/scripts/index.js +1 -1
- package/lib/stacks/organization/management/management-global-iam-identity-center-stack.js +1 -1
- package/lib/stacks/organization/management/management-global-stack.js +1 -1
- package/lib/stacks/organization/security/audit/global-stack.js +1 -1
- package/lib/stacks/organization/security/audit/regional-stack.js +1 -1
- package/lib/stacks/organization/security/log/global-stack.js +1 -1
- package/lib/stacks/organization/security/log/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/base/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/base/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/data-services-phase-1-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/data-services-phase-1-stack/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-1-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-2-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-2-stack/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-3-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-3-stack/regional-stack.js +1 -1
- package/package.json +1 -1
package/.jsii
CHANGED
|
@@ -21178,6 +21178,6 @@
|
|
|
21178
21178
|
"symbolId": "src/stacks/organization/workloads/base/regional-stack:WorkloadRegionalStack"
|
|
21179
21179
|
}
|
|
21180
21180
|
},
|
|
21181
|
-
"version": "0.3.
|
|
21182
|
-
"fingerprint": "
|
|
21181
|
+
"version": "0.3.2",
|
|
21182
|
+
"fingerprint": "DZ9V2kPN3rGBby+J41GVkk3A4k1RubMiW7QuZttJSW0="
|
|
21183
21183
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,64 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.3.1] - 2026-04-16
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
- Self mutation
|
|
10
|
+
|
|
11
|
+
- Self mutation
|
|
12
|
+
|
|
13
|
+
### Documentation
|
|
14
|
+
|
|
15
|
+
- Updated README.md with new GuardDuty configuration options
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
- Release 0.3.0
|
|
20
|
+
|
|
21
|
+
- Introduced GuardDuty constructs for org-wide security setup
|
|
22
|
+
|
|
23
|
+
- **deps:** Introduced AWS Macie constructs for admin and org config
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [0.2.5] - 2026-04-13
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
- Introduced Node.js 22 and AWS CDK 2.248.0 updates
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [0.2.4] - 2026-04-13
|
|
34
|
+
|
|
35
|
+
### CI/CD
|
|
36
|
+
|
|
37
|
+
- **workflows:** Introduced GitHub Actions for snapshot diff comments
|
|
38
|
+
|
|
39
|
+
- **workflows:** Introduced API compatibility check for backward support
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## [0.2.3] - 2026-04-13
|
|
43
|
+
|
|
44
|
+
### Chores
|
|
45
|
+
|
|
46
|
+
- **deps:** Upgrade dependencies
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## [0.2.2] - 2026-04-10
|
|
50
|
+
|
|
51
|
+
### Chores
|
|
52
|
+
|
|
53
|
+
- **deps:** Upgrade dependencies
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [0.2.1] - 2026-04-09
|
|
57
|
+
|
|
58
|
+
### Documentation
|
|
59
|
+
|
|
60
|
+
- Documented release 0.2.0 with breaking changes and features
|
|
61
|
+
|
|
62
|
+
|
|
5
63
|
## [0.2.0] - 2026-04-09
|
|
6
64
|
|
|
7
65
|
### ⚠️ Breaking Changes
|
|
@@ -27890,7 +27890,7 @@ async function disenrollAccounts(accountIds) {
|
|
|
27890
27890
|
try {
|
|
27891
27891
|
await macieClient.send(new import_client_macie2.GetMemberCommand({ id: accountId }));
|
|
27892
27892
|
} catch (error2) {
|
|
27893
|
-
if (error2.name === "ResourceNotFoundException" || error2.__type === "ResourceNotFoundException") {
|
|
27893
|
+
if (error2.name === "ResourceNotFoundException" || error2.__type === "ResourceNotFoundException" || error2.name === "ValidationException" || error2.__type === "ValidationException") {
|
|
27894
27894
|
console.log(`Account ${accountId} is not a member, skipping disenrollment`);
|
|
27895
27895
|
continue;
|
|
27896
27896
|
}
|
|
@@ -27898,15 +27898,31 @@ async function disenrollAccounts(accountIds) {
|
|
|
27898
27898
|
}
|
|
27899
27899
|
console.log(`Disenrolling account ${accountId}...`);
|
|
27900
27900
|
console.log(`Calling DisassociateMember for ${accountId}...`);
|
|
27901
|
-
|
|
27902
|
-
|
|
27903
|
-
|
|
27904
|
-
|
|
27901
|
+
try {
|
|
27902
|
+
await macieClient.send(new import_client_macie2.DisassociateMemberCommand({
|
|
27903
|
+
id: accountId
|
|
27904
|
+
}));
|
|
27905
|
+
console.log(`DisassociateMember completed for ${accountId}`);
|
|
27906
|
+
} catch (error2) {
|
|
27907
|
+
if (error2.name === "ValidationException" || error2.__type === "ValidationException") {
|
|
27908
|
+
console.log(`Account ${accountId} is not an associated member, skipping disassociation`);
|
|
27909
|
+
} else {
|
|
27910
|
+
throw error2;
|
|
27911
|
+
}
|
|
27912
|
+
}
|
|
27905
27913
|
console.log(`Calling DeleteMember for ${accountId}...`);
|
|
27906
|
-
|
|
27907
|
-
|
|
27908
|
-
|
|
27909
|
-
|
|
27914
|
+
try {
|
|
27915
|
+
await macieClient.send(new import_client_macie2.DeleteMemberCommand({
|
|
27916
|
+
id: accountId
|
|
27917
|
+
}));
|
|
27918
|
+
console.log(`DeleteMember completed for ${accountId}`);
|
|
27919
|
+
} catch (error2) {
|
|
27920
|
+
if (error2.name === "ValidationException" || error2.__type === "ValidationException") {
|
|
27921
|
+
console.log(`Account ${accountId} is not a member, skipping deletion`);
|
|
27922
|
+
} else {
|
|
27923
|
+
throw error2;
|
|
27924
|
+
}
|
|
27925
|
+
}
|
|
27910
27926
|
}
|
|
27911
27927
|
}
|
|
27912
27928
|
var handler = async (event) => {
|