aws-data-landing-zone 0.5.1 → 0.6.0
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/.compatignore +41 -0
- package/.dlz-reports/account-audit.json +90 -0
- package/.dlz-reports/account-log.json +81 -0
- package/.dlz-reports/account-management.json +11 -0
- package/.dlz-reports/account-wl-dev-a.json +129 -0
- package/.dlz-reports/account-workloads-ou.json +11 -0
- package/.dlz-reports/raw.json +1982 -0
- package/.jsii +717 -268
- package/.nvmrc +1 -1
- package/API.md +267 -36
- package/CHANGELOG.md +43 -0
- package/README.md +4 -5
- package/docs/.nvmrc +1 -0
- package/docs/astro.config.ts +36 -3
- package/docs/package-lock.json +1292 -1276
- package/docs/package.json +17 -1
- package/docs/public/emojis/Angry.svg +8 -0
- package/docs/public/emojis/Crying.svg +8 -0
- package/docs/public/emojis/Scared.svg +6 -0
- package/docs/public/emojis/Shine.svg +15 -0
- package/docs/public/emojis/Shock.svg +8 -0
- package/docs/public/emojis/Shout.svg +8 -0
- package/docs/public/emojis/Smiling.svg +6 -0
- package/docs/public/favicon.svg +8 -0
- package/docs/public/images/datachef-logo-dark.png +0 -0
- package/docs/public/images/datachef-logo-light.png +0 -0
- package/docs/public/images/dlz-logo-dark.png +0 -0
- package/docs/public/images/dlz-logo-light.png +0 -0
- package/docs/public/images/hero-diagram-dark.png +0 -0
- package/docs/public/images/hero-diagram-light.png +0 -0
- package/docs/public/images/hero-panel-dark.png +0 -0
- package/docs/public/images/hero-panel-dark.svg +25 -0
- package/docs/public/images/hero-panel-light.png +0 -0
- package/docs/public/images/hero-panel-light.svg +25 -0
- package/docs/public/robots.txt +4 -0
- package/docs/src/components/Header.astro +143 -0
- package/docs/src/components/Navbar.astro +89 -0
- package/docs/src/components/Navbar.tsx +113 -0
- package/docs/src/components/SearchBar.astro +202 -0
- package/docs/src/components/ui/button.tsx +54 -0
- package/docs/src/components/ui/separator.tsx +26 -0
- package/docs/src/content/docs/components/security/scps.mdx +41 -20
- package/docs/src/content/docs/introduction.mdx +0 -4
- package/docs/src/content/docs/reference/api.md +267 -36
- package/docs/src/content/docs/reference/defaults.mdx +0 -3
- package/docs/src/lib/utils.ts +6 -0
- package/docs/src/pages/index.astro +950 -0
- package/docs/src/pages/sitemap.xml.ts +24 -0
- package/docs/src/styles/custom.css +248 -0
- package/docs/src/styles/landing.css +350 -0
- package/docs/tailwind.config.mjs +67 -0
- package/lib/constructs/account-chatbots/index.js +1 -1
- package/lib/constructs/dlz-account-budgets/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-cost-anomaly-detection/index.js +1 -1
- package/lib/constructs/dlz-data-exports/dlz-data-export.js +1 -1
- package/lib/constructs/dlz-data-exports/dlz-data-exports-athena.js +1 -1
- package/lib/constructs/dlz-data-exports/dlz-data-exports-data-plane.js +1 -1
- package/lib/constructs/dlz-data-exports/dlz-data-exports-tag-activation.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/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/scp-merge.d.ts +12 -3
- package/lib/constructs/organization-policies/scp-merge.js +15 -6
- package/lib/constructs/organization-policies/scp-presets/control-tower-exemption.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-actions-outside-regions.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-backup-vault-lock.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-bedrock-provisioned-throughput.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-cfn-stacks-without-standard-tags.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-dedicated-infra-and-subscriptions.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-disabling-security-services.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-domain-registrations.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-glacier-vault-lock.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-iam-without-permissions-boundary.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-leaving-organization.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-marketplace-subscriptions.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-reserved-capacity-purchases.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-resource-creation-without-standard-tags.d.ts +25 -0
- package/lib/constructs/organization-policies/scp-presets/deny-resource-creation-without-standard-tags.js +118 -0
- package/lib/constructs/organization-policies/scp-presets/deny-root-credentials-management-in-member-accounts.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-root-user-actions.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-s3-object-lock-and-retention.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-s3-public-access-bypass.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-savings-plan-purchases.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/deny-service-actions.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/finops-account-baseline.js +1 -1
- package/lib/constructs/organization-policies/scp-presets/index.d.ts +1 -0
- package/lib/constructs/organization-policies/scp-presets/index.js +2 -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-types.d.ts +50 -13
- package/lib/data-landing-zone-types.js +1 -1
- package/lib/data-landing-zone.js +3 -2
- package/lib/defaults.d.ts +0 -4
- package/lib/defaults.js +3 -18
- package/lib/lib/report/index.js +1 -1
- package/lib/scripts/bootstrap/index.js +2 -2
- package/lib/scripts/index.js +1 -1
- package/lib/stacks/organization/management/management-data-exports-stack.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.d.ts +14 -0
- package/lib/stacks/organization/management/management-global-stack.js +68 -4
- 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/shared-services/finops/global-stack.js +3 -2
- 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 +17 -17
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
22
|
package/API.md
CHANGED
|
@@ -10876,6 +10876,7 @@ new ManagementGlobalStack(scope: Construct, stackProps: ManagementGlobalStackPro
|
|
|
10876
10876
|
| <code><a href="#aws-data-landing-zone.ManagementGlobalStack.iamPermissionBoundary">iamPermissionBoundary</a></code> | IAM Policy Permission Boundary. |
|
|
10877
10877
|
| <code><a href="#aws-data-landing-zone.ManagementGlobalStack.suspendedOuPolicies">suspendedOuPolicies</a></code> | Service Control Policies and Tag Policies applied at the OU level because we won't need any customizations per account. |
|
|
10878
10878
|
| <code><a href="#aws-data-landing-zone.ManagementGlobalStack.workloadAccountsOrgPolicies">workloadAccountsOrgPolicies</a></code> | Per-account SCPs and tag policies. |
|
|
10879
|
+
| <code><a href="#aws-data-landing-zone.ManagementGlobalStack.workloadsOuPolicies">workloadsOuPolicies</a></code> | Standalone SCPs attached to the Workloads OU, inherited by every workload account. |
|
|
10879
10880
|
|
|
10880
10881
|
---
|
|
10881
10882
|
|
|
@@ -11374,6 +11375,17 @@ Per-account SCPs and tag policies.
|
|
|
11374
11375
|
|
|
11375
11376
|
Tiers: baseline -> account-type -> per-account (additive).
|
|
11376
11377
|
|
|
11378
|
+
##### `workloadsOuPolicies` <a name="workloadsOuPolicies" id="aws-data-landing-zone.ManagementGlobalStack.workloadsOuPolicies"></a>
|
|
11379
|
+
|
|
11380
|
+
```typescript
|
|
11381
|
+
public workloadsOuPolicies(): void
|
|
11382
|
+
```
|
|
11383
|
+
|
|
11384
|
+
Standalone SCPs attached to the Workloads OU, inherited by every workload account.
|
|
11385
|
+
|
|
11386
|
+
Preferred over per-account SCPs for a rule that applies uniformly org-wide: one policy,
|
|
11387
|
+
no per-account duplication, and inherited SCPs don't consume any account's slots.
|
|
11388
|
+
|
|
11377
11389
|
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
11378
11390
|
|
|
11379
11391
|
| **Name** | **Description** |
|
|
@@ -21566,7 +21578,6 @@ const dataLandingZoneProps: DataLandingZoneProps = { ... }
|
|
|
21566
21578
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.securityHubNotifications">securityHubNotifications</a></code> | <code><a href="#aws-data-landing-zone.SecurityHubNotification">SecurityHubNotification</a>[]</code> | *No description.* |
|
|
21567
21579
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.additionalMandatoryTags">additionalMandatoryTags</a></code> | <code><a href="#aws-data-landing-zone.DlzTag">DlzTag</a>[]</code> | Extra tags appended to the five baseline mandatory tags (Owner, Project, Environment, CostCenter, Domain). |
|
|
21568
21580
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.defaultNotification">defaultNotification</a></code> | <code><a href="#aws-data-landing-zone.NotificationDetailsProps">NotificationDetailsProps</a></code> | Default notification settings for the organization. |
|
|
21569
|
-
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.denyServiceList">denyServiceList</a></code> | <code>string[]</code> | List of services to deny in the organization SCP baseline. Empty by default — opt in to deny services. |
|
|
21570
21581
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.deploymentPlatform">deploymentPlatform</a></code> | <code><a href="#aws-data-landing-zone.DeploymentPlatform">DeploymentPlatform</a></code> | *No description.* |
|
|
21571
21582
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.finOps">finOps</a></code> | <code><a href="#aws-data-landing-zone.DlzFinOpsProps">DlzFinOpsProps</a></code> | Cost-management capabilities. |
|
|
21572
21583
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.guardDuty">guardDuty</a></code> | <code><a href="#aws-data-landing-zone.DlzGuardDutyProps">DlzGuardDutyProps</a></code> | GuardDuty configuration for the organization. |
|
|
@@ -21681,24 +21692,6 @@ acts as the fallback.
|
|
|
21681
21692
|
|
|
21682
21693
|
---
|
|
21683
21694
|
|
|
21684
|
-
##### ~~`denyServiceList`~~<sup>Optional</sup> <a name="denyServiceList" id="aws-data-landing-zone.DataLandingZoneProps.property.denyServiceList"></a>
|
|
21685
|
-
|
|
21686
|
-
- *Deprecated:* Use `scpBaselineStatements` for full control over the deny-services baseline. This field
|
|
21687
|
-
remains supported for the simple "deny these service actions" case.
|
|
21688
|
-
|
|
21689
|
-
```typescript
|
|
21690
|
-
public readonly denyServiceList: string[];
|
|
21691
|
-
```
|
|
21692
|
-
|
|
21693
|
-
- *Type:* string[]
|
|
21694
|
-
- *Default:* Defaults.denyServiceList() (empty list)
|
|
21695
|
-
|
|
21696
|
-
List of services to deny in the organization SCP baseline. Empty by default — opt in to deny services.
|
|
21697
|
-
|
|
21698
|
-
Cannot be used together with `scpBaselineStatements`.
|
|
21699
|
-
|
|
21700
|
-
---
|
|
21701
|
-
|
|
21702
21695
|
##### `deploymentPlatform`<sup>Optional</sup> <a name="deploymentPlatform" id="aws-data-landing-zone.DataLandingZoneProps.property.deploymentPlatform"></a>
|
|
21703
21696
|
|
|
21704
21697
|
```typescript
|
|
@@ -21837,14 +21830,12 @@ public readonly scpBaselineStatements: PolicyStatement[];
|
|
|
21837
21830
|
```
|
|
21838
21831
|
|
|
21839
21832
|
- *Type:* aws-cdk-lib.aws_iam.PolicyStatement[]
|
|
21840
|
-
- *Default:*
|
|
21833
|
+
- *Default:* only the mandatory-tags SCP is applied
|
|
21841
21834
|
|
|
21842
21835
|
Replaces the deny-services portion of the org SCP baseline applied to every workload account.
|
|
21843
21836
|
|
|
21844
21837
|
The mandatory-tags SCP is always appended after these statements and cannot be opted out of.
|
|
21845
21838
|
|
|
21846
|
-
Cannot be used together with `denyServiceList`.
|
|
21847
|
-
|
|
21848
21839
|
---
|
|
21849
21840
|
|
|
21850
21841
|
##### `scpStatementsByAccountType`<sup>Optional</sup> <a name="scpStatementsByAccountType" id="aws-data-landing-zone.DataLandingZoneProps.property.scpStatementsByAccountType"></a>
|
|
@@ -21946,6 +21937,7 @@ const dLzAccount: DLzAccount = { ... }
|
|
|
21946
21937
|
| <code><a href="#aws-data-landing-zone.DLzAccount.property.macieEnabled">macieEnabled</a></code> | <code>boolean</code> | Explicitly enroll this existing account in Macie via CreateMember. |
|
|
21947
21938
|
| <code><a href="#aws-data-landing-zone.DLzAccount.property.monthlyBudget">monthlyBudget</a></code> | <code>number</code> | Monthly budget cap in USD. |
|
|
21948
21939
|
| <code><a href="#aws-data-landing-zone.DLzAccount.property.scpStatements">scpStatements</a></code> | <code>aws-cdk-lib.aws_iam.PolicyStatement[]</code> | Additional per-account SCP statements layered on top of the org baseline and account-type tier. |
|
|
21940
|
+
| <code><a href="#aws-data-landing-zone.DLzAccount.property.standaloneScps">standaloneScps</a></code> | <code><a href="#aws-data-landing-zone.DlzStandaloneScp">DlzStandaloneScp</a>[]</code> | Standalone SCPs attached directly to this account, each emitted as its OWN `AWS::Organizations::Policy` instead of being merged into the account's single baseline + account-type + per-account SCP. |
|
|
21949
21941
|
| <code><a href="#aws-data-landing-zone.DLzAccount.property.vpcs">vpcs</a></code> | <code><a href="#aws-data-landing-zone.DlzVpcProps">DlzVpcProps</a>[]</code> | *No description.* |
|
|
21950
21942
|
|
|
21951
21943
|
---
|
|
@@ -22150,6 +22142,27 @@ Additive only.
|
|
|
22150
22142
|
|
|
22151
22143
|
---
|
|
22152
22144
|
|
|
22145
|
+
##### `standaloneScps`<sup>Optional</sup> <a name="standaloneScps" id="aws-data-landing-zone.DLzAccount.property.standaloneScps"></a>
|
|
22146
|
+
|
|
22147
|
+
```typescript
|
|
22148
|
+
public readonly standaloneScps: DlzStandaloneScp[];
|
|
22149
|
+
```
|
|
22150
|
+
|
|
22151
|
+
- *Type:* <a href="#aws-data-landing-zone.DlzStandaloneScp">DlzStandaloneScp</a>[]
|
|
22152
|
+
- *Default:* no standalone SCPs
|
|
22153
|
+
|
|
22154
|
+
Standalone SCPs attached directly to this account, each emitted as its OWN `AWS::Organizations::Policy` instead of being merged into the account's single baseline + account-type + per-account SCP.
|
|
22155
|
+
|
|
22156
|
+
Use this to give a distinct rule set its own
|
|
22157
|
+
10,240-char budget (rather than sharing the merged document) — each entry becomes one SCP.
|
|
22158
|
+
|
|
22159
|
+
All SCPs directly attached to the account (the AWS-managed `FullAWSAccess` + the merged
|
|
22160
|
+
DLZ SCP + these standalone entries) must total <= 10 (AWS's per-target limit); synth
|
|
22161
|
+
fails otherwise. For a uniform rule across many accounts, prefer attaching one SCP at
|
|
22162
|
+
the OU level instead — inherited SCPs don't consume any account's slots.
|
|
22163
|
+
|
|
22164
|
+
---
|
|
22165
|
+
|
|
22153
22166
|
##### `vpcs`<sup>Optional</sup> <a name="vpcs" id="aws-data-landing-zone.DLzAccount.property.vpcs"></a>
|
|
22154
22167
|
|
|
22155
22168
|
```typescript
|
|
@@ -23815,6 +23828,7 @@ const dlzFinOpsAccountTags: DlzFinOpsAccountTags = { ... }
|
|
|
23815
23828
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.costCenter">costCenter</a></code> | <code>string</code> | *No description.* |
|
|
23816
23829
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.domain">domain</a></code> | <code>string</code> | *No description.* |
|
|
23817
23830
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.environment">environment</a></code> | <code>string</code> | *No description.* |
|
|
23831
|
+
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.name">name</a></code> | <code>string</code> | *No description.* |
|
|
23818
23832
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.owner">owner</a></code> | <code>string</code> | *No description.* |
|
|
23819
23833
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.project">project</a></code> | <code>string</code> | *No description.* |
|
|
23820
23834
|
|
|
@@ -23853,6 +23867,17 @@ public readonly environment: string;
|
|
|
23853
23867
|
|
|
23854
23868
|
---
|
|
23855
23869
|
|
|
23870
|
+
##### `name`<sup>Optional</sup> <a name="name" id="aws-data-landing-zone.DlzFinOpsAccountTags.property.name"></a>
|
|
23871
|
+
|
|
23872
|
+
```typescript
|
|
23873
|
+
public readonly name: string;
|
|
23874
|
+
```
|
|
23875
|
+
|
|
23876
|
+
- *Type:* string
|
|
23877
|
+
- *Default:* 'dlz'
|
|
23878
|
+
|
|
23879
|
+
---
|
|
23880
|
+
|
|
23856
23881
|
##### `owner`<sup>Optional</sup> <a name="owner" id="aws-data-landing-zone.DlzFinOpsAccountTags.property.owner"></a>
|
|
23857
23882
|
|
|
23858
23883
|
```typescript
|
|
@@ -25263,6 +25288,66 @@ public readonly stage: ExpressStage;
|
|
|
25263
25288
|
|
|
25264
25289
|
---
|
|
25265
25290
|
|
|
25291
|
+
### DlzStandaloneScp <a name="DlzStandaloneScp" id="aws-data-landing-zone.DlzStandaloneScp"></a>
|
|
25292
|
+
|
|
25293
|
+
A standalone Service Control Policy attached directly to an account, emitted as its OWN `AWS::Organizations::Policy` — NOT merged into the account's single baseline + account-type + per-account SCP document.
|
|
25294
|
+
|
|
25295
|
+
Use this to keep a distinct rule set
|
|
25296
|
+
(e.g. tag-on-create enforcement) in its own policy so it has its own 10,240-char budget
|
|
25297
|
+
instead of competing for space in the merged document. If one policy's statements exceed
|
|
25298
|
+
that limit, split them across multiple entries — each entry becomes a separate SCP.
|
|
25299
|
+
|
|
25300
|
+
Every SCP directly attached to the account counts toward AWS's limit of 10 per target —
|
|
25301
|
+
that includes the AWS-managed `FullAWSAccess`, the merged DLZ SCP, and each of these
|
|
25302
|
+
standalone entries. (SCPs inherited from a parent OU do NOT count.)
|
|
25303
|
+
|
|
25304
|
+
#### Initializer <a name="Initializer" id="aws-data-landing-zone.DlzStandaloneScp.Initializer"></a>
|
|
25305
|
+
|
|
25306
|
+
```typescript
|
|
25307
|
+
import { DlzStandaloneScp } from 'aws-data-landing-zone'
|
|
25308
|
+
|
|
25309
|
+
const dlzStandaloneScp: DlzStandaloneScp = { ... }
|
|
25310
|
+
```
|
|
25311
|
+
|
|
25312
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
25313
|
+
|
|
25314
|
+
| **Name** | **Type** | **Description** |
|
|
25315
|
+
| --- | --- | --- |
|
|
25316
|
+
| <code><a href="#aws-data-landing-zone.DlzStandaloneScp.property.statements">statements</a></code> | <code>aws-cdk-lib.aws_iam.PolicyStatement[]</code> | Statements for this one SCP. |
|
|
25317
|
+
| <code><a href="#aws-data-landing-zone.DlzStandaloneScp.property.nameSuffix">nameSuffix</a></code> | <code>string</code> | Suffix for the policy name/id (`scp-<account>-<nameSuffix>`). |
|
|
25318
|
+
|
|
25319
|
+
---
|
|
25320
|
+
|
|
25321
|
+
##### `statements`<sup>Required</sup> <a name="statements" id="aws-data-landing-zone.DlzStandaloneScp.property.statements"></a>
|
|
25322
|
+
|
|
25323
|
+
```typescript
|
|
25324
|
+
public readonly statements: PolicyStatement[];
|
|
25325
|
+
```
|
|
25326
|
+
|
|
25327
|
+
- *Type:* aws-cdk-lib.aws_iam.PolicyStatement[]
|
|
25328
|
+
|
|
25329
|
+
Statements for this one SCP.
|
|
25330
|
+
|
|
25331
|
+
Rendered as a single policy document, which must be
|
|
25332
|
+
<= 10,240 characters. Synth fails otherwise — split into another entry.
|
|
25333
|
+
|
|
25334
|
+
---
|
|
25335
|
+
|
|
25336
|
+
##### `nameSuffix`<sup>Optional</sup> <a name="nameSuffix" id="aws-data-landing-zone.DlzStandaloneScp.property.nameSuffix"></a>
|
|
25337
|
+
|
|
25338
|
+
```typescript
|
|
25339
|
+
public readonly nameSuffix: string;
|
|
25340
|
+
```
|
|
25341
|
+
|
|
25342
|
+
- *Type:* string
|
|
25343
|
+
- *Default:* the entry's index in the list (e.g. `standalone-0`)
|
|
25344
|
+
|
|
25345
|
+
Suffix for the policy name/id (`scp-<account>-<nameSuffix>`).
|
|
25346
|
+
|
|
25347
|
+
Must be unique within the account.
|
|
25348
|
+
|
|
25349
|
+
---
|
|
25350
|
+
|
|
25266
25351
|
### DlzStandardCur20Config <a name="DlzStandardCur20Config" id="aws-data-landing-zone.DlzStandardCur20Config"></a>
|
|
25267
25352
|
|
|
25268
25353
|
#### Initializer <a name="Initializer" id="aws-data-landing-zone.DlzStandardCur20Config.Initializer"></a>
|
|
@@ -28503,6 +28588,7 @@ const orgOuWorkloads: OrgOuWorkloads = { ... }
|
|
|
28503
28588
|
| --- | --- | --- |
|
|
28504
28589
|
| <code><a href="#aws-data-landing-zone.OrgOuWorkloads.property.accounts">accounts</a></code> | <code><a href="#aws-data-landing-zone.DLzAccount">DLzAccount</a>[]</code> | *No description.* |
|
|
28505
28590
|
| <code><a href="#aws-data-landing-zone.OrgOuWorkloads.property.ouId">ouId</a></code> | <code>string</code> | *No description.* |
|
|
28591
|
+
| <code><a href="#aws-data-landing-zone.OrgOuWorkloads.property.standaloneScps">standaloneScps</a></code> | <code><a href="#aws-data-landing-zone.DlzStandaloneScp">DlzStandaloneScp</a>[]</code> | Standalone SCPs attached to the Workloads OU itself, each emitted as its own `AWS::Organizations::Policy` targeting the OU. |
|
|
28506
28592
|
|
|
28507
28593
|
---
|
|
28508
28594
|
|
|
@@ -28526,6 +28612,25 @@ public readonly ouId: string;
|
|
|
28526
28612
|
|
|
28527
28613
|
---
|
|
28528
28614
|
|
|
28615
|
+
##### `standaloneScps`<sup>Optional</sup> <a name="standaloneScps" id="aws-data-landing-zone.OrgOuWorkloads.property.standaloneScps"></a>
|
|
28616
|
+
|
|
28617
|
+
```typescript
|
|
28618
|
+
public readonly standaloneScps: DlzStandaloneScp[];
|
|
28619
|
+
```
|
|
28620
|
+
|
|
28621
|
+
- *Type:* <a href="#aws-data-landing-zone.DlzStandaloneScp">DlzStandaloneScp</a>[]
|
|
28622
|
+
- *Default:* no OU-level standalone SCPs
|
|
28623
|
+
|
|
28624
|
+
Standalone SCPs attached to the Workloads OU itself, each emitted as its own `AWS::Organizations::Policy` targeting the OU.
|
|
28625
|
+
|
|
28626
|
+
Every workload account **inherits** these,
|
|
28627
|
+
and inherited SCPs do NOT count toward any account's per-target SCP limit — so this is
|
|
28628
|
+
the right place for a rule that applies uniformly to all workload accounts (one policy,
|
|
28629
|
+
no per-account duplication). For a rule specific to one account, use
|
|
28630
|
+
`DLzAccount.standaloneScps` instead.
|
|
28631
|
+
|
|
28632
|
+
---
|
|
28633
|
+
|
|
28529
28634
|
### OrgRootAccounts <a name="OrgRootAccounts" id="aws-data-landing-zone.OrgRootAccounts"></a>
|
|
28530
28635
|
|
|
28531
28636
|
#### Initializer <a name="Initializer" id="aws-data-landing-zone.OrgRootAccounts.Initializer"></a>
|
|
@@ -29964,7 +30069,6 @@ new Defaults()
|
|
|
29964
30069
|
| <code><a href="#aws-data-landing-zone.Defaults.budgets">budgets</a></code> | *No description.* |
|
|
29965
30070
|
| <code><a href="#aws-data-landing-zone.Defaults.carbonEmissionsQueryColumns">carbonEmissionsQueryColumns</a></code> | Default query-column projection for `CARBON_EMISSIONS` exports. |
|
|
29966
30071
|
| <code><a href="#aws-data-landing-zone.Defaults.corQueryColumns">corQueryColumns</a></code> | Default query-column projection for `COST_OPTIMIZATION_RECOMMENDATIONS` exports. |
|
|
29967
|
-
| <code><a href="#aws-data-landing-zone.Defaults.denyServiceList">denyServiceList</a></code> | * List of services that are denied in the organization. |
|
|
29968
30072
|
| <code><a href="#aws-data-landing-zone.Defaults.focus12QueryColumns">focus12QueryColumns</a></code> | Default query-column projection for `FOCUS_1_2` exports. |
|
|
29969
30073
|
| <code><a href="#aws-data-landing-zone.Defaults.guardDutyFeatures">guardDutyFeatures</a></code> | Default GuardDuty features. |
|
|
29970
30074
|
| <code><a href="#aws-data-landing-zone.Defaults.iamIdentityCenterPermissionSets">iamIdentityCenterPermissionSets</a></code> | Provides the AWS managed policy `AdministratorAccess` and `ReadOnlyAccess` as permission sets. |
|
|
@@ -30032,18 +30136,6 @@ Default query-column projection for `COST_OPTIMIZATION_RECOMMENDATIONS` exports.
|
|
|
30032
30136
|
|
|
30033
30137
|
jsii-friendly accessor for the underlying `DLZ_COR_DEFAULT_QUERY_COLUMNS` constant.
|
|
30034
30138
|
|
|
30035
|
-
##### `denyServiceList` <a name="denyServiceList" id="aws-data-landing-zone.Defaults.denyServiceList"></a>
|
|
30036
|
-
|
|
30037
|
-
```typescript
|
|
30038
|
-
import { Defaults } from 'aws-data-landing-zone'
|
|
30039
|
-
|
|
30040
|
-
Defaults.denyServiceList()
|
|
30041
|
-
```
|
|
30042
|
-
|
|
30043
|
-
* List of services that are denied in the organization.
|
|
30044
|
-
|
|
30045
|
-
Empty by default — opt in to deny services.
|
|
30046
|
-
|
|
30047
30139
|
##### `focus12QueryColumns` <a name="focus12QueryColumns" id="aws-data-landing-zone.Defaults.focus12QueryColumns"></a>
|
|
30048
30140
|
|
|
30049
30141
|
```typescript
|
|
@@ -31679,6 +31771,140 @@ ScpDenyReservedCapacityPurchases.statement()
|
|
|
31679
31771
|
|
|
31680
31772
|
|
|
31681
31773
|
|
|
31774
|
+
### ScpDenyResourceCreationWithoutStandardTags <a name="ScpDenyResourceCreationWithoutStandardTags" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags"></a>
|
|
31775
|
+
|
|
31776
|
+
Opt-in SCP statements that deny the given create actions unless every mandatory tag is present at creation (`aws:RequestTag`).
|
|
31777
|
+
|
|
31778
|
+
This covers direct console/CLI/SDK creation, which `ScpDenyCfnStacksWithoutStandardTags`
|
|
31779
|
+
(CloudFormation only) does not. Tag presence is checked, not values; values stay with the tag policy. It is
|
|
31780
|
+
not in the baseline, so add it yourself.
|
|
31781
|
+
|
|
31782
|
+
`statements()` returns one Deny per tag key on purpose: IAM joins keys in a single `Null` block with AND, so
|
|
31783
|
+
one combined statement would only deny when every tag is absent. Gate only actions that support
|
|
31784
|
+
`aws:RequestTag` at creation. The action-set constants below are composable (spread the ones you want into
|
|
31785
|
+
`statements()`) and were verified against the AWS Service Authorization Reference.
|
|
31786
|
+
|
|
31787
|
+
#### Initializers <a name="Initializers" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.Initializer"></a>
|
|
31788
|
+
|
|
31789
|
+
```typescript
|
|
31790
|
+
import { ScpDenyResourceCreationWithoutStandardTags } from 'aws-data-landing-zone'
|
|
31791
|
+
|
|
31792
|
+
new ScpDenyResourceCreationWithoutStandardTags()
|
|
31793
|
+
```
|
|
31794
|
+
|
|
31795
|
+
| **Name** | **Type** | **Description** |
|
|
31796
|
+
| --- | --- | --- |
|
|
31797
|
+
|
|
31798
|
+
---
|
|
31799
|
+
|
|
31800
|
+
|
|
31801
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
31802
|
+
|
|
31803
|
+
| **Name** | **Description** |
|
|
31804
|
+
| --- | --- |
|
|
31805
|
+
| <code><a href="#aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.statements">statements</a></code> | One Deny per tag key over `actions`. |
|
|
31806
|
+
|
|
31807
|
+
---
|
|
31808
|
+
|
|
31809
|
+
##### `statements` <a name="statements" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.statements"></a>
|
|
31810
|
+
|
|
31811
|
+
```typescript
|
|
31812
|
+
import { ScpDenyResourceCreationWithoutStandardTags } from 'aws-data-landing-zone'
|
|
31813
|
+
|
|
31814
|
+
ScpDenyResourceCreationWithoutStandardTags.statements(actions: string[], tagKeys?: string[])
|
|
31815
|
+
```
|
|
31816
|
+
|
|
31817
|
+
One Deny per tag key over `actions`.
|
|
31818
|
+
|
|
31819
|
+
Tag keys default to {@link DEFAULT_TAG_KEYS}.
|
|
31820
|
+
|
|
31821
|
+
###### `actions`<sup>Required</sup> <a name="actions" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.statements.parameter.actions"></a>
|
|
31822
|
+
|
|
31823
|
+
- *Type:* string[]
|
|
31824
|
+
|
|
31825
|
+
---
|
|
31826
|
+
|
|
31827
|
+
###### `tagKeys`<sup>Optional</sup> <a name="tagKeys" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.statements.parameter.tagKeys"></a>
|
|
31828
|
+
|
|
31829
|
+
- *Type:* string[]
|
|
31830
|
+
|
|
31831
|
+
---
|
|
31832
|
+
|
|
31833
|
+
|
|
31834
|
+
#### Constants <a name="Constants" id="Constants"></a>
|
|
31835
|
+
|
|
31836
|
+
| **Name** | **Type** | **Description** |
|
|
31837
|
+
| --- | --- | --- |
|
|
31838
|
+
| <code><a href="#aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.CORE_TAG_ON_CREATE_ACTIONS">CORE_TAG_ON_CREATE_ACTIONS</a></code> | <code>string[]</code> | Core compute and data create actions. |
|
|
31839
|
+
| <code><a href="#aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.DATA_PLATFORM_TAG_ON_CREATE_ACTIONS">DATA_PLATFORM_TAG_ON_CREATE_ACTIONS</a></code> | <code>string[]</code> | Analytics and ML create actions. |
|
|
31840
|
+
| <code><a href="#aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.DEFAULT_TAG_KEYS">DEFAULT_TAG_KEYS</a></code> | <code>string[]</code> | *No description.* |
|
|
31841
|
+
| <code><a href="#aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.IAM_TAG_ON_CREATE_ACTIONS">IAM_TAG_ON_CREATE_ACTIONS</a></code> | <code>string[]</code> | IAM create actions. |
|
|
31842
|
+
| <code><a href="#aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.INFRA_TAG_ON_CREATE_ACTIONS">INFRA_TAG_ON_CREATE_ACTIONS</a></code> | <code>string[]</code> | Networking, storage, and compute create actions. |
|
|
31843
|
+
|
|
31844
|
+
---
|
|
31845
|
+
|
|
31846
|
+
##### `CORE_TAG_ON_CREATE_ACTIONS`<sup>Required</sup> <a name="CORE_TAG_ON_CREATE_ACTIONS" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.CORE_TAG_ON_CREATE_ACTIONS"></a>
|
|
31847
|
+
|
|
31848
|
+
```typescript
|
|
31849
|
+
public readonly CORE_TAG_ON_CREATE_ACTIONS: string[];
|
|
31850
|
+
```
|
|
31851
|
+
|
|
31852
|
+
- *Type:* string[]
|
|
31853
|
+
|
|
31854
|
+
Core compute and data create actions.
|
|
31855
|
+
|
|
31856
|
+
---
|
|
31857
|
+
|
|
31858
|
+
##### `DATA_PLATFORM_TAG_ON_CREATE_ACTIONS`<sup>Required</sup> <a name="DATA_PLATFORM_TAG_ON_CREATE_ACTIONS" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.DATA_PLATFORM_TAG_ON_CREATE_ACTIONS"></a>
|
|
31859
|
+
|
|
31860
|
+
```typescript
|
|
31861
|
+
public readonly DATA_PLATFORM_TAG_ON_CREATE_ACTIONS: string[];
|
|
31862
|
+
```
|
|
31863
|
+
|
|
31864
|
+
- *Type:* string[]
|
|
31865
|
+
|
|
31866
|
+
Analytics and ML create actions.
|
|
31867
|
+
|
|
31868
|
+
OpenSearch uses `es:CreateDomain`; `opensearch:CreateDomain` does not exist.
|
|
31869
|
+
|
|
31870
|
+
---
|
|
31871
|
+
|
|
31872
|
+
##### `DEFAULT_TAG_KEYS`<sup>Required</sup> <a name="DEFAULT_TAG_KEYS" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.DEFAULT_TAG_KEYS"></a>
|
|
31873
|
+
|
|
31874
|
+
```typescript
|
|
31875
|
+
public readonly DEFAULT_TAG_KEYS: string[];
|
|
31876
|
+
```
|
|
31877
|
+
|
|
31878
|
+
- *Type:* string[]
|
|
31879
|
+
|
|
31880
|
+
---
|
|
31881
|
+
|
|
31882
|
+
##### `IAM_TAG_ON_CREATE_ACTIONS`<sup>Required</sup> <a name="IAM_TAG_ON_CREATE_ACTIONS" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.IAM_TAG_ON_CREATE_ACTIONS"></a>
|
|
31883
|
+
|
|
31884
|
+
```typescript
|
|
31885
|
+
public readonly IAM_TAG_ON_CREATE_ACTIONS: string[];
|
|
31886
|
+
```
|
|
31887
|
+
|
|
31888
|
+
- *Type:* string[]
|
|
31889
|
+
|
|
31890
|
+
IAM create actions.
|
|
31891
|
+
|
|
31892
|
+
`iam:CreateGroup` is excluded: it carries no tag keys, so gating it would deny all group creation.
|
|
31893
|
+
|
|
31894
|
+
---
|
|
31895
|
+
|
|
31896
|
+
##### `INFRA_TAG_ON_CREATE_ACTIONS`<sup>Required</sup> <a name="INFRA_TAG_ON_CREATE_ACTIONS" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.INFRA_TAG_ON_CREATE_ACTIONS"></a>
|
|
31897
|
+
|
|
31898
|
+
```typescript
|
|
31899
|
+
public readonly INFRA_TAG_ON_CREATE_ACTIONS: string[];
|
|
31900
|
+
```
|
|
31901
|
+
|
|
31902
|
+
- *Type:* string[]
|
|
31903
|
+
|
|
31904
|
+
Networking, storage, and compute create actions.
|
|
31905
|
+
|
|
31906
|
+
---
|
|
31907
|
+
|
|
31682
31908
|
### ScpDenyRootCredentialsManagementInMemberAccounts <a name="ScpDenyRootCredentialsManagementInMemberAccounts" id="aws-data-landing-zone.ScpDenyRootCredentialsManagementInMemberAccounts"></a>
|
|
31683
31909
|
|
|
31684
31910
|
Denies member-account root actions while allowing AWS Organizations centralized-root sessions (`aws:AssumedRoot`).
|
|
@@ -32003,7 +32229,12 @@ CDK custom resources need it — tighten via permission boundaries, not SCPs.
|
|
|
32003
32229
|
|
|
32004
32230
|
### ScpLimits <a name="ScpLimits" id="aws-data-landing-zone.ScpLimits"></a>
|
|
32005
32231
|
|
|
32006
|
-
AWS Organizations service quotas for SCPs.
|
|
32232
|
+
AWS Organizations service quotas for SCPs (raised by AWS — see the reference below): - max policy document size = 10,240 characters (was 5,120) - max SCPs directly attached to a single root / OU / account = 10 (was 5) Note: SCPs inherited from a parent OU or the root do NOT count toward a target's per-node limit — only directly-attached policies do.
|
|
32233
|
+
|
|
32234
|
+
So attaching one SCP to an OU
|
|
32235
|
+
covers every account under it at zero per-account slot cost.
|
|
32236
|
+
|
|
32237
|
+
> [https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)
|
|
32007
32238
|
|
|
32008
32239
|
#### Initializers <a name="Initializers" id="aws-data-landing-zone.ScpLimits.Initializer"></a>
|
|
32009
32240
|
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,49 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [unreleased]
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
- **deps:** Upgrade dependencies ([#136](https://github.com/DataChefHQ/aws-data-landing-zone/pull/136)) ([#136](https://github.com/DataChefHQ/aws-data-landing-zone/pull/136))
|
|
10
|
+
|
|
11
|
+
- **deps:** Updated AWS SDK to 3.1049.0 and jest-junit to ^16
|
|
12
|
+
|
|
13
|
+
- Upgrade aws-cdk-lib to 2.255.0 and update CI workflows
|
|
14
|
+
|
|
15
|
+
- **deps:** Added missing dependencies in package-lock.json
|
|
16
|
+
|
|
17
|
+
- **deps:** Downgraded aws-cdk-lib for version compatibility
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## [0.5.0] - 2026-05-19
|
|
21
|
+
|
|
22
|
+
### ⚠️ Breaking Changes
|
|
23
|
+
|
|
24
|
+
- FinOps implementation ([#140](https://github.com/DataChefHQ/aws-data-landing-zone/pull/140))
|
|
25
|
+
|
|
26
|
+
### Documentation
|
|
27
|
+
|
|
28
|
+
- **content/components:** Documented GuardDuty, SCP and Macie integration
|
|
29
|
+
|
|
30
|
+
- **content:** Reframe landing and intro around FinOps vision ([#139](https://github.com/DataChefHQ/aws-data-landing-zone/pull/139)) ([#139](https://github.com/DataChefHQ/aws-data-landing-zone/pull/139))
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
- FinOps implementation ([#140](https://github.com/DataChefHQ/aws-data-landing-zone/pull/140)) ([#140](https://github.com/DataChefHQ/aws-data-landing-zone/pull/140))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [0.4.0] - 2026-05-04
|
|
38
|
+
|
|
39
|
+
### ⚠️ Breaking Changes
|
|
40
|
+
|
|
41
|
+
- Add SCP preset library and 3-tier composition model ([#137](https://github.com/DataChefHQ/aws-data-landing-zone/pull/137))
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
- **scp:** Add SCP preset library and 3-tier composition model ([#137](https://github.com/DataChefHQ/aws-data-landing-zone/pull/137)) ([#137](https://github.com/DataChefHQ/aws-data-landing-zone/pull/137))
|
|
46
|
+
|
|
47
|
+
|
|
5
48
|
## [0.3.4] - 2026-05-01
|
|
6
49
|
|
|
7
50
|
### Chores
|
package/README.md
CHANGED
|
@@ -61,13 +61,12 @@ const dlz = new DataLandingZone(app, {
|
|
|
61
61
|
emails: ['you@org.com'],
|
|
62
62
|
}),
|
|
63
63
|
],
|
|
64
|
-
|
|
65
|
-
//
|
|
66
|
-
// instead. Cannot be combined with denyServiceList. Mandatory-tags SCP is
|
|
67
|
-
// always appended after these statements.
|
|
64
|
+
// Optional: replace the deny-services portion of the org SCP baseline.
|
|
65
|
+
// The mandatory-tags SCP is always appended after these statements.
|
|
68
66
|
// scpBaselineStatements: [
|
|
69
67
|
// ScpDenyRootUserActions.statement(),
|
|
70
68
|
// ScpDenyLeavingOrganization.statement(),
|
|
69
|
+
// ScpDenyServiceActions.statement(['ecs:*']),
|
|
71
70
|
// ],
|
|
72
71
|
// SCP statements applied to every workload account of a given type, layered on
|
|
73
72
|
// top of the org-wide baseline (deny-services + mandatory-tags SCP).
|
|
@@ -398,7 +397,7 @@ scp_statements_by_account_type=dlz.ScpStatementsByAccountType(
|
|
|
398
397
|
|
|
399
398
|
| Preset | What it denies | Risk |
|
|
400
399
|
|---|---|---|
|
|
401
|
-
| `ScpDenyServiceActions(serviceActions)` | A caller-supplied list of service actions across all resources.
|
|
400
|
+
| `ScpDenyServiceActions(serviceActions)` | A caller-supplied list of service actions across all resources. Compose into `scpBaselineStatements` to deny specific services org-wide. | 🟢 |
|
|
402
401
|
| `ScpDenyCfnStacksWithoutStandardTags(tags)` | `cloudformation:CreateStack` unless every required tag is present. Backs the mandatory-tags SCP. | 🟡 |
|
|
403
402
|
| `ScpDenyIamWithoutPermissionsBoundary` | Creating/modifying IAM users or roles unless the `IamPolicyPermissionBoundaryPolicy` boundary is attached (4 statements). Pairs with `iamPolicyPermissionBoundary` prop. | 🟡 |
|
|
404
403
|
|
package/docs/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
22
|
package/docs/astro.config.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import react from '@astrojs/react';
|
|
1
2
|
import starlight from '@astrojs/starlight';
|
|
3
|
+
import tailwind from '@astrojs/tailwind';
|
|
2
4
|
import { defineConfig } from 'astro/config';
|
|
3
5
|
import rehypeMermaid from "rehype-mermaid";
|
|
4
6
|
import starlightImageZoom from 'starlight-image-zoom';
|
|
@@ -24,6 +26,18 @@ interface HeadConfig {
|
|
|
24
26
|
content?: string;
|
|
25
27
|
}
|
|
26
28
|
let head: HeadConfig[] = [
|
|
29
|
+
{
|
|
30
|
+
tag: 'link',
|
|
31
|
+
attrs: { rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
tag: 'link',
|
|
35
|
+
attrs: { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: true },
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
tag: 'link',
|
|
39
|
+
attrs: { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap' },
|
|
40
|
+
},
|
|
27
41
|
{
|
|
28
42
|
tag: 'meta',
|
|
29
43
|
attrs: { property: 'og:image', content: ogUrl },
|
|
@@ -47,6 +61,14 @@ if(trackAnalytics) {
|
|
|
47
61
|
defer: true,
|
|
48
62
|
},
|
|
49
63
|
});
|
|
64
|
+
head.push({
|
|
65
|
+
tag: 'script',
|
|
66
|
+
attrs: {
|
|
67
|
+
src: 'https://analytics.ahrefs.com/analytics.js',
|
|
68
|
+
'data-key': 'Wh1PimduiuUMCcjXU/fyVA',
|
|
69
|
+
async: true,
|
|
70
|
+
},
|
|
71
|
+
});
|
|
50
72
|
}
|
|
51
73
|
|
|
52
74
|
export default defineConfig({
|
|
@@ -54,11 +76,21 @@ export default defineConfig({
|
|
|
54
76
|
devToolbar: {
|
|
55
77
|
enabled: false,
|
|
56
78
|
},
|
|
57
|
-
|
|
79
|
+
vite: {
|
|
80
|
+
esbuild: {
|
|
81
|
+
include: /\.(tsx?|jsx?)$/,
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
integrations: [
|
|
85
|
+
// react({ include: ['**/*.tsx', '**/*.jsx'] }),
|
|
86
|
+
// tailwind({ applyBaseStyles: false }),
|
|
87
|
+
{ name: '@astrojs/sitemap', hooks: {} },
|
|
88
|
+
starlight({
|
|
58
89
|
title: 'Data Landing Zone',
|
|
59
|
-
favicon: 'favicon.
|
|
90
|
+
favicon: '/favicon.svg',
|
|
60
91
|
components: {
|
|
61
92
|
Footer: './src/components/Footer.astro',
|
|
93
|
+
Header: './src/components/Header.astro',
|
|
62
94
|
},
|
|
63
95
|
social: {
|
|
64
96
|
github: 'https://github.com/DataChefHQ/aws-data-landing-zone',
|
|
@@ -189,7 +221,8 @@ export default defineConfig({
|
|
|
189
221
|
'./src/styles/custom.css',
|
|
190
222
|
],
|
|
191
223
|
plugins: [starlightImageZoom()],
|
|
192
|
-
})
|
|
224
|
+
})
|
|
225
|
+
],
|
|
193
226
|
markdown: {
|
|
194
227
|
rehypePlugins: [[rehypeMermaid, { strategy: "img-png", mermaidConfig: { theme: 'neutral' } }]], // CSS styles do not apply, have to inline
|
|
195
228
|
// rehypePlugins: [ rehypeMermaid ], //For occasional testing, see the SVG component and class names
|