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
|
@@ -15,7 +15,7 @@ statements from a tier above it.
|
|
|
15
15
|
|
|
16
16
|
| Tier | Applies to | Configured via |
|
|
17
17
|
|-------------------|---------------------------|---------------------------------------------------------|
|
|
18
|
-
| Org baseline | Every workload account | `scpBaselineStatements`
|
|
18
|
+
| Org baseline | Every workload account | `scpBaselineStatements` |
|
|
19
19
|
| Per-account-type | All accounts of one type | `scpStatementsByAccountType.{development \| production}` |
|
|
20
20
|
| Per-account | One specific account | `DLzAccount.scpStatements` |
|
|
21
21
|
|
|
@@ -60,6 +60,7 @@ where required.
|
|
|
60
60
|
| `ScpDenySavingsPlanPurchases` | Block purchasing Savings Plans. |
|
|
61
61
|
| `ScpDenyBedrockProvisionedThroughput` | Block creating Bedrock Provisioned Throughput. |
|
|
62
62
|
| `ScpDenyCfnStacksWithoutStandardTags` | Require mandatory tags on CloudFormation stacks (always appended). |
|
|
63
|
+
| `ScpDenyResourceCreationWithoutStandardTags` | Require mandatory tags on direct resource creation (opt-in; see below). |
|
|
63
64
|
|
|
64
65
|
## Defining a baseline
|
|
65
66
|
|
|
@@ -222,25 +223,46 @@ Use `scpStatements` on a `DLzAccount` for one-off restrictions that only apply t
|
|
|
222
223
|
</Fragment>
|
|
223
224
|
</DualCode>
|
|
224
225
|
|
|
225
|
-
##
|
|
226
|
+
## Enforcing mandatory tags on resource creation
|
|
226
227
|
|
|
227
|
-
|
|
228
|
-
strings to deny in the org baseline. It is still supported for the simple case but is **deprecated** in favor of
|
|
229
|
-
`scpBaselineStatements` with `ScpDenyServiceActions`.
|
|
228
|
+
`mandatoryTags` has three enforcement layers, and none is a blanket "every resource must be tagged" gate:
|
|
230
229
|
|
|
231
|
-
|
|
230
|
+
- **Tag policy.** Enforces allowed *values* on tagging operations for supported services. It cannot require a tag to be *present* at creation, so an untagged resource is still allowed.
|
|
231
|
+
- **`ScpDenyCfnStacksWithoutStandardTags`.** Hard-denies, but only `cloudformation:CreateStack`. Resources created directly via console, CLI, or SDK never hit `CreateStack`, so they bypass it.
|
|
232
|
+
- **AWS Config `REQUIRED_TAGS` rule.** Detective only. It flags non-compliant resources after the fact.
|
|
233
|
+
|
|
234
|
+
To make tag presence a hard stop on direct resource creation, add the opt-in `ScpDenyResourceCreationWithoutStandardTags` preset. It emits one `Deny` per tag key (so a single missing tag blocks the request) over a list of create actions you supply, and it exempts the Control Tower execution role.
|
|
235
|
+
|
|
236
|
+
It is **not** part of the baseline. You add it deliberately, because it takes three conscious choices:
|
|
237
|
+
|
|
238
|
+
- **Which actions to gate.** Only include create actions that support `aws:RequestTag` at creation. An action that cannot carry request tags would have the tag permanently absent and be denied outright. `iam:CreateGroup` is one such case (its reference row lists no tag condition keys), which is why it is excluded from the IAM set below. The preset ships four ready-made action sets (in the table below), each verified against the [AWS Service Authorization Reference](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html). Verify anything you add the same way.
|
|
239
|
+
- **Body size.** The rendered policy grows with `actions` × `tagKeys`. DLZ packs the entire baseline + account-type + per-account tier into a **single** SCP per account and validates that one body against the 5120-byte limit at synth (see [Validation](#validation)); it does not auto-split. Each action set fits its own SCP, but two large sets in one account will overflow, so plan to pick one or split across account tiers.
|
|
240
|
+
- **Value enforcement stays with the tag policy.** This preset checks presence only.
|
|
241
|
+
|
|
242
|
+
The preset exposes four verified action sets (each a `public static readonly string[]`). Spread the ones you want into `statements()`:
|
|
243
|
+
|
|
244
|
+
| Action set | Covers | Approx. SCP body (×5 tag keys) |
|
|
245
|
+
|---|---|---|
|
|
246
|
+
| `CORE_TAG_ON_CREATE_ACTIONS` | Core compute/data (EC2, RDS, DynamoDB, Lambda, EKS/ECS, SQS/SNS, KMS, Secrets Manager, ELB, Redshift) | ~2.8 KB |
|
|
247
|
+
| `DATA_PLATFORM_TAG_ON_CREATE_ACTIONS` | Analytics/ML (Glue, Athena, EMR, Firehose, MSK, OpenSearch `es:CreateDomain`, Redshift Serverless, Step Functions, SageMaker, Bedrock) | ~4.1 KB |
|
|
248
|
+
| `INFRA_TAG_ON_CREATE_ACTIONS` | Networking/storage/compute (CloudWatch Logs, ECR, EFS, ElastiCache, Auto Scaling, extra EC2, EKS node groups, RDS sub-resources) | ~3.8 KB |
|
|
249
|
+
| `IAM_TAG_ON_CREATE_ACTIONS` | `iam:CreateUser`, `iam:CreateRole`, `iam:CreatePolicy` (excludes `iam:CreateGroup`, which has no tag support) | ~1.4 KB |
|
|
232
250
|
|
|
233
251
|
<DualCode>
|
|
234
252
|
<Fragment slot="ts">
|
|
235
253
|
```ts
|
|
236
|
-
import {
|
|
237
|
-
|
|
254
|
+
import {
|
|
255
|
+
DataLandingZone,
|
|
256
|
+
ScpDenyResourceCreationWithoutStandardTags,
|
|
257
|
+
} from 'aws-data-landing-zone';
|
|
238
258
|
|
|
239
|
-
const
|
|
259
|
+
const Preset = ScpDenyResourceCreationWithoutStandardTags;
|
|
240
260
|
const dlz = new DataLandingZone(app, {
|
|
241
|
-
|
|
242
|
-
...
|
|
243
|
-
|
|
261
|
+
scpBaselineStatements: [
|
|
262
|
+
...Preset.statements([
|
|
263
|
+
...Preset.CORE_TAG_ON_CREATE_ACTIONS,
|
|
264
|
+
...Preset.IAM_TAG_ON_CREATE_ACTIONS,
|
|
265
|
+
]),
|
|
244
266
|
],
|
|
245
267
|
...
|
|
246
268
|
});
|
|
@@ -248,14 +270,15 @@ strings to deny in the org baseline. It is still supported for the simple case b
|
|
|
248
270
|
</Fragment>
|
|
249
271
|
<Fragment slot="python">
|
|
250
272
|
```python
|
|
251
|
-
import aws_cdk as cdk
|
|
252
273
|
import aws_data_landing_zone as dlz
|
|
253
274
|
|
|
254
|
-
|
|
275
|
+
preset = dlz.ScpDenyResourceCreationWithoutStandardTags
|
|
255
276
|
dlz.DataLandingZone(app,
|
|
256
|
-
|
|
257
|
-
*
|
|
258
|
-
|
|
277
|
+
scp_baseline_statements=[
|
|
278
|
+
*preset.statements([
|
|
279
|
+
*preset.CORE_TAG_ON_CREATE_ACTIONS,
|
|
280
|
+
*preset.IAM_TAG_ON_CREATE_ACTIONS,
|
|
281
|
+
]),
|
|
259
282
|
],
|
|
260
283
|
...
|
|
261
284
|
)
|
|
@@ -263,8 +286,7 @@ strings to deny in the org baseline. It is still supported for the simple case b
|
|
|
263
286
|
</Fragment>
|
|
264
287
|
</DualCode>
|
|
265
288
|
|
|
266
|
-
|
|
267
|
-
[here](https://github.com/DataChefHQ/aws-data-landing-zone/blob/main/src/defaults.ts).
|
|
289
|
+
By default it requires the five canonical mandatory tag keys (`Owner`, `Project`, `Environment`, `CostCenter`, `Domain`). Pass a second argument to require a different set, e.g. when you also gate `additionalMandatoryTags`.
|
|
268
290
|
|
|
269
291
|
## Validation
|
|
270
292
|
|
|
@@ -279,6 +301,5 @@ This catches misconfiguration before any CloudFormation deployment runs.
|
|
|
279
301
|
## API References
|
|
280
302
|
- [DataLandingZoneProps.scpBaselineStatements](/reference/api/#aws-data-landing-zone.DataLandingZoneProps.property.scpBaselineStatements)
|
|
281
303
|
- [DataLandingZoneProps.scpStatementsByAccountType](/reference/api/#aws-data-landing-zone.DataLandingZoneProps.property.scpStatementsByAccountType)
|
|
282
|
-
- [DataLandingZoneProps.denyServiceList](/reference/api/#aws-data-landing-zone.DataLandingZoneProps.property.denyServiceList)
|
|
283
304
|
- [DLzAccount.scpStatements](/reference/api/#aws-data-landing-zone.DLzAccount.property.scpStatements)
|
|
284
305
|
- [ScpStatementsByAccountType](/reference/api/#aws-data-landing-zone.ScpStatementsByAccountType)
|
|
@@ -182,10 +182,6 @@ approvals in production environments.
|
|
|
182
182
|
}),
|
|
183
183
|
],
|
|
184
184
|
},
|
|
185
|
-
denyServiceList: [
|
|
186
|
-
...Defaults.denyServiceList(),
|
|
187
|
-
'ecs:*',
|
|
188
|
-
],
|
|
189
185
|
organization: {
|
|
190
186
|
organizationId: 'o-0f5h921gk9',
|
|
191
187
|
root: { accounts: { management: { accountId: '123456789012', }, }, },
|
|
@@ -10880,6 +10880,7 @@ new ManagementGlobalStack(scope: Construct, stackProps: ManagementGlobalStackPro
|
|
|
10880
10880
|
| <code><a href="#aws-data-landing-zone.ManagementGlobalStack.iamPermissionBoundary">iamPermissionBoundary</a></code> | IAM Policy Permission Boundary. |
|
|
10881
10881
|
| <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. |
|
|
10882
10882
|
| <code><a href="#aws-data-landing-zone.ManagementGlobalStack.workloadAccountsOrgPolicies">workloadAccountsOrgPolicies</a></code> | Per-account SCPs and tag policies. |
|
|
10883
|
+
| <code><a href="#aws-data-landing-zone.ManagementGlobalStack.workloadsOuPolicies">workloadsOuPolicies</a></code> | Standalone SCPs attached to the Workloads OU, inherited by every workload account. |
|
|
10883
10884
|
|
|
10884
10885
|
---
|
|
10885
10886
|
|
|
@@ -11378,6 +11379,17 @@ Per-account SCPs and tag policies.
|
|
|
11378
11379
|
|
|
11379
11380
|
Tiers: baseline -> account-type -> per-account (additive).
|
|
11380
11381
|
|
|
11382
|
+
##### `workloadsOuPolicies` <a name="workloadsOuPolicies" id="aws-data-landing-zone.ManagementGlobalStack.workloadsOuPolicies"></a>
|
|
11383
|
+
|
|
11384
|
+
```typescript
|
|
11385
|
+
public workloadsOuPolicies(): void
|
|
11386
|
+
```
|
|
11387
|
+
|
|
11388
|
+
Standalone SCPs attached to the Workloads OU, inherited by every workload account.
|
|
11389
|
+
|
|
11390
|
+
Preferred over per-account SCPs for a rule that applies uniformly org-wide: one policy,
|
|
11391
|
+
no per-account duplication, and inherited SCPs don't consume any account's slots.
|
|
11392
|
+
|
|
11381
11393
|
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
11382
11394
|
|
|
11383
11395
|
| **Name** | **Description** |
|
|
@@ -21570,7 +21582,6 @@ const dataLandingZoneProps: DataLandingZoneProps = { ... }
|
|
|
21570
21582
|
| <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.* |
|
|
21571
21583
|
| <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). |
|
|
21572
21584
|
| <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. |
|
|
21573
|
-
| <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. |
|
|
21574
21585
|
| <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.* |
|
|
21575
21586
|
| <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. |
|
|
21576
21587
|
| <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. |
|
|
@@ -21685,24 +21696,6 @@ acts as the fallback.
|
|
|
21685
21696
|
|
|
21686
21697
|
---
|
|
21687
21698
|
|
|
21688
|
-
##### ~~`denyServiceList`~~<sup>Optional</sup> <a name="denyServiceList" id="aws-data-landing-zone.DataLandingZoneProps.property.denyServiceList"></a>
|
|
21689
|
-
|
|
21690
|
-
- *Deprecated:* Use `scpBaselineStatements` for full control over the deny-services baseline. This field
|
|
21691
|
-
remains supported for the simple "deny these service actions" case.
|
|
21692
|
-
|
|
21693
|
-
```typescript
|
|
21694
|
-
public readonly denyServiceList: string[];
|
|
21695
|
-
```
|
|
21696
|
-
|
|
21697
|
-
- *Type:* string[]
|
|
21698
|
-
- *Default:* Defaults.denyServiceList() (empty list)
|
|
21699
|
-
|
|
21700
|
-
List of services to deny in the organization SCP baseline. Empty by default — opt in to deny services.
|
|
21701
|
-
|
|
21702
|
-
Cannot be used together with `scpBaselineStatements`.
|
|
21703
|
-
|
|
21704
|
-
---
|
|
21705
|
-
|
|
21706
21699
|
##### `deploymentPlatform`<sup>Optional</sup> <a name="deploymentPlatform" id="aws-data-landing-zone.DataLandingZoneProps.property.deploymentPlatform"></a>
|
|
21707
21700
|
|
|
21708
21701
|
```typescript
|
|
@@ -21841,14 +21834,12 @@ public readonly scpBaselineStatements: PolicyStatement[];
|
|
|
21841
21834
|
```
|
|
21842
21835
|
|
|
21843
21836
|
- *Type:* aws-cdk-lib.aws_iam.PolicyStatement[]
|
|
21844
|
-
- *Default:*
|
|
21837
|
+
- *Default:* only the mandatory-tags SCP is applied
|
|
21845
21838
|
|
|
21846
21839
|
Replaces the deny-services portion of the org SCP baseline applied to every workload account.
|
|
21847
21840
|
|
|
21848
21841
|
The mandatory-tags SCP is always appended after these statements and cannot be opted out of.
|
|
21849
21842
|
|
|
21850
|
-
Cannot be used together with `denyServiceList`.
|
|
21851
|
-
|
|
21852
21843
|
---
|
|
21853
21844
|
|
|
21854
21845
|
##### `scpStatementsByAccountType`<sup>Optional</sup> <a name="scpStatementsByAccountType" id="aws-data-landing-zone.DataLandingZoneProps.property.scpStatementsByAccountType"></a>
|
|
@@ -21950,6 +21941,7 @@ const dLzAccount: DLzAccount = { ... }
|
|
|
21950
21941
|
| <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. |
|
|
21951
21942
|
| <code><a href="#aws-data-landing-zone.DLzAccount.property.monthlyBudget">monthlyBudget</a></code> | <code>number</code> | Monthly budget cap in USD. |
|
|
21952
21943
|
| <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. |
|
|
21944
|
+
| <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. |
|
|
21953
21945
|
| <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.* |
|
|
21954
21946
|
|
|
21955
21947
|
---
|
|
@@ -22154,6 +22146,27 @@ Additive only.
|
|
|
22154
22146
|
|
|
22155
22147
|
---
|
|
22156
22148
|
|
|
22149
|
+
##### `standaloneScps`<sup>Optional</sup> <a name="standaloneScps" id="aws-data-landing-zone.DLzAccount.property.standaloneScps"></a>
|
|
22150
|
+
|
|
22151
|
+
```typescript
|
|
22152
|
+
public readonly standaloneScps: DlzStandaloneScp[];
|
|
22153
|
+
```
|
|
22154
|
+
|
|
22155
|
+
- *Type:* <a href="#aws-data-landing-zone.DlzStandaloneScp">DlzStandaloneScp</a>[]
|
|
22156
|
+
- *Default:* no standalone SCPs
|
|
22157
|
+
|
|
22158
|
+
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.
|
|
22159
|
+
|
|
22160
|
+
Use this to give a distinct rule set its own
|
|
22161
|
+
10,240-char budget (rather than sharing the merged document) — each entry becomes one SCP.
|
|
22162
|
+
|
|
22163
|
+
All SCPs directly attached to the account (the AWS-managed `FullAWSAccess` + the merged
|
|
22164
|
+
DLZ SCP + these standalone entries) must total <= 10 (AWS's per-target limit); synth
|
|
22165
|
+
fails otherwise. For a uniform rule across many accounts, prefer attaching one SCP at
|
|
22166
|
+
the OU level instead — inherited SCPs don't consume any account's slots.
|
|
22167
|
+
|
|
22168
|
+
---
|
|
22169
|
+
|
|
22157
22170
|
##### `vpcs`<sup>Optional</sup> <a name="vpcs" id="aws-data-landing-zone.DLzAccount.property.vpcs"></a>
|
|
22158
22171
|
|
|
22159
22172
|
```typescript
|
|
@@ -23819,6 +23832,7 @@ const dlzFinOpsAccountTags: DlzFinOpsAccountTags = { ... }
|
|
|
23819
23832
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.costCenter">costCenter</a></code> | <code>string</code> | *No description.* |
|
|
23820
23833
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.domain">domain</a></code> | <code>string</code> | *No description.* |
|
|
23821
23834
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.environment">environment</a></code> | <code>string</code> | *No description.* |
|
|
23835
|
+
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.name">name</a></code> | <code>string</code> | *No description.* |
|
|
23822
23836
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.owner">owner</a></code> | <code>string</code> | *No description.* |
|
|
23823
23837
|
| <code><a href="#aws-data-landing-zone.DlzFinOpsAccountTags.property.project">project</a></code> | <code>string</code> | *No description.* |
|
|
23824
23838
|
|
|
@@ -23857,6 +23871,17 @@ public readonly environment: string;
|
|
|
23857
23871
|
|
|
23858
23872
|
---
|
|
23859
23873
|
|
|
23874
|
+
##### `name`<sup>Optional</sup> <a name="name" id="aws-data-landing-zone.DlzFinOpsAccountTags.property.name"></a>
|
|
23875
|
+
|
|
23876
|
+
```typescript
|
|
23877
|
+
public readonly name: string;
|
|
23878
|
+
```
|
|
23879
|
+
|
|
23880
|
+
- *Type:* string
|
|
23881
|
+
- *Default:* 'dlz'
|
|
23882
|
+
|
|
23883
|
+
---
|
|
23884
|
+
|
|
23860
23885
|
##### `owner`<sup>Optional</sup> <a name="owner" id="aws-data-landing-zone.DlzFinOpsAccountTags.property.owner"></a>
|
|
23861
23886
|
|
|
23862
23887
|
```typescript
|
|
@@ -25267,6 +25292,66 @@ public readonly stage: ExpressStage;
|
|
|
25267
25292
|
|
|
25268
25293
|
---
|
|
25269
25294
|
|
|
25295
|
+
### DlzStandaloneScp <a name="DlzStandaloneScp" id="aws-data-landing-zone.DlzStandaloneScp"></a>
|
|
25296
|
+
|
|
25297
|
+
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.
|
|
25298
|
+
|
|
25299
|
+
Use this to keep a distinct rule set
|
|
25300
|
+
(e.g. tag-on-create enforcement) in its own policy so it has its own 10,240-char budget
|
|
25301
|
+
instead of competing for space in the merged document. If one policy's statements exceed
|
|
25302
|
+
that limit, split them across multiple entries — each entry becomes a separate SCP.
|
|
25303
|
+
|
|
25304
|
+
Every SCP directly attached to the account counts toward AWS's limit of 10 per target —
|
|
25305
|
+
that includes the AWS-managed `FullAWSAccess`, the merged DLZ SCP, and each of these
|
|
25306
|
+
standalone entries. (SCPs inherited from a parent OU do NOT count.)
|
|
25307
|
+
|
|
25308
|
+
#### Initializer <a name="Initializer" id="aws-data-landing-zone.DlzStandaloneScp.Initializer"></a>
|
|
25309
|
+
|
|
25310
|
+
```typescript
|
|
25311
|
+
import { DlzStandaloneScp } from 'aws-data-landing-zone'
|
|
25312
|
+
|
|
25313
|
+
const dlzStandaloneScp: DlzStandaloneScp = { ... }
|
|
25314
|
+
```
|
|
25315
|
+
|
|
25316
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
25317
|
+
|
|
25318
|
+
| **Name** | **Type** | **Description** |
|
|
25319
|
+
| --- | --- | --- |
|
|
25320
|
+
| <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. |
|
|
25321
|
+
| <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>`). |
|
|
25322
|
+
|
|
25323
|
+
---
|
|
25324
|
+
|
|
25325
|
+
##### `statements`<sup>Required</sup> <a name="statements" id="aws-data-landing-zone.DlzStandaloneScp.property.statements"></a>
|
|
25326
|
+
|
|
25327
|
+
```typescript
|
|
25328
|
+
public readonly statements: PolicyStatement[];
|
|
25329
|
+
```
|
|
25330
|
+
|
|
25331
|
+
- *Type:* aws-cdk-lib.aws_iam.PolicyStatement[]
|
|
25332
|
+
|
|
25333
|
+
Statements for this one SCP.
|
|
25334
|
+
|
|
25335
|
+
Rendered as a single policy document, which must be
|
|
25336
|
+
<= 10,240 characters. Synth fails otherwise — split into another entry.
|
|
25337
|
+
|
|
25338
|
+
---
|
|
25339
|
+
|
|
25340
|
+
##### `nameSuffix`<sup>Optional</sup> <a name="nameSuffix" id="aws-data-landing-zone.DlzStandaloneScp.property.nameSuffix"></a>
|
|
25341
|
+
|
|
25342
|
+
```typescript
|
|
25343
|
+
public readonly nameSuffix: string;
|
|
25344
|
+
```
|
|
25345
|
+
|
|
25346
|
+
- *Type:* string
|
|
25347
|
+
- *Default:* the entry's index in the list (e.g. `standalone-0`)
|
|
25348
|
+
|
|
25349
|
+
Suffix for the policy name/id (`scp-<account>-<nameSuffix>`).
|
|
25350
|
+
|
|
25351
|
+
Must be unique within the account.
|
|
25352
|
+
|
|
25353
|
+
---
|
|
25354
|
+
|
|
25270
25355
|
### DlzStandardCur20Config <a name="DlzStandardCur20Config" id="aws-data-landing-zone.DlzStandardCur20Config"></a>
|
|
25271
25356
|
|
|
25272
25357
|
#### Initializer <a name="Initializer" id="aws-data-landing-zone.DlzStandardCur20Config.Initializer"></a>
|
|
@@ -28507,6 +28592,7 @@ const orgOuWorkloads: OrgOuWorkloads = { ... }
|
|
|
28507
28592
|
| --- | --- | --- |
|
|
28508
28593
|
| <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.* |
|
|
28509
28594
|
| <code><a href="#aws-data-landing-zone.OrgOuWorkloads.property.ouId">ouId</a></code> | <code>string</code> | *No description.* |
|
|
28595
|
+
| <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. |
|
|
28510
28596
|
|
|
28511
28597
|
---
|
|
28512
28598
|
|
|
@@ -28530,6 +28616,25 @@ public readonly ouId: string;
|
|
|
28530
28616
|
|
|
28531
28617
|
---
|
|
28532
28618
|
|
|
28619
|
+
##### `standaloneScps`<sup>Optional</sup> <a name="standaloneScps" id="aws-data-landing-zone.OrgOuWorkloads.property.standaloneScps"></a>
|
|
28620
|
+
|
|
28621
|
+
```typescript
|
|
28622
|
+
public readonly standaloneScps: DlzStandaloneScp[];
|
|
28623
|
+
```
|
|
28624
|
+
|
|
28625
|
+
- *Type:* <a href="#aws-data-landing-zone.DlzStandaloneScp">DlzStandaloneScp</a>[]
|
|
28626
|
+
- *Default:* no OU-level standalone SCPs
|
|
28627
|
+
|
|
28628
|
+
Standalone SCPs attached to the Workloads OU itself, each emitted as its own `AWS::Organizations::Policy` targeting the OU.
|
|
28629
|
+
|
|
28630
|
+
Every workload account **inherits** these,
|
|
28631
|
+
and inherited SCPs do NOT count toward any account's per-target SCP limit — so this is
|
|
28632
|
+
the right place for a rule that applies uniformly to all workload accounts (one policy,
|
|
28633
|
+
no per-account duplication). For a rule specific to one account, use
|
|
28634
|
+
`DLzAccount.standaloneScps` instead.
|
|
28635
|
+
|
|
28636
|
+
---
|
|
28637
|
+
|
|
28533
28638
|
### OrgRootAccounts <a name="OrgRootAccounts" id="aws-data-landing-zone.OrgRootAccounts"></a>
|
|
28534
28639
|
|
|
28535
28640
|
#### Initializer <a name="Initializer" id="aws-data-landing-zone.OrgRootAccounts.Initializer"></a>
|
|
@@ -29968,7 +30073,6 @@ new Defaults()
|
|
|
29968
30073
|
| <code><a href="#aws-data-landing-zone.Defaults.budgets">budgets</a></code> | *No description.* |
|
|
29969
30074
|
| <code><a href="#aws-data-landing-zone.Defaults.carbonEmissionsQueryColumns">carbonEmissionsQueryColumns</a></code> | Default query-column projection for `CARBON_EMISSIONS` exports. |
|
|
29970
30075
|
| <code><a href="#aws-data-landing-zone.Defaults.corQueryColumns">corQueryColumns</a></code> | Default query-column projection for `COST_OPTIMIZATION_RECOMMENDATIONS` exports. |
|
|
29971
|
-
| <code><a href="#aws-data-landing-zone.Defaults.denyServiceList">denyServiceList</a></code> | * List of services that are denied in the organization. |
|
|
29972
30076
|
| <code><a href="#aws-data-landing-zone.Defaults.focus12QueryColumns">focus12QueryColumns</a></code> | Default query-column projection for `FOCUS_1_2` exports. |
|
|
29973
30077
|
| <code><a href="#aws-data-landing-zone.Defaults.guardDutyFeatures">guardDutyFeatures</a></code> | Default GuardDuty features. |
|
|
29974
30078
|
| <code><a href="#aws-data-landing-zone.Defaults.iamIdentityCenterPermissionSets">iamIdentityCenterPermissionSets</a></code> | Provides the AWS managed policy `AdministratorAccess` and `ReadOnlyAccess` as permission sets. |
|
|
@@ -30036,18 +30140,6 @@ Default query-column projection for `COST_OPTIMIZATION_RECOMMENDATIONS` exports.
|
|
|
30036
30140
|
|
|
30037
30141
|
jsii-friendly accessor for the underlying `DLZ_COR_DEFAULT_QUERY_COLUMNS` constant.
|
|
30038
30142
|
|
|
30039
|
-
##### `denyServiceList` <a name="denyServiceList" id="aws-data-landing-zone.Defaults.denyServiceList"></a>
|
|
30040
|
-
|
|
30041
|
-
```typescript
|
|
30042
|
-
import { Defaults } from 'aws-data-landing-zone'
|
|
30043
|
-
|
|
30044
|
-
Defaults.denyServiceList()
|
|
30045
|
-
```
|
|
30046
|
-
|
|
30047
|
-
* List of services that are denied in the organization.
|
|
30048
|
-
|
|
30049
|
-
Empty by default — opt in to deny services.
|
|
30050
|
-
|
|
30051
30143
|
##### `focus12QueryColumns` <a name="focus12QueryColumns" id="aws-data-landing-zone.Defaults.focus12QueryColumns"></a>
|
|
30052
30144
|
|
|
30053
30145
|
```typescript
|
|
@@ -31683,6 +31775,140 @@ ScpDenyReservedCapacityPurchases.statement()
|
|
|
31683
31775
|
|
|
31684
31776
|
|
|
31685
31777
|
|
|
31778
|
+
### ScpDenyResourceCreationWithoutStandardTags <a name="ScpDenyResourceCreationWithoutStandardTags" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags"></a>
|
|
31779
|
+
|
|
31780
|
+
Opt-in SCP statements that deny the given create actions unless every mandatory tag is present at creation (`aws:RequestTag`).
|
|
31781
|
+
|
|
31782
|
+
This covers direct console/CLI/SDK creation, which `ScpDenyCfnStacksWithoutStandardTags`
|
|
31783
|
+
(CloudFormation only) does not. Tag presence is checked, not values; values stay with the tag policy. It is
|
|
31784
|
+
not in the baseline, so add it yourself.
|
|
31785
|
+
|
|
31786
|
+
`statements()` returns one Deny per tag key on purpose: IAM joins keys in a single `Null` block with AND, so
|
|
31787
|
+
one combined statement would only deny when every tag is absent. Gate only actions that support
|
|
31788
|
+
`aws:RequestTag` at creation. The action-set constants below are composable (spread the ones you want into
|
|
31789
|
+
`statements()`) and were verified against the AWS Service Authorization Reference.
|
|
31790
|
+
|
|
31791
|
+
#### Initializers <a name="Initializers" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.Initializer"></a>
|
|
31792
|
+
|
|
31793
|
+
```typescript
|
|
31794
|
+
import { ScpDenyResourceCreationWithoutStandardTags } from 'aws-data-landing-zone'
|
|
31795
|
+
|
|
31796
|
+
new ScpDenyResourceCreationWithoutStandardTags()
|
|
31797
|
+
```
|
|
31798
|
+
|
|
31799
|
+
| **Name** | **Type** | **Description** |
|
|
31800
|
+
| --- | --- | --- |
|
|
31801
|
+
|
|
31802
|
+
---
|
|
31803
|
+
|
|
31804
|
+
|
|
31805
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
31806
|
+
|
|
31807
|
+
| **Name** | **Description** |
|
|
31808
|
+
| --- | --- |
|
|
31809
|
+
| <code><a href="#aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.statements">statements</a></code> | One Deny per tag key over `actions`. |
|
|
31810
|
+
|
|
31811
|
+
---
|
|
31812
|
+
|
|
31813
|
+
##### `statements` <a name="statements" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.statements"></a>
|
|
31814
|
+
|
|
31815
|
+
```typescript
|
|
31816
|
+
import { ScpDenyResourceCreationWithoutStandardTags } from 'aws-data-landing-zone'
|
|
31817
|
+
|
|
31818
|
+
ScpDenyResourceCreationWithoutStandardTags.statements(actions: string[], tagKeys?: string[])
|
|
31819
|
+
```
|
|
31820
|
+
|
|
31821
|
+
One Deny per tag key over `actions`.
|
|
31822
|
+
|
|
31823
|
+
Tag keys default to {@link DEFAULT_TAG_KEYS}.
|
|
31824
|
+
|
|
31825
|
+
###### `actions`<sup>Required</sup> <a name="actions" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.statements.parameter.actions"></a>
|
|
31826
|
+
|
|
31827
|
+
- *Type:* string[]
|
|
31828
|
+
|
|
31829
|
+
---
|
|
31830
|
+
|
|
31831
|
+
###### `tagKeys`<sup>Optional</sup> <a name="tagKeys" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.statements.parameter.tagKeys"></a>
|
|
31832
|
+
|
|
31833
|
+
- *Type:* string[]
|
|
31834
|
+
|
|
31835
|
+
---
|
|
31836
|
+
|
|
31837
|
+
|
|
31838
|
+
#### Constants <a name="Constants" id="Constants"></a>
|
|
31839
|
+
|
|
31840
|
+
| **Name** | **Type** | **Description** |
|
|
31841
|
+
| --- | --- | --- |
|
|
31842
|
+
| <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. |
|
|
31843
|
+
| <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. |
|
|
31844
|
+
| <code><a href="#aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.DEFAULT_TAG_KEYS">DEFAULT_TAG_KEYS</a></code> | <code>string[]</code> | *No description.* |
|
|
31845
|
+
| <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. |
|
|
31846
|
+
| <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. |
|
|
31847
|
+
|
|
31848
|
+
---
|
|
31849
|
+
|
|
31850
|
+
##### `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>
|
|
31851
|
+
|
|
31852
|
+
```typescript
|
|
31853
|
+
public readonly CORE_TAG_ON_CREATE_ACTIONS: string[];
|
|
31854
|
+
```
|
|
31855
|
+
|
|
31856
|
+
- *Type:* string[]
|
|
31857
|
+
|
|
31858
|
+
Core compute and data create actions.
|
|
31859
|
+
|
|
31860
|
+
---
|
|
31861
|
+
|
|
31862
|
+
##### `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>
|
|
31863
|
+
|
|
31864
|
+
```typescript
|
|
31865
|
+
public readonly DATA_PLATFORM_TAG_ON_CREATE_ACTIONS: string[];
|
|
31866
|
+
```
|
|
31867
|
+
|
|
31868
|
+
- *Type:* string[]
|
|
31869
|
+
|
|
31870
|
+
Analytics and ML create actions.
|
|
31871
|
+
|
|
31872
|
+
OpenSearch uses `es:CreateDomain`; `opensearch:CreateDomain` does not exist.
|
|
31873
|
+
|
|
31874
|
+
---
|
|
31875
|
+
|
|
31876
|
+
##### `DEFAULT_TAG_KEYS`<sup>Required</sup> <a name="DEFAULT_TAG_KEYS" id="aws-data-landing-zone.ScpDenyResourceCreationWithoutStandardTags.property.DEFAULT_TAG_KEYS"></a>
|
|
31877
|
+
|
|
31878
|
+
```typescript
|
|
31879
|
+
public readonly DEFAULT_TAG_KEYS: string[];
|
|
31880
|
+
```
|
|
31881
|
+
|
|
31882
|
+
- *Type:* string[]
|
|
31883
|
+
|
|
31884
|
+
---
|
|
31885
|
+
|
|
31886
|
+
##### `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>
|
|
31887
|
+
|
|
31888
|
+
```typescript
|
|
31889
|
+
public readonly IAM_TAG_ON_CREATE_ACTIONS: string[];
|
|
31890
|
+
```
|
|
31891
|
+
|
|
31892
|
+
- *Type:* string[]
|
|
31893
|
+
|
|
31894
|
+
IAM create actions.
|
|
31895
|
+
|
|
31896
|
+
`iam:CreateGroup` is excluded: it carries no tag keys, so gating it would deny all group creation.
|
|
31897
|
+
|
|
31898
|
+
---
|
|
31899
|
+
|
|
31900
|
+
##### `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>
|
|
31901
|
+
|
|
31902
|
+
```typescript
|
|
31903
|
+
public readonly INFRA_TAG_ON_CREATE_ACTIONS: string[];
|
|
31904
|
+
```
|
|
31905
|
+
|
|
31906
|
+
- *Type:* string[]
|
|
31907
|
+
|
|
31908
|
+
Networking, storage, and compute create actions.
|
|
31909
|
+
|
|
31910
|
+
---
|
|
31911
|
+
|
|
31686
31912
|
### ScpDenyRootCredentialsManagementInMemberAccounts <a name="ScpDenyRootCredentialsManagementInMemberAccounts" id="aws-data-landing-zone.ScpDenyRootCredentialsManagementInMemberAccounts"></a>
|
|
31687
31913
|
|
|
31688
31914
|
Denies member-account root actions while allowing AWS Organizations centralized-root sessions (`aws:AssumedRoot`).
|
|
@@ -32007,7 +32233,12 @@ CDK custom resources need it — tighten via permission boundaries, not SCPs.
|
|
|
32007
32233
|
|
|
32008
32234
|
### ScpLimits <a name="ScpLimits" id="aws-data-landing-zone.ScpLimits"></a>
|
|
32009
32235
|
|
|
32010
|
-
AWS Organizations service quotas for SCPs.
|
|
32236
|
+
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.
|
|
32237
|
+
|
|
32238
|
+
So attaching one SCP to an OU
|
|
32239
|
+
covers every account under it at zero per-account slot cost.
|
|
32240
|
+
|
|
32241
|
+
> [https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)
|
|
32011
32242
|
|
|
32012
32243
|
#### Initializers <a name="Initializers" id="aws-data-landing-zone.ScpLimits.Initializer"></a>
|
|
32013
32244
|
|
|
@@ -57,13 +57,10 @@ resources created by the DLZ:
|
|
|
57
57
|
|
|
58
58
|
A comprehensive list of defaults referenced throughout the documentation:
|
|
59
59
|
|
|
60
|
-
- [Defaults.denyServiceList](/components/security/scps#service-deny-list-legacy): Creates two budgets, one for the organization
|
|
61
60
|
- [Defaults.budgets](/components/account-management/budgets#defaults): Creates two budgets, one for the organization
|
|
62
61
|
and another for the DLZ-managed resources.
|
|
63
62
|
- [Defaults.vpcClassB3Private3Public](/components/networking/vpcs#defaults): Creates a VPC with three public and three
|
|
64
63
|
private subnets in the `eu-west-1` region.
|
|
65
|
-
- [Defaults.denyServiceList](/components/security/scps#service-deny-list-legacy): Creates a list of services that should
|
|
66
|
-
be denied by default.
|
|
67
64
|
- [Defaults.rootControls](/components/security/control-tower-controls#defaults): Specifies a list of commonly used
|
|
68
65
|
Control Tower Controls based on best practices and data management.
|
|
69
66
|
- [Defaults.iamIdentityCenterPermissionSets](/components/identity/iam-identity-center) function creates two permission
|