aws-data-landing-zone 0.0.54 → 0.1.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.
Files changed (48) hide show
  1. package/.jsii +339 -208
  2. package/API.md +148 -20
  3. package/docs/src/content/docs/components/account-management/budgets.mdx +68 -3
  4. package/docs/src/content/docs/components/security/security-hub.mdx +1 -1
  5. package/docs/src/content/docs/reference/api.md +148 -20
  6. package/lib/constructs/account-chatbots/index.js +1 -1
  7. package/lib/constructs/dlz-budget/index.d.ts +7 -4
  8. package/lib/constructs/dlz-budget/index.js +70 -15
  9. package/lib/constructs/dlz-control-tower-control/control-tower-control.js +1 -1
  10. package/lib/constructs/dlz-lake-formation/dlz-lake-formation.js +1 -1
  11. package/lib/constructs/dlz-ssm-reader/dlz-ssm-reader-stack-cache.js +1 -1
  12. package/lib/constructs/dlz-ssm-reader/dlz-ssm-reader.js +1 -1
  13. package/lib/constructs/dlz-stack/index.js +1 -1
  14. package/lib/constructs/dlz-vpc/dlz-account-networks.js +1 -1
  15. package/lib/constructs/dlz-vpc/dlz-vpc.js +1 -1
  16. package/lib/constructs/dlz-vpc/network-address.js +1 -1
  17. package/lib/constructs/iam/iam-account-alias.js +1 -1
  18. package/lib/constructs/iam/iam-password-policy.js +1 -1
  19. package/lib/constructs/iam-identity-center/iam-identity-center-group.js +1 -1
  20. package/lib/constructs/iam-identity-center/iam-identity-center.js +1 -1
  21. package/lib/constructs/iam-identity-center/identity-store-user.js +1 -1
  22. package/lib/constructs/organization-policies/service-control-policy.js +1 -1
  23. package/lib/constructs/organization-policies/tag-policy.js +1 -1
  24. package/lib/data-landing-zone-client.js +1 -1
  25. package/lib/data-landing-zone-types.d.ts +7 -1
  26. package/lib/data-landing-zone-types.js +1 -1
  27. package/lib/data-landing-zone.js +4 -2
  28. package/lib/defaults.d.ts +3 -2
  29. package/lib/defaults.js +15 -5
  30. package/lib/lib/report/index.js +1 -1
  31. package/lib/scripts/index.js +1 -1
  32. package/lib/stacks/organization/management/management-global-iam-identity-center-stack.js +1 -1
  33. package/lib/stacks/organization/management/management-global-stack.d.ts +6 -2
  34. package/lib/stacks/organization/management/management-global-stack.js +6 -5
  35. package/lib/stacks/organization/security/audit/global-stack.js +1 -1
  36. package/lib/stacks/organization/security/audit/regional-stack.js +1 -1
  37. package/lib/stacks/organization/security/log/global-stack.js +1 -1
  38. package/lib/stacks/organization/security/log/regional-stack.js +1 -1
  39. package/lib/stacks/organization/workloads/base/global-stack.js +1 -1
  40. package/lib/stacks/organization/workloads/base/regional-stack.js +1 -1
  41. package/lib/stacks/organization/workloads/data-services-phase-1-stack/global-stack.js +1 -1
  42. package/lib/stacks/organization/workloads/data-services-phase-1-stack/regional-stack.js +1 -1
  43. package/lib/stacks/organization/workloads/network-connections-phase-1-stack/global-stack.js +1 -1
  44. package/lib/stacks/organization/workloads/network-connections-phase-2-stack/global-stack.js +1 -1
  45. package/lib/stacks/organization/workloads/network-connections-phase-2-stack/regional-stack.js +1 -1
  46. package/lib/stacks/organization/workloads/network-connections-phase-3-stack/global-stack.js +1 -1
  47. package/lib/stacks/organization/workloads/network-connections-phase-3-stack/regional-stack.js +1 -1
  48. package/package.json +1 -1
package/API.md CHANGED
@@ -6051,13 +6051,13 @@ public readonly accountName: string;
6051
6051
  ```typescript
6052
6052
  import { ManagementGlobalStack } from 'aws-data-landing-zone'
6053
6053
 
6054
- new ManagementGlobalStack(scope: Construct, stackProps: DlzStackProps, props: DataLandingZoneProps)
6054
+ new ManagementGlobalStack(scope: Construct, stackProps: ManagementGlobalStackProps, props: DataLandingZoneProps)
6055
6055
  ```
6056
6056
 
6057
6057
  | **Name** | **Type** | **Description** |
6058
6058
  | --- | --- | --- |
6059
6059
  | <code><a href="#aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
6060
- | <code><a href="#aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.stackProps">stackProps</a></code> | <code><a href="#aws-data-landing-zone.DlzStackProps">DlzStackProps</a></code> | *No description.* |
6060
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.stackProps">stackProps</a></code> | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps">ManagementGlobalStackProps</a></code> | *No description.* |
6061
6061
  | <code><a href="#aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.props">props</a></code> | <code><a href="#aws-data-landing-zone.DataLandingZoneProps">DataLandingZoneProps</a></code> | *No description.* |
6062
6062
 
6063
6063
  ---
