aws-data-landing-zone 0.0.36 → 0.0.37
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 +141 -161
- package/API.md +62 -642
- package/docs/.env.development +3 -0
- package/docs/astro.config.ts +92 -74
- package/docs/cloudflare_build.sh +9 -0
- package/docs/package-lock.json +17 -0
- package/docs/package.json +5 -1
- package/docs/src/components/Footer.astro +2 -2
- package/docs/src/content/docs/components/account-management/introduction.mdx +0 -80
- package/docs/src/content/docs/components/build-system/ci-integration.mdx +336 -0
- package/docs/src/content/docs/components/build-system/deployment-order.mdx +608 -0
- package/docs/src/content/docs/components/build-system/overview.mdx +37 -0
- package/docs/src/content/docs/components/identity/introduction.mdx +0 -80
- package/docs/src/content/docs/reference/api.md +21123 -0
- package/docs/src/styles/custom.css +3 -5
- 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.d.ts +13 -0
- package/lib/constructs/dlz-stack/index.js +17 -2
- 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 +18 -4
- package/lib/data-landing-zone-types.js +1 -1
- package/lib/data-landing-zone.js +61 -63
- package/lib/defaults.js +1 -1
- package/lib/lib/report/index.js +1 -1
- 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/no-op-force-build.txt +1 -0
- package/package.json +1 -1
- package/post-docgen.sh +10 -0
package/docs/astro.config.ts
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { defineConfig } from 'astro/config';
|
|
2
2
|
import starlight from '@astrojs/starlight';
|
|
3
3
|
import rehypeMermaid from "rehype-mermaid";
|
|
4
|
+
import starlightImageZoom from 'starlight-image-zoom'
|
|
5
|
+
|
|
6
|
+
let site: string;
|
|
7
|
+
if (process.env.CF_PAGES_BRANCH) {
|
|
8
|
+
if (process.env.CF_PAGES_BRANCH === 'main') {
|
|
9
|
+
site = 'https://datalandingzone.com';
|
|
10
|
+
} else {
|
|
11
|
+
const subDomain = process.env.CF_PAGES_BRANCH.replaceAll(/[\/\s.]/g, '-') + '.';
|
|
12
|
+
site = `https://${subDomain}datalandingzone.pages.dev`;
|
|
13
|
+
}
|
|
14
|
+
} else {
|
|
15
|
+
site = 'http://localhost:4321';
|
|
16
|
+
}
|
|
4
17
|
|
|
5
|
-
// https://astro.build/config
|
|
6
18
|
export default defineConfig({
|
|
19
|
+
site: site,
|
|
7
20
|
devToolbar: {
|
|
8
21
|
enabled: false,
|
|
9
22
|
},
|
|
@@ -19,95 +32,100 @@ export default defineConfig({
|
|
|
19
32
|
{
|
|
20
33
|
label: 'Introduction', slug: 'introduction'
|
|
21
34
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
// TODO: Complete docs
|
|
36
|
+
// {
|
|
37
|
+
// label: 'Getting Started', slug: 'getting-started'
|
|
38
|
+
// },
|
|
39
|
+
// {
|
|
40
|
+
// label: 'Tutorial',
|
|
41
|
+
// collapsed: true,
|
|
42
|
+
// items: [
|
|
43
|
+
// { label: 'Overview', slug: 'introduction'},
|
|
44
|
+
// { label: '1. Step', slug: 'introduction'},
|
|
45
|
+
// { label: '2. Step', slug: 'introduction'},
|
|
46
|
+
// ],
|
|
47
|
+
// },
|
|
34
48
|
{
|
|
35
49
|
label: 'Components',
|
|
36
50
|
items: [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
51
|
+
// TODO: Complete docs
|
|
52
|
+
// {
|
|
53
|
+
// label: 'Account Management',
|
|
54
|
+
// items: [
|
|
55
|
+
// { label: 'Overview', slug: 'introduction'},
|
|
56
|
+
// { label: 'Tagging', slug: 'introduction'},
|
|
57
|
+
// { label: 'Budgets', slug: 'introduction'},
|
|
58
|
+
// { label: 'SOP - Create Account', slug: 'introduction'},
|
|
59
|
+
// { label: 'SOP - Add Account & Bootstrap', slug: 'introduction'},
|
|
60
|
+
// ]
|
|
61
|
+
// },
|
|
62
|
+
// {
|
|
63
|
+
// label: 'Networking',
|
|
64
|
+
// items: [
|
|
65
|
+
// { label: 'Overview', slug: 'introduction'},
|
|
66
|
+
// { label: 'VPCs', slug: 'introduction'},
|
|
67
|
+
// { label: 'NATs', slug: 'introduction'},
|
|
68
|
+
// { label: 'Bastion Hosts', slug: 'introduction'},
|
|
69
|
+
// { label: 'VPC Peering', slug: 'introduction'},
|
|
70
|
+
// ]
|
|
71
|
+
// },
|
|
72
|
+
// {
|
|
73
|
+
// label: 'Security',
|
|
74
|
+
// items: [
|
|
75
|
+
// { label: 'Overview', slug: 'introduction'},
|
|
76
|
+
// { label: 'Service Control Policies', slug: 'introduction'},
|
|
77
|
+
// { label: 'Permission Boundary', slug: 'introduction'},
|
|
78
|
+
// { label: 'SecurityHub', slug: 'introduction'},
|
|
79
|
+
// { label: 'Control Tower Controls', slug: 'introduction'},
|
|
80
|
+
// { label: 'AWS Config', slug: 'introduction'},
|
|
81
|
+
// { label: 'AWS Guard Duty', slug: 'introduction'},
|
|
82
|
+
// { label: 'AWS Macie', slug: 'introduction'},
|
|
83
|
+
// ]
|
|
84
|
+
// },
|
|
85
|
+
// {
|
|
86
|
+
// label: 'Identity',
|
|
87
|
+
// items: [
|
|
88
|
+
// { label: 'Overview', slug: 'introduction'},
|
|
89
|
+
// { label: 'Iam Identity Center', slug: 'introduction'},
|
|
90
|
+
// ]
|
|
91
|
+
// },
|
|
92
|
+
// {
|
|
93
|
+
// label: 'Data Services',
|
|
94
|
+
// items: [
|
|
95
|
+
// { label: 'Overview', slug: 'introduction'},
|
|
96
|
+
// { label: 'LakeFormation', slug: 'introduction'},
|
|
97
|
+
// ]
|
|
98
|
+
// },
|
|
84
99
|
{
|
|
85
100
|
label: 'Build System',
|
|
86
101
|
items: [
|
|
87
|
-
{ label: 'Overview', slug: '
|
|
88
|
-
{ label: '
|
|
89
|
-
{ label: '
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
label: 'Reference',
|
|
94
|
-
items: [
|
|
95
|
-
{ label: 'API', slug: 'introduction'},
|
|
96
|
-
{ label: 'Defaults', slug: 'introduction'},
|
|
97
|
-
{ label: 'Config sharing', slug: 'introduction'},
|
|
98
|
-
{ label: 'Scripts & commands', slug: 'introduction'},
|
|
99
|
-
{ label: 'Roadmap', slug: 'introduction'},
|
|
102
|
+
{ label: 'Overview', slug: 'components/build-system/overview'},
|
|
103
|
+
{ label: 'Deployment Order', slug: 'components/build-system/deployment-order'},
|
|
104
|
+
{ label: 'CI Integration', slug: 'components/build-system/ci-integration'},
|
|
100
105
|
]
|
|
101
106
|
},
|
|
102
107
|
],
|
|
103
108
|
},
|
|
109
|
+
{
|
|
110
|
+
label: 'Reference',
|
|
111
|
+
items: [
|
|
112
|
+
{ label: 'API', slug: 'reference/api'},
|
|
113
|
+
// TODO: Complete docs
|
|
114
|
+
// { label: 'Defaults', slug: 'introduction'},
|
|
115
|
+
// { label: 'Config sharing', slug: 'introduction'},
|
|
116
|
+
// { label: 'Scripts & commands', slug: 'introduction'},
|
|
117
|
+
// { label: 'Roadmap', slug: 'introduction'},
|
|
118
|
+
]
|
|
119
|
+
},
|
|
104
120
|
|
|
105
121
|
],
|
|
106
122
|
customCss: [
|
|
107
123
|
'./src/styles/custom.css',
|
|
108
124
|
],
|
|
125
|
+
plugins: [starlightImageZoom()],
|
|
109
126
|
})],
|
|
110
127
|
markdown: {
|
|
111
|
-
rehypePlugins: [rehypeMermaid],
|
|
128
|
+
rehypePlugins: [ [rehypeMermaid, {strategy: "img-png", mermaidConfig:{ theme: 'neutral' } }] ], // CSS styles do not apply, have to inline
|
|
129
|
+
// rehypePlugins: [ rehypeMermaid ], //For occasional testing, see the SVG component and class names
|
|
112
130
|
},
|
|
113
131
|
});
|
package/docs/package-lock.json
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"playwright": "^1.49.0",
|
|
14
14
|
"rehype-mermaid": "^3.0.0",
|
|
15
15
|
"sharp": "^0.32.5",
|
|
16
|
+
"starlight-image-zoom": "^0.9.0",
|
|
16
17
|
"typescript": "^5.6.3"
|
|
17
18
|
}
|
|
18
19
|
},
|
|
@@ -7703,6 +7704,22 @@
|
|
|
7703
7704
|
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
|
7704
7705
|
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
|
|
7705
7706
|
},
|
|
7707
|
+
"node_modules/starlight-image-zoom": {
|
|
7708
|
+
"version": "0.9.0",
|
|
7709
|
+
"resolved": "https://registry.npmjs.org/starlight-image-zoom/-/starlight-image-zoom-0.9.0.tgz",
|
|
7710
|
+
"integrity": "sha512-XG87T80g5hsT6dvtNk9OKx0gD+M8lsloVTApQYnxdc3JD8lQBfu2kCsrwkyrwXZRtV7JRyd0PDHwx1UFmGmI1g==",
|
|
7711
|
+
"dependencies": {
|
|
7712
|
+
"rehype-raw": "7.0.0",
|
|
7713
|
+
"unist-util-visit": "5.0.0",
|
|
7714
|
+
"unist-util-visit-parents": "6.0.1"
|
|
7715
|
+
},
|
|
7716
|
+
"engines": {
|
|
7717
|
+
"node": ">=18"
|
|
7718
|
+
},
|
|
7719
|
+
"peerDependencies": {
|
|
7720
|
+
"@astrojs/starlight": ">=0.22.0"
|
|
7721
|
+
}
|
|
7722
|
+
},
|
|
7706
7723
|
"node_modules/stdin-discarder": {
|
|
7707
7724
|
"version": "0.2.2",
|
|
7708
7725
|
"resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz",
|
package/docs/package.json
CHANGED
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.1",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"dev": "astro dev",
|
|
6
|
+
"dev:development": "astro dev",
|
|
7
|
+
"dev:developmentd:host": "astro dev --host",
|
|
8
|
+
"build:development": "astro check && astro build --mode development",
|
|
9
|
+
"build:production": "astro check && astro build --mode production",
|
|
7
10
|
"start": "astro dev",
|
|
8
11
|
"build": "astro check && astro build",
|
|
9
12
|
"preview": "astro preview",
|
|
@@ -16,6 +19,7 @@
|
|
|
16
19
|
"playwright": "^1.49.0",
|
|
17
20
|
"rehype-mermaid": "^3.0.0",
|
|
18
21
|
"sharp": "^0.32.5",
|
|
22
|
+
"starlight-image-zoom": "^0.9.0",
|
|
19
23
|
"typescript": "^5.6.3"
|
|
20
24
|
}
|
|
21
25
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
// Copied from '@astrojs/starlight/components/Footer.astro';
|
|
3
|
+
// @ts-nocheck needed because :shrug:
|
|
3
4
|
|
|
4
5
|
import LastUpdated from '@astrojs/starlight/components/LastUpdated.astro';
|
|
5
6
|
import EditLink from '@astrojs/starlight/components/EditLink.astro';
|
|
6
7
|
import Pagination from '@astrojs/starlight/components/Pagination.astro';
|
|
7
8
|
---
|
|
8
9
|
|
|
9
|
-
|
|
10
10
|
<footer class="sl-flex">
|
|
11
11
|
<div class="meta sl-flex">
|
|
12
12
|
<EditLink {...Astro.props} />
|
|
@@ -21,6 +21,7 @@ import Pagination from '@astrojs/starlight/components/Pagination.astro';
|
|
|
21
21
|
|
|
22
22
|
<style>
|
|
23
23
|
.made-with {
|
|
24
|
+
margin-top: 2rem;
|
|
24
25
|
display: flex;
|
|
25
26
|
justify-content: center;
|
|
26
27
|
}
|
|
@@ -55,4 +56,3 @@ import Pagination from '@astrojs/starlight/components/Pagination.astro';
|
|
|
55
56
|
color: var(--sl-color-white);
|
|
56
57
|
}
|
|
57
58
|
</style>
|
|
58
|
-
|
|
@@ -2,83 +2,3 @@
|
|
|
2
2
|
title: Intro
|
|
3
3
|
description: Intro
|
|
4
4
|
---
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import DualCode from '../../components/DualCode.astro';
|
|
8
|
-
|
|
9
|
-
# Demo page
|
|
10
|
-
|
|
11
|
-
To show what we can do, see a better guide here:
|
|
12
|
-
https://starlight.astro.build/guides/authoring-content/
|
|
13
|
-
|
|
14
|
-
## Heading 2
|
|
15
|
-
|
|
16
|
-
### Heading 3
|
|
17
|
-
|
|
18
|
-
[Link](#demo-page) section on this page
|
|
19
|
-
|
|
20
|
-
[Link](/getting-started#heading-1) to another page and section
|
|
21
|
-
|
|
22
|
-

|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
:::tip[Did you know?]
|
|
26
|
-
Astro helps you build faster websites
|
|
27
|
-
:::
|
|
28
|
-
|
|
29
|
-
:::caution
|
|
30
|
-
Astro helps you build faster websites
|
|
31
|
-
:::
|
|
32
|
-
|
|
33
|
-
:::danger
|
|
34
|
-
Astro helps you build faster websites
|
|
35
|
-
:::
|
|
36
|
-
|
|
37
|
-
> This is a blockquote, which is commonly used when quoting another person or document.
|
|
38
|
-
>
|
|
39
|
-
> Blockquotes are indicated by a `>` at the start of each line.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
Highlight the code that is being talked about. Its not needed if it is basic/simple piece of code, but if it gets
|
|
43
|
-
long and complex where you have to show the imports or other configs for example that are important for the piece
|
|
44
|
-
of code you want to highlight and talk about.
|
|
45
|
-
|
|
46
|
-
```ts {4-5}
|
|
47
|
-
import * from not_important
|
|
48
|
-
|
|
49
|
-
function demo() {
|
|
50
|
-
// This line (#2) and the next one are highlighted
|
|
51
|
-
return 'This is line #3 of this snippet';
|
|
52
|
-
}
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
You can add the filename to the code block if it is important to know where the code is from.
|
|
56
|
-
|
|
57
|
-
```ts
|
|
58
|
-
// my-test-file.js
|
|
59
|
-
function demo() {
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
We should be displaying both the TS and Python code blocks in the same way.
|
|
65
|
-
|
|
66
|
-
We loose the nice autocomplete in our IDEs(webstorm at least), but I have not found any way to prevent it,
|
|
67
|
-
unfortunate, but it is what it is.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<DualCode>
|
|
71
|
-
<Fragment slot="ts">
|
|
72
|
-
```ts
|
|
73
|
-
function demo() {
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
```
|
|
77
|
-
</Fragment>
|
|
78
|
-
<Fragment slot="python">
|
|
79
|
-
```python
|
|
80
|
-
def demo:
|
|
81
|
-
pass
|
|
82
|
-
```
|
|
83
|
-
</Fragment>
|
|
84
|
-
</DualCode>
|