aws-data-landing-zone 0.0.52 → 0.0.54
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 +297 -216
- package/API.md +1131 -167
- package/docs/src/content/docs/components/identity/iam-identity-center.mdx +24 -12
- package/docs/src/content/docs/components/security/service-deny-list.mdx +2 -4
- package/docs/src/content/docs/reference/api.md +1131 -167
- 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/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.d.ts +1 -1
- package/lib/constructs/iam-identity-center/iam-identity-center.js +3 -3
- 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 +6 -1
- package/lib/data-landing-zone-types.js +1 -1
- package/lib/data-landing-zone.d.ts +4 -4
- package/lib/data-landing-zone.js +23 -5
- package/lib/defaults.js +1 -1
- package/lib/lib/report/index.js +1 -1
- package/lib/scripts/index.js +1 -1
- package/lib/stacks/index.d.ts +2 -1
- package/lib/stacks/index.js +3 -2
- package/lib/stacks/organization/management/management-global-iam-identity-center-stack.d.ts +7 -0
- package/lib/stacks/organization/management/management-global-iam-identity-center-stack.js +17 -0
- package/lib/stacks/organization/{management-stack.d.ts → management/management-global-stack.d.ts} +3 -7
- package/lib/stacks/organization/management/management-global-stack.js +234 -0
- 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/lib/stacks/organization/management-stack.js +0 -243
|
@@ -22,7 +22,9 @@ The email address must be used as the username. If an external IdP is used, the
|
|
|
22
22
|
|
|
23
23
|
Users can be added to access groups, which are assigned permission sets. Permission sets can be created from managed
|
|
24
24
|
policies or inline policies. Access groups support wildcards for account names, making it easy to assign permissions
|
|
25
|
-
across multiple accounts.
|
|
25
|
+
across multiple accounts. There are three fixed named accounts: `root`, `log`, and `audit` as per required configuration,
|
|
26
|
+
the rest are as per the account configuration in the Workloads OU.
|
|
27
|
+
|
|
26
28
|
|
|
27
29
|
The example below assigns the `AdministratorAccess` permission set (created by
|
|
28
30
|
`...Defaults.iamIdentityCenterPermissionSets()`) to the user `you@org.com` in all accounts, as specified by the wildcard
|
|
@@ -58,10 +60,14 @@ The example below assigns the `AdministratorAccess` permission set (created by
|
|
|
58
60
|
// Create a custom permission sets from inline policies
|
|
59
61
|
{
|
|
60
62
|
name: 's3-only-access',
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
inlinePolicyDocument: new iam.PolicyDocument({
|
|
64
|
+
statements: [
|
|
65
|
+
new iam.PolicyStatement({
|
|
66
|
+
actions: ['s3:GetObject'],
|
|
67
|
+
resources: ['arn:aws:s3:::mybucket/*'],
|
|
68
|
+
})
|
|
69
|
+
]
|
|
70
|
+
}),
|
|
65
71
|
}
|
|
66
72
|
],
|
|
67
73
|
accessGroups: [
|
|
@@ -85,6 +91,7 @@ The example below assigns the `AdministratorAccess` permission set (created by
|
|
|
85
91
|
```python
|
|
86
92
|
import aws_cdk as cdk
|
|
87
93
|
import aws_data_landing_zone as dlz
|
|
94
|
+
from aws_cdk.aws_iam import (PolicyDocument, Effect, PolicyStatement)
|
|
88
95
|
|
|
89
96
|
app = cdk.App()
|
|
90
97
|
dlz.DataLandingZone(app,
|
|
@@ -106,16 +113,21 @@ The example below assigns the `AdministratorAccess` permission set (created by
|
|
|
106
113
|
*Defaults.iam_identity_center_permission_sets(),
|
|
107
114
|
# Create custom permission sets from managed policies
|
|
108
115
|
{
|
|
109
|
-
|
|
110
|
-
|
|
116
|
+
name: 'power-user-permission-set',
|
|
117
|
+
managed_policy_arns: ['arn:aws:iam::aws:policy/PowerUserAccess']
|
|
111
118
|
},
|
|
112
119
|
# Create a custom permission sets from inline policies
|
|
113
120
|
{
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
121
|
+
name: 's3-only-access',
|
|
122
|
+
inline_policy_document: PolicyDocument(
|
|
123
|
+
statements=[
|
|
124
|
+
PolicyStatement(
|
|
125
|
+
effect=Effect.ALLOW,
|
|
126
|
+
actions=["s3:*"],
|
|
127
|
+
resources=["*"]
|
|
128
|
+
)
|
|
129
|
+
]
|
|
130
|
+
)
|
|
119
131
|
}
|
|
120
132
|
],
|
|
121
133
|
"access_groups": [
|
|
@@ -49,10 +49,8 @@ To add a service to the `denyServiceList` property of the configuration, provide
|
|
|
49
49
|
## Defaults
|
|
50
50
|
|
|
51
51
|
The `Defaults.denyServiceList` function is used to create a list of services that should be denied across all accounts
|
|
52
|
-
and regions.
|
|
53
|
-
|
|
54
|
-
'eks:*',
|
|
55
|
-
```
|
|
52
|
+
and regions. You can find a detailed list of these controls in the code
|
|
53
|
+
[here](https://github.com/DataChefHQ/aws-data-landing-zone/blob/2c4cc83116cc124bee8f1f83d53ccff4d02e8ab4/src/defaults.ts#L21).
|
|
56
54
|
|
|
57
55
|
## API References
|
|
58
56
|
- [DataLandingZoneProps.denyServiceList](/reference/api/#aws-data-landing-zone.DataLandingZoneProps.property.denyServiceList)
|