@@ -6070,7 +6070,7 @@ new ManagementGlobalStack(scope: Construct, stackProps: DlzStackProps, props: Da
6070
6070
 
6071
6071
  ##### `stackProps`<sup>Required</sup> <a name="stackProps" id="aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.stackProps"></a>
6072
6072
 
6073
- - *Type:* <a href="#aws-data-landing-zone.DlzStackProps">DlzStackProps</a>
6073
+ - *Type:* <a href="#aws-data-landing-zone.ManagementGlobalStackProps">ManagementGlobalStackProps</a>
6074
6074
 
6075
6075
  ---
6076
6076
 
@@ -15578,7 +15578,8 @@ const budgetSubscribers: BudgetSubscribers = { ... }
15578
15578
  | **Name** | **Type** | **Description** |
15579
15579
  | --- | --- | --- |
15580
15580
  | <code><a href="#aws-data-landing-zone.BudgetSubscribers.property.emails">emails</a></code> | <code>string[]</code> | *No description.* |
15581
- | <code><a href="#aws-data-landing-zone.BudgetSubscribers.property.slack">slack</a></code> | <code><a href="#aws-data-landing-zone.SlackChannel">SlackChannel</a></code> | *No description.* |
15581
+ | <code><a href="#aws-data-landing-zone.BudgetSubscribers.property.slacks">slacks</a></code> | <code><a href="#aws-data-landing-zone.SlackChannel">SlackChannel</a>[]</code> | *No description.* |
15582
+ | <code><a href="#aws-data-landing-zone.BudgetSubscribers.property.snsTopicName">snsTopicName</a></code> | <code>string</code> | Optional, specify to reuse the same SNS topic for multiple budgets. |
15582
15583
 
15583
15584
  ---
15584
15585
 
@@ -15592,13 +15593,25 @@ public readonly emails: string[];
15592
15593
 
15593
15594
  ---
15594
15595
 
15595
- ##### `slack`<sup>Optional</sup> <a name="slack" id="aws-data-landing-zone.BudgetSubscribers.property.slack"></a>
15596
+ ##### `slacks`<sup>Optional</sup> <a name="slacks" id="aws-data-landing-zone.BudgetSubscribers.property.slacks"></a>
15596
15597
 
15597
15598
  ```typescript
15598
- public readonly slack: SlackChannel;
15599
+ public readonly slacks: SlackChannel[];
15599
15600
  ```
15600
15601
 
15601
- - *Type:* <a href="#aws-data-landing-zone.SlackChannel">SlackChannel</a>
15602
+ - *Type:* <a href="#aws-data-landing-zone.SlackChannel">SlackChannel</a>[]
15603
+
15604
+ ---
15605
+
15606
+ ##### `snsTopicName`<sup>Optional</sup> <a name="snsTopicName" id="aws-data-landing-zone.BudgetSubscribers.property.snsTopicName"></a>
15607
+
15608
+ ```typescript
15609
+ public readonly snsTopicName: string;
15610
+ ```
15611
+
15612
+ - *Type:* string
15613
+
15614
+ Optional, specify to reuse the same SNS topic for multiple budgets.
15602
15615
 
15603
15616
  ---
15604
15617
 
@@ -17825,6 +17838,7 @@ const globalVariables: GlobalVariables = { ... }
17825
17838
 
17826
17839
  | **Name** | **Type** | **Description** |
17827
17840
  | --- | --- | --- |
17841
+ | <code><a href="#aws-data-landing-zone.GlobalVariables.property.budgetSnsCache">budgetSnsCache</a></code> | <code>{[ key: string ]: <a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord">GlobalVariablesBudgetSnsCacheRecord</a>}</code> | *No description.* |
17828
17842
  | <code><a href="#aws-data-landing-zone.GlobalVariables.property.dlzAccountNetworks">dlzAccountNetworks</a></code> | <code><a href="#aws-data-landing-zone.DlzAccountNetworks">DlzAccountNetworks</a></code> | *No description.* |
17829
17843
  | <code><a href="#aws-data-landing-zone.GlobalVariables.property.ncp1">ncp1</a></code> | <code><a href="#aws-data-landing-zone.GlobalVariablesNcp1">GlobalVariablesNcp1</a></code> | *No description.* |
17830
17844
  | <code><a href="#aws-data-landing-zone.GlobalVariables.property.ncp2">ncp2</a></code> | <code><a href="#aws-data-landing-zone.GlobalVariablesNcp2">GlobalVariablesNcp2</a></code> | *No description.* |
@@ -17832,6 +17846,16 @@ const globalVariables: GlobalVariables = { ... }
17832
17846
 
17833
17847
  ---
17834
17848
 
17849
+ ##### `budgetSnsCache`<sup>Required</sup> <a name="budgetSnsCache" id="aws-data-landing-zone.GlobalVariables.property.budgetSnsCache"></a>
17850
+
17851
+ ```typescript
17852
+ public readonly budgetSnsCache: {[ key: string ]: GlobalVariablesBudgetSnsCacheRecord};
17853
+ ```
17854
+
17855
+ - *Type:* {[ key: string ]: <a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord">GlobalVariablesBudgetSnsCacheRecord</a>}
17856
+
17857
+ ---
17858
+
17835
17859
  ##### `dlzAccountNetworks`<sup>Required</sup> <a name="dlzAccountNetworks" id="aws-data-landing-zone.GlobalVariables.property.dlzAccountNetworks"></a>
17836
17860
 
17837
17861
  ```typescript
@@ -17872,6 +17896,45 @@ public readonly ncp3: GlobalVariablesNcp3;
17872
17896
 
17873
17897
  ---
17874
17898
 
17899
+ ### GlobalVariablesBudgetSnsCacheRecord <a name="GlobalVariablesBudgetSnsCacheRecord" id="aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord"></a>
17900
+
17901
+ #### Initializer <a name="Initializer" id="aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.Initializer"></a>
17902
+
17903
+ ```typescript
17904
+ import { GlobalVariablesBudgetSnsCacheRecord } from 'aws-data-landing-zone'
17905
+
17906
+ const globalVariablesBudgetSnsCacheRecord: GlobalVariablesBudgetSnsCacheRecord = { ... }
17907
+ ```
17908
+
17909
+ #### Properties <a name="Properties" id="Properties"></a>
17910
+
17911
+ | **Name** | **Type** | **Description** |
17912
+ | --- | --- | --- |
17913
+ | <code><a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.property.subscribers">subscribers</a></code> | <code><a href="#aws-data-landing-zone.BudgetSubscribers">BudgetSubscribers</a></code> | *No description.* |
17914
+ | <code><a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.property.topic">topic</a></code> | <code>aws-cdk-lib.aws_sns.Topic</code> | *No description.* |
17915
+
17916
+ ---
17917
+
17918
+ ##### `subscribers`<sup>Required</sup> <a name="subscribers" id="aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.property.subscribers"></a>
17919
+
17920
+ ```typescript
17921
+ public readonly subscribers: BudgetSubscribers;
17922
+ ```
17923
+
17924
+ - *Type:* <a href="#aws-data-landing-zone.BudgetSubscribers">BudgetSubscribers</a>
17925
+
17926
+ ---
17927
+
17928
+ ##### `topic`<sup>Required</sup> <a name="topic" id="aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.property.topic"></a>
17929
+
17930
+ ```typescript
17931
+ public readonly topic: Topic;
17932
+ ```
17933
+
17934
+ - *Type:* aws-cdk-lib.aws_sns.Topic
17935
+
17936
+ ---
17937
+
17875
17938
  ### GlobalVariablesNcp1 <a name="GlobalVariablesNcp1" id="aws-data-landing-zone.GlobalVariablesNcp1"></a>
17876
17939
 
17877
17940
  #### Initializer <a name="Initializer" id="aws-data-landing-zone.GlobalVariablesNcp1.Initializer"></a>
@@ -19030,6 +19093,67 @@ const logStacks: LogStacks = { ... }
19030
19093
  ```
19031
19094
 
19032
19095
 
19096
+ ### ManagementGlobalStackProps <a name="ManagementGlobalStackProps" id="aws-data-landing-zone.ManagementGlobalStackProps"></a>
19097
+
19098
+ #### Initializer <a name="Initializer" id="aws-data-landing-zone.ManagementGlobalStackProps.Initializer"></a>
19099
+
19100
+ ```typescript
19101
+ import { ManagementGlobalStackProps } from 'aws-data-landing-zone'
19102
+
19103
+ const managementGlobalStackProps: ManagementGlobalStackProps = { ... }
19104
+ ```
19105
+
19106
+ #### Properties <a name="Properties" id="Properties"></a>
19107
+
19108
+ | **Name** | **Type** | **Description** |
19109
+ | --- | --- | --- |
19110
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps.property.env">env</a></code> | <code>aws-cdk-lib.Environment</code> | *No description.* |
19111
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps.property.name">name</a></code> | <code><a href="#aws-data-landing-zone.DlzStackNameProps">DlzStackNameProps</a></code> | *No description.* |
19112
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps.property.stage">stage</a></code> | <code>cdk-express-pipeline.ExpressStage</code> | *No description.* |
19113
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps.property.globalVariables">globalVariables</a></code> | <code><a href="#aws-data-landing-zone.GlobalVariables">GlobalVariables</a></code> | *No description.* |
19114
+
19115
+ ---
19116
+
19117
+ ##### `env`<sup>Required</sup> <a name="env" id="aws-data-landing-zone.ManagementGlobalStackProps.property.env"></a>
19118
+
19119
+ ```typescript
19120
+ public readonly env: Environment;
19121
+ ```
19122
+
19123
+ - *Type:* aws-cdk-lib.Environment
19124
+
19125
+ ---
19126
+
19127
+ ##### `name`<sup>Required</sup> <a name="name" id="aws-data-landing-zone.ManagementGlobalStackProps.property.name"></a>
19128
+
19129
+ ```typescript
19130
+ public readonly name: DlzStackNameProps;
19131
+ ```
19132
+
19133
+ - *Type:* <a href="#aws-data-landing-zone.DlzStackNameProps">DlzStackNameProps</a>
19134
+
19135
+ ---
19136
+
19137
+ ##### `stage`<sup>Required</sup> <a name="stage" id="aws-data-landing-zone.ManagementGlobalStackProps.property.stage"></a>
19138
+
19139
+ ```typescript
19140
+ public readonly stage: ExpressStage;
19141
+ ```
19142
+
19143
+ - *Type:* cdk-express-pipeline.ExpressStage
19144
+
19145
+ ---
19146
+
19147
+ ##### `globalVariables`<sup>Required</sup> <a name="globalVariables" id="aws-data-landing-zone.ManagementGlobalStackProps.property.globalVariables"></a>
19148
+
19149
+ ```typescript
19150
+ public readonly globalVariables: GlobalVariables;
19151
+ ```
19152
+
19153
+ - *Type:* <a href="#aws-data-landing-zone.GlobalVariables">GlobalVariables</a>
19154
+
19155
+ ---
19156
+
19033
19157
  ### ManagementStacks <a name="ManagementStacks" id="aws-data-landing-zone.ManagementStacks"></a>
19034
19158
 
19035
19159
  #### Initializer <a name="Initializer" id="aws-data-landing-zone.ManagementStacks.Initializer"></a>
@@ -21092,7 +21216,7 @@ new Defaults()
21092
21216
  ```typescript
21093
21217
  import { Defaults } from 'aws-data-landing-zone'
21094
21218
 
21095
- Defaults.budgets(orgTotal: number, infraDlz: number, subscribers: BudgetSubscribers)
21219
+ Defaults.budgets(orgTotal: number, infraDlz: number, subscribers: BudgetSubscribers, _?: ForceNoPythonArgumentLifting)
21096
21220
  ```
21097
21221
 
21098
21222
  Budgets for the organization.
@@ -21121,6 +21245,14 @@ Subscribers for the budget.
21121
21245
 
21122
21246
  ---
21123
21247
 
21248
+ ###### `_`<sup>Optional</sup> <a name="_" id="aws-data-landing-zone.Defaults.budgets.parameter._"></a>
21249
+
21250
+ - *Type:* <a href="#aws-data-landing-zone.ForceNoPythonArgumentLifting">ForceNoPythonArgumentLifting</a>
21251
+
21252
+ Ignore this parameter, it is used to force a consistent interface across TS and Python usage.
21253
+
21254
+ ---
21255
+
21124
21256
  ##### `denyServiceList` <a name="denyServiceList" id="aws-data-landing-zone.Defaults.denyServiceList"></a>
21125
21257
 
21126
21258
  ```typescript
@@ -21298,7 +21430,7 @@ Given we have these NetworkEntity[]:
21298
21430
  ```typescript
21299
21431
  import { DlzBudget } from 'aws-data-landing-zone'
21300
21432
 
21301
- new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps)
21433
+ new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps, budgetSnsCache: {[ key: string ]: GlobalVariablesBudgetSnsCacheRecord})
21302
21434
  ```
21303
21435
 
21304
21436
  | **Name** | **Type** | **Description** |
@@ -21306,6 +21438,7 @@ new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps)
21306
21438
  | <code><a href="#aws-data-landing-zone.DlzBudget.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
21307
21439
  | <code><a href="#aws-data-landing-zone.DlzBudget.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
21308
21440
  | <code><a href="#aws-data-landing-zone.DlzBudget.Initializer.parameter.props">props</a></code> | <code><a href="#aws-data-landing-zone.DlzBudgetProps">DlzBudgetProps</a></code> | *No description.* |
21441
+ | <code><a href="#aws-data-landing-zone.DlzBudget.Initializer.parameter.budgetSnsCache">budgetSnsCache</a></code> | <code>{[ key: string ]: <a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord">GlobalVariablesBudgetSnsCacheRecord</a>}</code> | *No description.* |
21309
21442
 
21310
21443
  ---
21311
21444
 
@@ -21327,6 +21460,12 @@ new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps)
21327
21460
 
21328
21461
  ---
21329
21462
 
21463
+ ##### `budgetSnsCache`<sup>Required</sup> <a name="budgetSnsCache" id="aws-data-landing-zone.DlzBudget.Initializer.parameter.budgetSnsCache"></a>
21464
+
21465
+ - *Type:* {[ key: string ]: <a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord">GlobalVariablesBudgetSnsCacheRecord</a>}
21466
+
21467
+ ---
21468
+
21330
21469
 
21331
21470
 
21332
21471
  #### Properties <a name="Properties" id="Properties"></a>
@@ -21334,7 +21473,6 @@ new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps)
21334
21473
  | **Name** | **Type** | **Description** |
21335
21474
  | --- | --- | --- |
21336
21475
  | <code><a href="#aws-data-landing-zone.DlzBudget.property.cfnBudget">cfnBudget</a></code> | <code>aws-cdk-lib.aws_budgets.CfnBudget</code> | *No description.* |
21337
- | <code><a href="#aws-data-landing-zone.DlzBudget.property.notificationTopic">notificationTopic</a></code> | <code>aws-cdk-lib.aws_sns.Topic</code> | *No description.* |
21338
21476
 
21339
21477
  ---
21340
21478
 
@@ -21348,16 +21486,6 @@ public readonly cfnBudget: CfnBudget;
21348
21486
 
21349
21487
  ---
21350
21488
 
21351
- ##### `notificationTopic`<sup>Required</sup> <a name="notificationTopic" id="aws-data-landing-zone.DlzBudget.property.notificationTopic"></a>
21352
-
21353
- ```typescript
21354
- public readonly notificationTopic: Topic;
21355
- ```
21356
-
21357
- - *Type:* aws-cdk-lib.aws_sns.Topic
21358
-
21359
- ---
21360
-
21361
21489
 
21362
21490
  ### DlzControlTowerEnabledControl <a name="DlzControlTowerEnabledControl" id="aws-data-landing-zone.DlzControlTowerEnabledControl"></a>
21363
21491
 
@@ -15,7 +15,7 @@ Tags used for budget filters must be activated as Cost Allocation Tags in your a
15
15
  Budget notifications are sent via Amazon SNS, which can be configured for the following delivery methods:
16
16
  - **Email**: Each email address must confirm the notification opt-in the first time it is deployed.
17
17
  - **Slack**: Notifications are sent to a designated Slack channel. The Slack workspace must be linked to the Management
18
- Account. For setup details, see the SOP [AWS Chatbot and Slack Integration](sop-account-setup#aws-chatbot-and-slack-integration).
18
+ Account. For setup details, see the SOP [AWS Chatbot and Slack Integration](/sop/account-setup#aws-chatbot-and-slack-integration).
19
19
 
20
20
  Below is an example of creating a budget for resources tagged with `Owner: backend`. Notifications will be sent to a
21
21
  specified Slack channel and email address once the budget exceeds $100.
@@ -41,7 +41,7 @@ specified Slack channel and email address once the budget exceeds $100.
41
41
  },
42
42
  amount: 100,
43
43
  subscribers: {
44
- slack: slackBudgetNotifications,
44
+ slack: [slackBudgetNotifications],
45
45
  emails: ['you@org.com'],
46
46
  },
47
47
  },
@@ -71,7 +71,7 @@ specified Slack channel and email address once the budget exceeds $100.
71
71
  },
72
72
  "amount": 100,
73
73
  "subscribers": {
74
- "slack": slack_budget_notifications,
74
+ "slacks": [slack_budget_notifications],
75
75
  "emails": ["you@org.com"],
76
76
  },
77
77
  },
@@ -82,6 +82,71 @@ specified Slack channel and email address once the budget exceeds $100.
82
82
  </Fragment>
83
83
  </DualCode>
84
84
 
85
+ ## Reusing the same SNS Topic
86
+
87
+ Each budget creates a unique SNS topic with the name `${budget.name}-topic`. If multiple budgets share the same
88
+ subscribers, you can use a single SNS topic to reduce the number of resources and subscription confirmations.
89
+ To do this, set the `snsTopicName` property in `BudgetSubscribers`. For example:
90
+
91
+ <DualCode>
92
+ <Fragment slot="ts">
93
+ ```ts {5}
94
+ import {App} from 'aws-cdk-lib';
95
+ import { DataLandingZone, SlackChannel } from 'aws-data-landing-zone';
96
+
97
+ const subscribers: BudgetSubscribers = {
98
+ snsTopicName: 'budgets',
99
+ slacks: [{
100
+ slackChannelConfigurationName: 'budget-alerts',
101
+ slackWorkspaceId: 'YourWorkspaceId',
102
+ slackChannelId: 'YourChannelId',
103
+ }],
104
+ emails: ["you@org.com"],
105
+ };
106
+
107
+ const app = new App();
108
+ const dlz = new DataLandingZone(app, {
109
+ budgets: [
110
+ ...Defaults.budgets(100, 20, subscribers),
111
+ { name: 'budget-high', amount: 1_000, subscribers },
112
+ { name: 'budget-high-1', amount: 2_000, subscribers },
113
+ ],
114
+ ...
115
+ });
116
+ ```
117
+ </Fragment>
118
+ <Fragment slot="python" >
119
+ ```python {5}
120
+ import aws_cdk as cdk
121
+ import aws_data_landing_zone as dlz
122
+
123
+ budget_subscribers = dlz.BudgetSubscribers(
124
+ sns_topic_name= "budgets",
125
+ slacks=[
126
+ dlz.SlackChannel(
127
+ slack_channel_configuration_name="budget-alerts",
128
+ slack_workspace_id="YourWorkspaceId",
129
+ slack_channel_id="YourChannelId",
130
+ )
131
+ ],
132
+ emails=[
133
+ "you@org.com",
134
+ ]
135
+ )
136
+
137
+ app = cdk.App()
138
+ dlz.DataLandingZone(app,
139
+ budgets=[
140
+ *dlz.Defaults.budgets(org_total=500, infra_dlz=20, subscribers=budget_subscribers),
141
+ dlz.DlzBudgetProps(name="budget-high", amount=1_000, subscribers=budget_subscribers),
142
+ dlz.DlzBudgetProps(name="budget-high-1", amount=2_000, subscribers=budget_subscribers)
143
+ ],
144
+ ...
145
+ )
146
+ ```
147
+ </Fragment>
148
+ </DualCode>
149
+
85
150
  ## Defaults
86
151
 
87
152
  The construct provides two default budgets available via `Defaults.budgets`. These include:
@@ -10,7 +10,7 @@ in all regions of all accounts. Security Hub should be accessed through the Audi
10
10
  Security Hub notifications are delivered via Amazon SNS, with support for the following methods:
11
11
  - **Email**: Each email address must confirm the notification opt-in the first time it is deployed.
12
12
  - **Slack**: Notifications are sent to a designated Slack channel. The Slack workspace must be linked to the Management
13
- Account. For setup details, see the SOP [AWS Chatbot and Slack Integration](sop-account-setup#aws-chatbot-and-slack-integration).
13
+ Account. For setup details, see the SOP [AWS Chatbot and Slack Integration](/sop/account-setup#aws-chatbot-and-slack-integration).
14
14
 
15
15
  :::note
16
16
  Email notifications are unstructured JSON and may appear messy. Slack notifications are well-formatted and easy to read.
@@ -6055,13 +6055,13 @@ public readonly accountName: string;
6055
6055
  ```typescript
6056
6056
  import { ManagementGlobalStack } from 'aws-data-landing-zone'
6057
6057
 
6058
- new ManagementGlobalStack(scope: Construct, stackProps: DlzStackProps, props: DataLandingZoneProps)
6058
+ new ManagementGlobalStack(scope: Construct, stackProps: ManagementGlobalStackProps, props: DataLandingZoneProps)
6059
6059
  ```
6060
6060
 
6061
6061
  | **Name** | **Type** | **Description** |
6062
6062
  | --- | --- | --- |
6063
6063
  | <code><a href="#aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
6064
- | <code><a href="#aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.stackProps">stackProps</a></code> | <code><a href="#aws-data-landing-zone.DlzStackProps">DlzStackProps</a></code> | *No description.* |
6064
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.stackProps">stackProps</a></code> | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps">ManagementGlobalStackProps</a></code> | *No description.* |
6065
6065
  | <code><a href="#aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.props">props</a></code> | <code><a href="#aws-data-landing-zone.DataLandingZoneProps">DataLandingZoneProps</a></code> | *No description.* |
6066
6066
 
6067
6067
  ---
@@ -6074,7 +6074,7 @@ new ManagementGlobalStack(scope: Construct, stackProps: DlzStackProps, props: Da
6074
6074
 
6075
6075
  ##### `stackProps`<sup>Required</sup> <a name="stackProps" id="aws-data-landing-zone.ManagementGlobalStack.Initializer.parameter.stackProps"></a>
6076
6076
 
6077
- - *Type:* <a href="#aws-data-landing-zone.DlzStackProps">DlzStackProps</a>
6077
+ - *Type:* <a href="#aws-data-landing-zone.ManagementGlobalStackProps">ManagementGlobalStackProps</a>
6078
6078
 
6079
6079
  ---
6080
6080
 
@@ -15582,7 +15582,8 @@ const budgetSubscribers: BudgetSubscribers = { ... }
15582
15582
  | **Name** | **Type** | **Description** |
15583
15583
  | --- | --- | --- |
15584
15584
  | <code><a href="#aws-data-landing-zone.BudgetSubscribers.property.emails">emails</a></code> | <code>string[]</code> | *No description.* |
15585
- | <code><a href="#aws-data-landing-zone.BudgetSubscribers.property.slack">slack</a></code> | <code><a href="#aws-data-landing-zone.SlackChannel">SlackChannel</a></code> | *No description.* |
15585
+ | <code><a href="#aws-data-landing-zone.BudgetSubscribers.property.slacks">slacks</a></code> | <code><a href="#aws-data-landing-zone.SlackChannel">SlackChannel</a>[]</code> | *No description.* |
15586
+ | <code><a href="#aws-data-landing-zone.BudgetSubscribers.property.snsTopicName">snsTopicName</a></code> | <code>string</code> | Optional, specify to reuse the same SNS topic for multiple budgets. |
15586
15587
 
15587
15588
  ---
15588
15589
 
@@ -15596,13 +15597,25 @@ public readonly emails: string[];
15596
15597
 
15597
15598
  ---
15598
15599
 
15599
- ##### `slack`<sup>Optional</sup> <a name="slack" id="aws-data-landing-zone.BudgetSubscribers.property.slack"></a>
15600
+ ##### `slacks`<sup>Optional</sup> <a name="slacks" id="aws-data-landing-zone.BudgetSubscribers.property.slacks"></a>
15600
15601
 
15601
15602
  ```typescript
15602
- public readonly slack: SlackChannel;
15603
+ public readonly slacks: SlackChannel[];
15603
15604
  ```
15604
15605
 
15605
- - *Type:* <a href="#aws-data-landing-zone.SlackChannel">SlackChannel</a>
15606
+ - *Type:* <a href="#aws-data-landing-zone.SlackChannel">SlackChannel</a>[]
15607
+
15608
+ ---
15609
+
15610
+ ##### `snsTopicName`<sup>Optional</sup> <a name="snsTopicName" id="aws-data-landing-zone.BudgetSubscribers.property.snsTopicName"></a>
15611
+
15612
+ ```typescript
15613
+ public readonly snsTopicName: string;
15614
+ ```
15615
+
15616
+ - *Type:* string
15617
+
15618
+ Optional, specify to reuse the same SNS topic for multiple budgets.
15606
15619
 
15607
15620
  ---
15608
15621
 
@@ -17829,6 +17842,7 @@ const globalVariables: GlobalVariables = { ... }
17829
17842
 
17830
17843
  | **Name** | **Type** | **Description** |
17831
17844
  | --- | --- | --- |
17845
+ | <code><a href="#aws-data-landing-zone.GlobalVariables.property.budgetSnsCache">budgetSnsCache</a></code> | <code>{[ key: string ]: <a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord">GlobalVariablesBudgetSnsCacheRecord</a>}</code> | *No description.* |
17832
17846
  | <code><a href="#aws-data-landing-zone.GlobalVariables.property.dlzAccountNetworks">dlzAccountNetworks</a></code> | <code><a href="#aws-data-landing-zone.DlzAccountNetworks">DlzAccountNetworks</a></code> | *No description.* |
17833
17847
  | <code><a href="#aws-data-landing-zone.GlobalVariables.property.ncp1">ncp1</a></code> | <code><a href="#aws-data-landing-zone.GlobalVariablesNcp1">GlobalVariablesNcp1</a></code> | *No description.* |
17834
17848
  | <code><a href="#aws-data-landing-zone.GlobalVariables.property.ncp2">ncp2</a></code> | <code><a href="#aws-data-landing-zone.GlobalVariablesNcp2">GlobalVariablesNcp2</a></code> | *No description.* |
@@ -17836,6 +17850,16 @@ const globalVariables: GlobalVariables = { ... }
17836
17850
 
17837
17851
  ---
17838
17852
 
17853
+ ##### `budgetSnsCache`<sup>Required</sup> <a name="budgetSnsCache" id="aws-data-landing-zone.GlobalVariables.property.budgetSnsCache"></a>
17854
+
17855
+ ```typescript
17856
+ public readonly budgetSnsCache: {[ key: string ]: GlobalVariablesBudgetSnsCacheRecord};
17857
+ ```
17858
+
17859
+ - *Type:* {[ key: string ]: <a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord">GlobalVariablesBudgetSnsCacheRecord</a>}
17860
+
17861
+ ---
17862
+
17839
17863
  ##### `dlzAccountNetworks`<sup>Required</sup> <a name="dlzAccountNetworks" id="aws-data-landing-zone.GlobalVariables.property.dlzAccountNetworks"></a>
17840
17864
 
17841
17865
  ```typescript
@@ -17876,6 +17900,45 @@ public readonly ncp3: GlobalVariablesNcp3;
17876
17900
 
17877
17901
  ---
17878
17902
 
17903
+ ### GlobalVariablesBudgetSnsCacheRecord <a name="GlobalVariablesBudgetSnsCacheRecord" id="aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord"></a>
17904
+
17905
+ #### Initializer <a name="Initializer" id="aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.Initializer"></a>
17906
+
17907
+ ```typescript
17908
+ import { GlobalVariablesBudgetSnsCacheRecord } from 'aws-data-landing-zone'
17909
+
17910
+ const globalVariablesBudgetSnsCacheRecord: GlobalVariablesBudgetSnsCacheRecord = { ... }
17911
+ ```
17912
+
17913
+ #### Properties <a name="Properties" id="Properties"></a>
17914
+
17915
+ | **Name** | **Type** | **Description** |
17916
+ | --- | --- | --- |
17917
+ | <code><a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.property.subscribers">subscribers</a></code> | <code><a href="#aws-data-landing-zone.BudgetSubscribers">BudgetSubscribers</a></code> | *No description.* |
17918
+ | <code><a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.property.topic">topic</a></code> | <code>aws-cdk-lib.aws_sns.Topic</code> | *No description.* |
17919
+
17920
+ ---
17921
+
17922
+ ##### `subscribers`<sup>Required</sup> <a name="subscribers" id="aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.property.subscribers"></a>
17923
+
17924
+ ```typescript
17925
+ public readonly subscribers: BudgetSubscribers;
17926
+ ```
17927
+
17928
+ - *Type:* <a href="#aws-data-landing-zone.BudgetSubscribers">BudgetSubscribers</a>
17929
+
17930
+ ---
17931
+
17932
+ ##### `topic`<sup>Required</sup> <a name="topic" id="aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord.property.topic"></a>
17933
+
17934
+ ```typescript
17935
+ public readonly topic: Topic;
17936
+ ```
17937
+
17938
+ - *Type:* aws-cdk-lib.aws_sns.Topic
17939
+
17940
+ ---
17941
+
17879
17942
  ### GlobalVariablesNcp1 <a name="GlobalVariablesNcp1" id="aws-data-landing-zone.GlobalVariablesNcp1"></a>
17880
17943
 
17881
17944
  #### Initializer <a name="Initializer" id="aws-data-landing-zone.GlobalVariablesNcp1.Initializer"></a>
@@ -19034,6 +19097,67 @@ const logStacks: LogStacks = { ... }
19034
19097
  ```
19035
19098
 
19036
19099
 
19100
+ ### ManagementGlobalStackProps <a name="ManagementGlobalStackProps" id="aws-data-landing-zone.ManagementGlobalStackProps"></a>
19101
+
19102
+ #### Initializer <a name="Initializer" id="aws-data-landing-zone.ManagementGlobalStackProps.Initializer"></a>
19103
+
19104
+ ```typescript
19105
+ import { ManagementGlobalStackProps } from 'aws-data-landing-zone'
19106
+
19107
+ const managementGlobalStackProps: ManagementGlobalStackProps = { ... }
19108
+ ```
19109
+
19110
+ #### Properties <a name="Properties" id="Properties"></a>
19111
+
19112
+ | **Name** | **Type** | **Description** |
19113
+ | --- | --- | --- |
19114
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps.property.env">env</a></code> | <code>aws-cdk-lib.Environment</code> | *No description.* |
19115
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps.property.name">name</a></code> | <code><a href="#aws-data-landing-zone.DlzStackNameProps">DlzStackNameProps</a></code> | *No description.* |
19116
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps.property.stage">stage</a></code> | <code>cdk-express-pipeline.ExpressStage</code> | *No description.* |
19117
+ | <code><a href="#aws-data-landing-zone.ManagementGlobalStackProps.property.globalVariables">globalVariables</a></code> | <code><a href="#aws-data-landing-zone.GlobalVariables">GlobalVariables</a></code> | *No description.* |
19118
+
19119
+ ---
19120
+
19121
+ ##### `env`<sup>Required</sup> <a name="env" id="aws-data-landing-zone.ManagementGlobalStackProps.property.env"></a>
19122
+
19123
+ ```typescript
19124
+ public readonly env: Environment;
19125
+ ```
19126
+
19127
+ - *Type:* aws-cdk-lib.Environment
19128
+
19129
+ ---
19130
+
19131
+ ##### `name`<sup>Required</sup> <a name="name" id="aws-data-landing-zone.ManagementGlobalStackProps.property.name"></a>
19132
+
19133
+ ```typescript
19134
+ public readonly name: DlzStackNameProps;
19135
+ ```
19136
+
19137
+ - *Type:* <a href="#aws-data-landing-zone.DlzStackNameProps">DlzStackNameProps</a>
19138
+
19139
+ ---
19140
+
19141
+ ##### `stage`<sup>Required</sup> <a name="stage" id="aws-data-landing-zone.ManagementGlobalStackProps.property.stage"></a>
19142
+
19143
+ ```typescript
19144
+ public readonly stage: ExpressStage;
19145
+ ```
19146
+
19147
+ - *Type:* cdk-express-pipeline.ExpressStage
19148
+
19149
+ ---
19150
+
19151
+ ##### `globalVariables`<sup>Required</sup> <a name="globalVariables" id="aws-data-landing-zone.ManagementGlobalStackProps.property.globalVariables"></a>
19152
+
19153
+ ```typescript
19154
+ public readonly globalVariables: GlobalVariables;
19155
+ ```
19156
+
19157
+ - *Type:* <a href="#aws-data-landing-zone.GlobalVariables">GlobalVariables</a>
19158
+
19159
+ ---
19160
+
19037
19161
  ### ManagementStacks <a name="ManagementStacks" id="aws-data-landing-zone.ManagementStacks"></a>
19038
19162
 
19039
19163
  #### Initializer <a name="Initializer" id="aws-data-landing-zone.ManagementStacks.Initializer"></a>
@@ -21096,7 +21220,7 @@ new Defaults()
21096
21220
  ```typescript
21097
21221
  import { Defaults } from 'aws-data-landing-zone'
21098
21222
 
21099
- Defaults.budgets(orgTotal: number, infraDlz: number, subscribers: BudgetSubscribers)
21223
+ Defaults.budgets(orgTotal: number, infraDlz: number, subscribers: BudgetSubscribers, _?: ForceNoPythonArgumentLifting)
21100
21224
  ```
21101
21225
 
21102
21226
  Budgets for the organization.
@@ -21125,6 +21249,14 @@ Subscribers for the budget.
21125
21249
 
21126
21250
  ---
21127
21251
 
21252
+ ###### `_`<sup>Optional</sup> <a name="_" id="aws-data-landing-zone.Defaults.budgets.parameter._"></a>
21253
+
21254
+ - *Type:* <a href="#aws-data-landing-zone.ForceNoPythonArgumentLifting">ForceNoPythonArgumentLifting</a>
21255
+
21256
+ Ignore this parameter, it is used to force a consistent interface across TS and Python usage.
21257
+
21258
+ ---
21259
+
21128
21260
  ##### `denyServiceList` <a name="denyServiceList" id="aws-data-landing-zone.Defaults.denyServiceList"></a>
21129
21261
 
21130
21262
  ```typescript
@@ -21302,7 +21434,7 @@ Given we have these NetworkEntity[]:
21302
21434
  ```typescript
21303
21435
  import { DlzBudget } from 'aws-data-landing-zone'
21304
21436
 
21305
- new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps)
21437
+ new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps, budgetSnsCache: {[ key: string ]: GlobalVariablesBudgetSnsCacheRecord})
21306
21438
  ```
21307
21439
 
21308
21440
  | **Name** | **Type** | **Description** |
@@ -21310,6 +21442,7 @@ new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps)
21310
21442
  | <code><a href="#aws-data-landing-zone.DlzBudget.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
