aws-data-landing-zone 0.0.37 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +202 -40
- package/API.md +141 -1
- package/CONTRIBUTING.MD +58 -0
- package/README.md +244 -1
- package/docs/README.md +2 -0
- package/docs/astro.config.ts +4 -4
- package/docs/cloudflare_build.sh +2 -0
- package/docs/src/content/docs/getting-started.mdx +302 -0
- package/docs/src/content/docs/introduction.mdx +16 -8
- package/docs/src/content/docs/reference/api.md +141 -1
- package/docs/src/content/docs/reference/scripts-commands.mdx +223 -0
- package/lib/constructs/account-chatbots/index.js +1 -1
- package/lib/constructs/dlz-budget/index.js +1 -1
- package/lib/constructs/dlz-control-tower-control/control-tower-control.js +1 -1
- package/lib/constructs/dlz-lake-formation/dlz-lake-formation.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-identity-center/iam-identity-center-group.js +1 -1
- package/lib/constructs/iam-identity-center/iam-identity-center.js +1 -1
- package/lib/constructs/iam-identity-center/identity-store-user.js +1 -1
- package/lib/constructs/organization-policies/service-control-policy.js +1 -1
- package/lib/constructs/organization-policies/tag-policy.js +1 -1
- package/lib/data-landing-zone-client.js +1 -1
- package/lib/data-landing-zone-types.d.ts +7 -0
- package/lib/data-landing-zone-types.js +1 -1
- package/lib/data-landing-zone.js +1 -1
- package/lib/defaults.js +1 -1
- package/lib/lib/report/index.js +1 -1
- package/lib/scripts/bootstrap/index.d.ts +0 -4
- package/lib/scripts/bootstrap/index.js +1 -5
- package/lib/scripts/index.d.ts +10 -10
- package/lib/scripts/index.js +28 -9
- package/lib/stacks/organization/management-stack.js +1 -1
- package/lib/stacks/organization/security/audit/global-stack.js +1 -1
- package/lib/stacks/organization/security/audit/regional-stack.js +1 -1
- package/lib/stacks/organization/security/log/global-stack.js +1 -1
- package/lib/stacks/organization/security/log/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/base/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/base/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/data-services-phase-1-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/data-services-phase-1-stack/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-1-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-2-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-2-stack/regional-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-3-stack/global-stack.js +1 -1
- package/lib/stacks/organization/workloads/network-connections-phase-3-stack/regional-stack.js +1 -1
- package/package.json +1 -1
- package/docs/src/content/docs/getting-started.md +0 -8
- package/no-op-force-build.txt +0 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Getting Started
|
|
3
|
+
description: Step-by-step guide to configuring and deploying the AWS Data Landing Zone
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import DualCode from "../../components/DualCode.astro";
|
|
7
|
+
|
|
8
|
+
:::caution
|
|
9
|
+
WIP: This part is still under development.
|
|
10
|
+
:::
|
|
11
|
+
|
|
12
|
+
This guide will walk you through the process of configuring and deploying the
|
|
13
|
+
**AWS Data Landing Zone**. The landing zone simplifies the setup of a secure,
|
|
14
|
+
scalable, and well-architected multi-account AWS environment. Let’s get started!
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Prerequisites
|
|
19
|
+
|
|
20
|
+
Before you begin, ensure you have the following tools installed and configured:
|
|
21
|
+
|
|
22
|
+
- **AWS CLI**: Installed and configured with credentials. Ensure you have
|
|
23
|
+
an **SSO User** or **IAM User** in the **management account** with
|
|
24
|
+
**admin access** or the necessary permissions to assume CDK roles
|
|
25
|
+
and perform deployments.
|
|
26
|
+
- **Node.js**: Version 14 or higher.
|
|
27
|
+
- **AWS CDK**: Installed globally using `npm install -g aws-cdk`.
|
|
28
|
+
- **Git**: For cloning repositories.
|
|
29
|
+
|
|
30
|
+
Additionally, if you plan to use the TypeScript scripts included with
|
|
31
|
+
the project, you can use the **profile name** for your AWS CLI
|
|
32
|
+
configuration that is specified in the `localProfile` property of the
|
|
33
|
+
project configuration file.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Step 1: Create a New CDK Project
|
|
38
|
+
|
|
39
|
+
To get started, create a new AWS CDK project:
|
|
40
|
+
|
|
41
|
+
<DualCode>
|
|
42
|
+
<Fragment slot="ts">
|
|
43
|
+
```bash
|
|
44
|
+
mkdir my-data-landing-zone
|
|
45
|
+
cd my-data-landing-zone
|
|
46
|
+
cdk init app --language=typescript
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
</Fragment>
|
|
50
|
+
<Fragment slot="python">
|
|
51
|
+
```bash
|
|
52
|
+
mkdir my-data-landing-zone
|
|
53
|
+
cd my-data-landing-zone
|
|
54
|
+
cdk init app --language=python
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
</Fragment>
|
|
58
|
+
</DualCode>
|
|
59
|
+
|
|
60
|
+
This initializes a new CDK project with the necessary files and folder structure.
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Step 2: Add the DataChef AWS Data Landing Zone Package
|
|
65
|
+
|
|
66
|
+
Add the **DataChef** Data Landing Zone as a dependency to your project:
|
|
67
|
+
|
|
68
|
+
<DualCode>
|
|
69
|
+
<Fragment slot="ts">
|
|
70
|
+
```bash
|
|
71
|
+
npm install aws-data-landing-zone
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
</Fragment>
|
|
75
|
+
<Fragment slot="python">
|
|
76
|
+
```bash
|
|
77
|
+
pip install aws-data-landing-zone
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
</Fragment>
|
|
81
|
+
</DualCode>
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Step 3: Configuration
|
|
86
|
+
|
|
87
|
+
Now you need to config the basic parameters required for deploying DLZ.
|
|
88
|
+
|
|
89
|
+
**NOTE:** Make sure to replace all of the IDs with correct IDs related to your AWS
|
|
90
|
+
accounts.
|
|
91
|
+
|
|
92
|
+
<DualCode>
|
|
93
|
+
<Fragment slot="ts">
|
|
94
|
+
- For a complete example check [DLZ TypeScript Sample](https://github.com/DataChefHQ/aws-data-landing-zone-example-typescript).
|
|
95
|
+
```ts
|
|
96
|
+
export const config: DataLandingZoneProps = {
|
|
97
|
+
localProfile: '', // TODO: Not required; Will be optional from next release
|
|
98
|
+
regions: {
|
|
99
|
+
global: Region.EU_WEST_1,
|
|
100
|
+
regional: [Region.US_EAST_1],
|
|
101
|
+
},
|
|
102
|
+
mandatoryTags: {
|
|
103
|
+
owner: ['backend'],
|
|
104
|
+
project: ['accounting'],
|
|
105
|
+
environment: ['development', 'staging', 'production'],
|
|
106
|
+
},
|
|
107
|
+
budgets: [
|
|
108
|
+
...Defaults.budgets(100, 20, {}),
|
|
109
|
+
],
|
|
110
|
+
securityHubNotifications: [
|
|
111
|
+
],
|
|
112
|
+
organization: {
|
|
113
|
+
organizationId: 'RootOrganizationID',
|
|
114
|
+
root: {
|
|
115
|
+
accounts: {
|
|
116
|
+
management: {
|
|
117
|
+
accountId: 'YourRootAccountID',
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
controls: [],
|
|
121
|
+
},
|
|
122
|
+
ous: {
|
|
123
|
+
security: {
|
|
124
|
+
ouId: 'SecurityOrganizationUnitId',
|
|
125
|
+
accounts: {
|
|
126
|
+
log: {
|
|
127
|
+
accountId: 'YourLogsAccountID',
|
|
128
|
+
},
|
|
129
|
+
audit: {
|
|
130
|
+
accountId: 'YourAuditAccountID',
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
workloads: {
|
|
135
|
+
ouId: 'WorkloadOrganizationUnitId',
|
|
136
|
+
accounts: [
|
|
137
|
+
{
|
|
138
|
+
name: 'development',
|
|
139
|
+
accountId: 'YourDevelopmentAccountID',
|
|
140
|
+
type: DlzAccountType.DEVELOP,
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
suspended: {
|
|
145
|
+
ouId: 'SuspendedOrganizationUnitId',
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
deploymentPlatform: {
|
|
150
|
+
gitHub: {
|
|
151
|
+
references: [
|
|
152
|
+
{
|
|
153
|
+
owner: 'DataChefHQ',
|
|
154
|
+
repo: 'data-landing-zone-example-typescript',
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
````
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
</Fragment>
|
|
166
|
+
<Fragment slot="python">
|
|
167
|
+
- For a complete example check [DLZ Python Sample](https://github.com/DataChefHQ/aws-data-landing-zone-example-python).
|
|
168
|
+
```python
|
|
169
|
+
DataLandingZone(
|
|
170
|
+
app,
|
|
171
|
+
local_profile="", # TODO: Not required; Will be optional from next release
|
|
172
|
+
regions={
|
|
173
|
+
"global": Region.EU_WEST_1,
|
|
174
|
+
"regional": [Region.US_EAST_1],
|
|
175
|
+
},
|
|
176
|
+
mandatory_tags={
|
|
177
|
+
"owner": ["backend"],
|
|
178
|
+
"project": ["accounting"],
|
|
179
|
+
"environment": ["development", "staging", "production"],
|
|
180
|
+
},
|
|
181
|
+
budgets=Defaults.budgets(100, 20),
|
|
182
|
+
security_hub_notifications=[],
|
|
183
|
+
organization={
|
|
184
|
+
"organization_id": "RootOrganizationID",
|
|
185
|
+
"root": {
|
|
186
|
+
"accounts": {
|
|
187
|
+
"management": {
|
|
188
|
+
"account_id": "YourRootAccountID",
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
"ous": {
|
|
193
|
+
"security": {
|
|
194
|
+
"ou_id": "SecurityOrganizationUnitId",
|
|
195
|
+
"accounts": {
|
|
196
|
+
"log": {
|
|
197
|
+
"account_id": "YourLogsAccountID",
|
|
198
|
+
},
|
|
199
|
+
"audit": {
|
|
200
|
+
"account_id": "YourAuditAccountID",
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
"workloads": {
|
|
205
|
+
"ou_id": "WorkloadOrganizationUnitId",
|
|
206
|
+
"accounts": [
|
|
207
|
+
{
|
|
208
|
+
"name": "development",
|
|
209
|
+
"account_id": "YourDevelopmentAccountID",
|
|
210
|
+
"type": DlzAccountType.DEVELOP,
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
},
|
|
214
|
+
"suspended": {
|
|
215
|
+
"ou_id": "SuspendedOrganizationUnitId",
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
)
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
</Fragment>
|
|
223
|
+
</DualCode>
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Step 4: Add the Landing Zone to Your CDK Stack
|
|
228
|
+
|
|
229
|
+
Now you need to call the Landing Zone constructs from your CDK stacks.
|
|
230
|
+
|
|
231
|
+
<DualCode>
|
|
232
|
+
<Fragment slot="ts">
|
|
233
|
+
In your `lib/my-data-landing-zone-stack.ts` file, add the Data Landing Zone construct:
|
|
234
|
+
```ts
|
|
235
|
+
import {App} from 'aws-cdk-lib';
|
|
236
|
+
import {config} from "./minimum_config";
|
|
237
|
+
import * as sns from 'aws-cdk-lib/aws-sns';
|
|
238
|
+
import { DataLandingZone } from '@DataChefHQ/data-landing-zone';
|
|
239
|
+
|
|
240
|
+
const app = new App();
|
|
241
|
+
const dlz = new DataLandingZone(app, config)
|
|
242
|
+
|
|
243
|
+
````
|
|
244
|
+
|
|
245
|
+
</Fragment>
|
|
246
|
+
<Fragment slot="python">
|
|
247
|
+
In your `main.py` file, add the Data Landing Zone construct:
|
|
248
|
+
```python
|
|
249
|
+
import aws_cdk as cdk
|
|
250
|
+
from aws_data_landing_zone import (
|
|
251
|
+
Defaults,
|
|
252
|
+
DlzAccountType,
|
|
253
|
+
Region,
|
|
254
|
+
DataLandingZone,
|
|
255
|
+
)
|
|
256
|
+
|
|
257
|
+
app = cdk.App()
|
|
258
|
+
|
|
259
|
+
DataLandingZone(
|
|
260
|
+
app,
|
|
261
|
+
... # your config parameters
|
|
262
|
+
)
|
|
263
|
+
|
|
264
|
+
app.synth()
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
</Fragment>
|
|
268
|
+
</DualCode>
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## Step 5: Deploy the Landing Zone
|
|
273
|
+
|
|
274
|
+
### 5.1 Bootstrap the Environment
|
|
275
|
+
|
|
276
|
+
Bootstrap your environment to prepare it for CDK deployments:
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
cdk bootstrap aws://ACCOUNT_ID/REGION
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
### 5.2 Deploy the Stacks
|
|
284
|
+
|
|
285
|
+
Deploy the stack you created:
|
|
286
|
+
|
|
287
|
+
```bash
|
|
288
|
+
cdk deploy
|
|
289
|
+
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### 5.3 Verify Deployment
|
|
293
|
+
|
|
294
|
+
Once deployment completes, verify the resources in the AWS Management Console.
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## Next Steps
|
|
299
|
+
|
|
300
|
+
- Explore the documentation to learn more about advanced configurations.
|
|
301
|
+
- Customize the stacks to meet your specific organizational needs.
|
|
302
|
+
- Add additional controls or policies as required.
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
title: Introduction
|
|
3
3
|
description: Intro
|
|
4
4
|
---
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
import DualCode from "../../components/DualCode.astro";
|
|
6
7
|
|
|
7
8
|
The **Data Landing Zone (DLZ)** is a CDK construct designed to accelerate AI and data-related projects. It provides an
|
|
8
9
|
opinionated Landing Zone, laying the foundation for a multi-account AWS strategy, so you can focus on delivering data
|
|
@@ -11,7 +12,10 @@ and AI solutions.
|
|
|
11
12
|
The DLZ can be deployed in existing AWS Organizations or used in greenfield projects. It supports setups ranging
|
|
12
13
|
from small organizations with a few accounts to large enterprises with hundreds of accounts.
|
|
13
14
|
|
|
14
|
-
The CDK construct is available in both TypeScript and Python.
|
|
15
|
+
The CDK construct is available in both TypeScript and Python. Example GitHub repositories showing usage:
|
|
16
|
+
|
|
17
|
+
- [TypeScript Example GitHub Repo](https://github.com/DataChefHQ/aws-data-landing-zone-example-typescript)
|
|
18
|
+
- [Python Example GitHub Repo](https://github.com/DataChefHQ/aws-data-landing-zone-example-python)
|
|
15
19
|
|
|
16
20
|
## Intended Audience
|
|
17
21
|
|
|
@@ -20,6 +24,7 @@ It's easy enough for Data Engineers to use on their own, but flexible enough to
|
|
|
20
24
|
experienced Cloud Engineers.
|
|
21
25
|
|
|
22
26
|
It's important to establish the following responsibilities to understand what is in and out of scope for the DLZ:
|
|
27
|
+
|
|
23
28
|
- **In scope** - Any CCoE responsibilities and tasks, such as account management, security, networking, compliance, etc.
|
|
24
29
|
- **Out of scope** - Application development, data engineering, and data science tasks.
|
|
25
30
|
|
|
@@ -33,7 +38,7 @@ Notable features of the DLZ include:
|
|
|
33
38
|
- Suitable for greenfield projects or integration with existing AWS resources.
|
|
34
39
|
- Deployable using any build systems like GitHub, GitLab, Jenkins, or locally.
|
|
35
40
|
- Generates compliance reports, reporting the Control Tower Standards, SecurityHub controls, Config Rules and
|
|
36
|
-
Service Control Policies enabled in each account.
|
|
41
|
+
- Service Control Policies enabled in each account.
|
|
37
42
|
- Implements an internal wave- and stage-based deployment strategy for dependency management.
|
|
38
43
|
- Includes helper scripts and Standard Operating Procedures (SOPs) for routine tasks.
|
|
39
44
|
- Accompanied by comprehensive documentation.
|
|
@@ -72,8 +77,6 @@ The DLZ adheres to the following principles:
|
|
|
72
77
|
- Create **Tags** and specify their permissions for use within the same account and when sharing to other accounts.
|
|
73
78
|
- Optionally, set **Tag Permissions** on Tags. This is usually out of scope for DLZ, but can be configured.
|
|
74
79
|
|
|
75
|
-
|
|
76
|
-
|
|
77
80
|
## How it works
|
|
78
81
|
|
|
79
82
|
The DLZ defines all accounts and resources in a single CDK construct that can be used in Typescript or Python CDK
|
|
@@ -123,6 +126,7 @@ approvals in production environments.
|
|
|
123
126
|
}
|
|
124
127
|
});
|
|
125
128
|
```
|
|
129
|
+
|
|
126
130
|
</Fragment>
|
|
127
131
|
<Fragment slot="python">
|
|
128
132
|
```python
|
|
@@ -163,8 +167,11 @@ approvals in production environments.
|
|
|
163
167
|
)
|
|
164
168
|
),
|
|
165
169
|
)
|
|
170
|
+
|
|
166
171
|
app.synth()
|
|
167
|
-
|
|
172
|
+
|
|
173
|
+
````
|
|
174
|
+
|
|
168
175
|
</Fragment>
|
|
169
176
|
</DualCode>
|
|
170
177
|
|
|
@@ -211,7 +218,7 @@ graph
|
|
|
211
218
|
end
|
|
212
219
|
global --> regional
|
|
213
220
|
end
|
|
214
|
-
|
|
221
|
+
````
|
|
215
222
|
|
|
216
223
|
Dependencies between regions and accounts are managed by separating stacks into waves. This ensures that any
|
|
217
224
|
specified SSM Parameter value is available for use in subsequent waves.
|
|
@@ -290,6 +297,7 @@ all subnets, to the private subnets in the `production` account's VPC in the `eu
|
|
|
290
297
|
...
|
|
291
298
|
});
|
|
292
299
|
```
|
|
300
|
+
|
|
293
301
|
</Fragment>
|
|
294
302
|
<Fragment slot="python">
|
|
295
303
|
```python {80-85}
|
|
@@ -383,10 +391,10 @@ all subnets, to the private subnets in the `production` account's VPC in the `eu
|
|
|
383
391
|
)
|
|
384
392
|
app.synth()
|
|
385
393
|
```
|
|
394
|
+
|
|
386
395
|
</Fragment>
|
|
387
396
|
</DualCode>
|
|
388
397
|
|
|
389
398
|
The DLZ abstracts the complexity of the AWS resources and ensures that the correct resources are created in the
|
|
390
399
|
correct accounts in the right order. For instance, this example provisions the VPCs in the Base Layer and sets up the
|
|
391
400
|
many VPC Peering roles, connections, and routes within the Networking Layers.
|
|
392
|
-
|
|
@@ -14771,7 +14771,7 @@ const dataLandingZoneProps: DataLandingZoneProps = { ... }
|
|
|
14771
14771
|
| **Name** | **Type** | **Description** |
|
|
14772
14772
|
| --- | --- | --- |
|
|
14773
14773
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.budgets">budgets</a></code> | <code><a href="#aws-data-landing-zone.DlzBudgetProps">DlzBudgetProps</a>[]</code> | *No description.* |
|
|
14774
|
-
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.localProfile">localProfile</a></code> | <code>string</code> |
|
|
14774
|
+
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.localProfile">localProfile</a></code> | <code>string</code> | The the AWS CLI profile that will be used to run the Scripts. |
|
|
14775
14775
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.mandatoryTags">mandatoryTags</a></code> | <code><a href="#aws-data-landing-zone.MandatoryTags">MandatoryTags</a></code> | The values of the mandatory tags that all resources must have. |
|
|
14776
14776
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.organization">organization</a></code> | <code><a href="#aws-data-landing-zone.DLzOrganization">DLzOrganization</a></code> | *No description.* |
|
|
14777
14777
|
| <code><a href="#aws-data-landing-zone.DataLandingZoneProps.property.regions">regions</a></code> | <code><a href="#aws-data-landing-zone.DlzRegions">DlzRegions</a></code> | *No description.* |
|
|
@@ -14807,6 +14807,13 @@ public readonly localProfile: string;
|
|
|
14807
14807
|
|
|
14808
14808
|
- *Type:* string
|
|
14809
14809
|
|
|
14810
|
+
The the AWS CLI profile that will be used to run the Scripts.
|
|
14811
|
+
|
|
14812
|
+
For the `bootstrap` script, this profile must be an Admin of the root management account and it must be able to assume
|
|
14813
|
+
the `AWSControlTowerExecution` role created by ControlTower. This is an extremely powerful set of credentials and
|
|
14814
|
+
should be treated with care. The permissions can be reduced for the everyday use of the `diff` and `deploy` scripts
|
|
14815
|
+
but the `bootstrap` script requires full admin access.
|
|
14816
|
+
|
|
14810
14817
|
---
|
|
14811
14818
|
|
|
14812
14819
|
##### `mandatoryTags`<sup>Required</sup> <a name="mandatoryTags" id="aws-data-landing-zone.DataLandingZoneProps.property.mandatoryTags"></a>
|
|
@@ -20323,6 +20330,139 @@ public readonly reports: ReportItem[];
|
|
|
20323
20330
|
---
|
|
20324
20331
|
|
|
20325
20332
|
|
|
20333
|
+
### Scripts <a name="Scripts" id="aws-data-landing-zone.Scripts"></a>
|
|
20334
|
+
|
|
20335
|
+
#### Initializers <a name="Initializers" id="aws-data-landing-zone.Scripts.Initializer"></a>
|
|
20336
|
+
|
|
20337
|
+
```typescript
|
|
20338
|
+
import { Scripts } from 'aws-data-landing-zone'
|
|
20339
|
+
|
|
20340
|
+
new Scripts()
|
|
20341
|
+
```
|
|
20342
|
+
|
|
20343
|
+
| **Name** | **Type** | **Description** |
|
|
20344
|
+
| --- | --- | --- |
|
|
20345
|
+
|
|
20346
|
+
---
|
|
20347
|
+
|
|
20348
|
+
|
|
20349
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
20350
|
+
|
|
20351
|
+
| **Name** | **Description** |
|
|
20352
|
+
| --- | --- |
|
|
20353
|
+
| <code><a href="#aws-data-landing-zone.Scripts.boostrapAll">boostrapAll</a></code> | *No description.* |
|
|
20354
|
+
| <code><a href="#aws-data-landing-zone.Scripts.configureCostAllocationTags">configureCostAllocationTags</a></code> | *No description.* |
|
|
20355
|
+
| <code><a href="#aws-data-landing-zone.Scripts.deployAll">deployAll</a></code> | *No description.* |
|
|
20356
|
+
| <code><a href="#aws-data-landing-zone.Scripts.deploySelect">deploySelect</a></code> | *No description.* |
|
|
20357
|
+
| <code><a href="#aws-data-landing-zone.Scripts.diffAll">diffAll</a></code> | *No description.* |
|
|
20358
|
+
| <code><a href="#aws-data-landing-zone.Scripts.diffSelect">diffSelect</a></code> | *No description.* |
|
|
20359
|
+
|
|
20360
|
+
---
|
|
20361
|
+
|
|
20362
|
+
##### `boostrapAll` <a name="boostrapAll" id="aws-data-landing-zone.Scripts.boostrapAll"></a>
|
|
20363
|
+
|
|
20364
|
+
```typescript
|
|
20365
|
+
import { Scripts } from 'aws-data-landing-zone'
|
|
20366
|
+
|
|
20367
|
+
Scripts.boostrapAll(props: DataLandingZoneProps, bootstrapRoleName?: string)
|
|
20368
|
+
```
|
|
20369
|
+
|
|
20370
|
+
###### `props`<sup>Required</sup> <a name="props" id="aws-data-landing-zone.Scripts.boostrapAll.parameter.props"></a>
|
|
20371
|
+
|
|
20372
|
+
- *Type:* <a href="#aws-data-landing-zone.DataLandingZoneProps">DataLandingZoneProps</a>
|
|
20373
|
+
|
|
20374
|
+
---
|
|
20375
|
+
|
|
20376
|
+
###### `bootstrapRoleName`<sup>Optional</sup> <a name="bootstrapRoleName" id="aws-data-landing-zone.Scripts.boostrapAll.parameter.bootstrapRoleName"></a>
|
|
20377
|
+
|
|
20378
|
+
- *Type:* string
|
|
20379
|
+
|
|
20380
|
+
---
|
|
20381
|
+
|
|
20382
|
+
##### `configureCostAllocationTags` <a name="configureCostAllocationTags" id="aws-data-landing-zone.Scripts.configureCostAllocationTags"></a>
|
|
20383
|
+
|
|
20384
|
+
```typescript
|
|
20385
|
+
import { Scripts } from 'aws-data-landing-zone'
|
|
20386
|
+
|
|
20387
|
+
Scripts.configureCostAllocationTags(props: DataLandingZoneProps)
|
|
20388
|
+
```
|
|
20389
|
+
|
|
20390
|
+
###### `props`<sup>Required</sup> <a name="props" id="aws-data-landing-zone.Scripts.configureCostAllocationTags.parameter.props"></a>
|
|
20391
|
+
|
|
20392
|
+
- *Type:* <a href="#aws-data-landing-zone.DataLandingZoneProps">DataLandingZoneProps</a>
|
|
20393
|
+
|
|
20394
|
+
---
|
|
20395
|
+
|
|
20396
|
+
##### `deployAll` <a name="deployAll" id="aws-data-landing-zone.Scripts.deployAll"></a>
|
|
20397
|
+
|
|
20398
|
+
```typescript
|
|
20399
|
+
import { Scripts } from 'aws-data-landing-zone'
|
|
20400
|
+
|
|
20401
|
+
Scripts.deployAll(props: DataLandingZoneProps)
|
|
20402
|
+
```
|
|
20403
|
+
|
|
20404
|
+
###### `props`<sup>Required</sup> <a name="props" id="aws-data-landing-zone.Scripts.deployAll.parameter.props"></a>
|
|
20405
|
+
|
|
20406
|
+
- *Type:* <a href="#aws-data-landing-zone.DataLandingZoneProps">DataLandingZoneProps</a>
|
|
20407
|
+
|
|
20408
|
+
---
|
|
20409
|
+
|
|
20410
|
+
##### `deploySelect` <a name="deploySelect" id="aws-data-landing-zone.Scripts.deploySelect"></a>
|
|
20411
|
+
|
|
20412
|
+
```typescript
|
|
20413
|
+
import { Scripts } from 'aws-data-landing-zone'
|
|
20414
|
+
|
|
20415
|
+
Scripts.deploySelect(props: DataLandingZoneProps, id: string)
|
|
20416
|
+
```
|
|
20417
|
+
|
|
20418
|
+
###### `props`<sup>Required</sup> <a name="props" id="aws-data-landing-zone.Scripts.deploySelect.parameter.props"></a>
|
|
20419
|
+
|
|
20420
|
+
- *Type:* <a href="#aws-data-landing-zone.DataLandingZoneProps">DataLandingZoneProps</a>
|
|
20421
|
+
|
|
20422
|
+
---
|
|
20423
|
+
|
|
20424
|
+
###### `id`<sup>Required</sup> <a name="id" id="aws-data-landing-zone.Scripts.deploySelect.parameter.id"></a>
|
|
20425
|
+
|
|
20426
|
+
- *Type:* string
|
|
20427
|
+
|
|
20428
|
+
---
|
|
20429
|
+
|
|
20430
|
+
##### `diffAll` <a name="diffAll" id="aws-data-landing-zone.Scripts.diffAll"></a>
|
|
20431
|
+
|
|
20432
|
+
```typescript
|
|
20433
|
+
import { Scripts } from 'aws-data-landing-zone'
|
|
20434
|
+
|
|
20435
|
+
Scripts.diffAll(props: DataLandingZoneProps)
|
|
20436
|
+
```
|
|
20437
|
+
|
|
20438
|
+
###### `props`<sup>Required</sup> <a name="props" id="aws-data-landing-zone.Scripts.diffAll.parameter.props"></a>
|
|
20439
|
+
|
|
20440
|
+
- *Type:* <a href="#aws-data-landing-zone.DataLandingZoneProps">DataLandingZoneProps</a>
|
|
20441
|
+
|
|
20442
|
+
---
|
|
20443
|
+
|
|
20444
|
+
##### `diffSelect` <a name="diffSelect" id="aws-data-landing-zone.Scripts.diffSelect"></a>
|
|
20445
|
+
|
|
20446
|
+
```typescript
|
|
20447
|
+
import { Scripts } from 'aws-data-landing-zone'
|
|
20448
|
+
|
|
20449
|
+
Scripts.diffSelect(props: DataLandingZoneProps, id: string)
|
|
20450
|
+
```
|
|
20451
|
+
|
|
20452
|
+
###### `props`<sup>Required</sup> <a name="props" id="aws-data-landing-zone.Scripts.diffSelect.parameter.props"></a>
|
|
20453
|
+
|
|
20454
|
+
- *Type:* <a href="#aws-data-landing-zone.DataLandingZoneProps">DataLandingZoneProps</a>
|
|
20455
|
+
|
|
20456
|
+
---
|
|
20457
|
+
|
|
20458
|
+
###### `id`<sup>Required</sup> <a name="id" id="aws-data-landing-zone.Scripts.diffSelect.parameter.id"></a>
|
|
20459
|
+
|
|
20460
|
+
- *Type:* string
|
|
20461
|
+
|
|
20462
|
+
---
|
|
20463
|
+
|
|
20464
|
+
|
|
20465
|
+
|
|
20326
20466
|
## Protocols <a name="Protocols" id="Protocols"></a>
|
|
20327
20467
|
|
|
20328
20468
|
### IDlzControlTowerControl <a name="IDlzControlTowerControl" id="aws-data-landing-zone.IDlzControlTowerControl"></a>
|