21311
21443
  | <code><a href="#aws-data-landing-zone.DlzBudget.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
21312
21444
  | <code><a href="#aws-data-landing-zone.DlzBudget.Initializer.parameter.props">props</a></code> | <code><a href="#aws-data-landing-zone.DlzBudgetProps">DlzBudgetProps</a></code> | *No description.* |
21445
+ | <code><a href="#aws-data-landing-zone.DlzBudget.Initializer.parameter.budgetSnsCache">budgetSnsCache</a></code> | <code>{[ key: string ]: <a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord">GlobalVariablesBudgetSnsCacheRecord</a>}</code> | *No description.* |
21313
21446
 
21314
21447
  ---
21315
21448
 
@@ -21331,6 +21464,12 @@ new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps)
21331
21464
 
21332
21465
  ---
21333
21466
 
21467
+ ##### `budgetSnsCache`<sup>Required</sup> <a name="budgetSnsCache" id="aws-data-landing-zone.DlzBudget.Initializer.parameter.budgetSnsCache"></a>
21468
+
21469
+ - *Type:* {[ key: string ]: <a href="#aws-data-landing-zone.GlobalVariablesBudgetSnsCacheRecord">GlobalVariablesBudgetSnsCacheRecord</a>}
21470
+
21471
+ ---
21472
+
21334
21473
 
21335
21474
 
21336
21475
  #### Properties <a name="Properties" id="Properties"></a>
@@ -21338,7 +21477,6 @@ new DlzBudget(scope: Construct, id: string, props: DlzBudgetProps)
21338
21477
  | **Name** | **Type** | **Description** |
21339
21478
  | --- | --- | --- |
21340
21479
  | <code><a href="#aws-data-landing-zone.DlzBudget.property.cfnBudget">cfnBudget</a></code> | <code>aws-cdk-lib.aws_budgets.CfnBudget</code> | *No description.* |
21341
- | <code><a href="#aws-data-landing-zone.DlzBudget.property.notificationTopic">notificationTopic</a></code> | <code>aws-cdk-lib.aws_sns.Topic</code> | *No description.* |
21342
21480
 
21343
21481
  ---
21344
21482
 
@@ -21352,16 +21490,6 @@ public readonly cfnBudget: CfnBudget;
21352
21490
 
21353
21491
  ---
21354
21492
 
21355
- ##### `notificationTopic`<sup>Required</sup> <a name="notificationTopic" id="aws-data-landing-zone.DlzBudget.property.notificationTopic"></a>
21356
-
21357
- ```typescript
21358
- public readonly notificationTopic: Topic;
21359
- ```
21360
-
21361
- - *Type:* aws-cdk-lib.aws_sns.Topic
21362
-
21363
- ---
21364
-
21365
21493
 
21366
21494
  ### DlzControlTowerEnabledControl <a name="DlzControlTowerEnabledControl" id="aws-data-landing-zone.DlzControlTowerEnabledControl"></a>
21367
21495