@aws-solutions-constructs/resources 2.56.0 → 2.58.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 (25) hide show
  1. package/.jsii +46 -7
  2. package/lib/key-policy-updater.d.ts +1 -1
  3. package/lib/key-policy-updater.js +13 -18
  4. package/lib/template-writer.js +16 -37
  5. package/package.json +6 -6
  6. package/test/integ.key-policy-updater.d.ts +13 -0
  7. package/test/integ.key-policy-updater.js +65 -0
  8. package/test/integ.key-policy-updater.js.snapshot/asset.4a4b024f310aca2784b69bcb790e9ccaef785e9ad5d1b73624144f88c4465b4f/index.d.ts +30 -0
  9. package/test/integ.key-policy-updater.js.snapshot/asset.4a4b024f310aca2784b69bcb790e9ccaef785e9ad5d1b73624144f88c4465b4f/index.js +127 -0
  10. package/test/integ.key-policy-updater.js.snapshot/cdk.out +1 -0
  11. package/test/integ.key-policy-updater.js.snapshot/integ.json +12 -0
  12. package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.assets.json +45 -0
  13. package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.template.json +518 -0
  14. package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets.json +19 -0
  15. package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.template.json +36 -0
  16. package/test/integ.key-policy-updater.js.snapshot/manifest.json +185 -0
  17. package/test/integ.key-policy-updater.js.snapshot/tree.json +795 -0
  18. package/test/integ.template-writer-from-asset.js.snapshot/manifest.json +27 -9
  19. package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.assets.json +5 -5
  20. package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.template.json +65 -121
  21. package/test/integ.template-writer-from-asset.js.snapshot/tree.json +128 -192
  22. package/test/integ.template-writer-from-large-asset.js.snapshot/manifest.json +27 -9
  23. package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.assets.json +5 -5
  24. package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.template.json +65 -121
  25. package/test/integ.template-writer-from-large-asset.js.snapshot/tree.json +128 -192
@@ -0,0 +1,185 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "artifacts": {
4
+ "keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets": {
5
+ "type": "cdk:asset-manifest",
6
+ "properties": {
7
+ "file": "keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets.json",
8
+ "requiresBootstrapStackVersion": 6,
9
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
10
+ }
11
+ },
12
+ "keypolicyupdaterIntegDefaultTestDeployAssert2855331B": {
13
+ "type": "aws:cloudformation:stack",
14
+ "environment": "aws://unknown-account/unknown-region",
15
+ "properties": {
16
+ "templateFile": "keypolicyupdaterIntegDefaultTestDeployAssert2855331B.template.json",
17
+ "terminationProtection": false,
18
+ "validateOnSynth": false,
19
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
20
+ "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
21
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
22
+ "requiresBootstrapStackVersion": 6,
23
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
24
+ "additionalDependencies": [
25
+ "keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets"
26
+ ],
27
+ "lookupRole": {
28
+ "arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
29
+ "requiresBootstrapStackVersion": 8,
30
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
31
+ }
32
+ },
33
+ "dependencies": [
34
+ "keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets"
35
+ ],
36
+ "metadata": {
37
+ "/key-policy-updater/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
38
+ {
39
+ "type": "aws:cdk:logicalId",
40
+ "data": "BootstrapVersion"
41
+ }
42
+ ],
43
+ "/key-policy-updater/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
44
+ {
45
+ "type": "aws:cdk:logicalId",
46
+ "data": "CheckBootstrapVersion"
47
+ }
48
+ ]
49
+ },
50
+ "displayName": "key-policy-updater/Integ/DefaultTest/DeployAssert"
51
+ },
52
+ "key-policy-updater.assets": {
53
+ "type": "cdk:asset-manifest",
54
+ "properties": {
55
+ "file": "key-policy-updater.assets.json",
56
+ "requiresBootstrapStackVersion": 6,
57
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
58
+ }
59
+ },
60
+ "key-policy-updater": {
61
+ "type": "aws:cloudformation:stack",
62
+ "environment": "aws://unknown-account/unknown-region",
63
+ "properties": {
64
+ "templateFile": "key-policy-updater.template.json",
65
+ "terminationProtection": false,
66
+ "validateOnSynth": false,
67
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
+ "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/ce2a8018385dd7565e57e724cd0780b4d6d707af2e6640a2f590f7a7ea17a3a4.json",
70
+ "requiresBootstrapStackVersion": 6,
71
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
+ "additionalDependencies": [
73
+ "key-policy-updater.assets"
74
+ ],
75
+ "lookupRole": {
76
+ "arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
77
+ "requiresBootstrapStackVersion": 8,
78
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
79
+ }
80
+ },
81
+ "dependencies": [
82
+ "key-policy-updater.assets"
83
+ ],
84
+ "metadata": {
85
+ "/key-policy-updater/test key/Resource": [
86
+ {
87
+ "type": "aws:cdk:logicalId",
88
+ "data": "testkey9B36F12B"
89
+ }
90
+ ],
91
+ "/key-policy-updater/test bucket/Resource": [
92
+ {
93
+ "type": "aws:cdk:logicalId",
94
+ "data": "testbucketA976ABFD"
95
+ }
96
+ ],
97
+ "/key-policy-updater/test bucket/Policy/Resource": [
98
+ {
99
+ "type": "aws:cdk:logicalId",
100
+ "data": "testbucketPolicy68299958"
101
+ }
102
+ ],
103
+ "/key-policy-updater/test dist/Origin1/S3Origin/Resource": [
104
+ {
105
+ "type": "aws:cdk:logicalId",
106
+ "data": "testdistOrigin1S3Origin7E994241"
107
+ }
108
+ ],
109
+ "/key-policy-updater/test dist/Resource": [
110
+ {
111
+ "type": "aws:cdk:logicalId",
112
+ "data": "testdistE978BF1A"
113
+ }
114
+ ],
115
+ "/key-policy-updater/LambdaFunctionServiceRole/Resource": [
116
+ {
117
+ "type": "aws:cdk:logicalId",
118
+ "data": "LambdaFunctionServiceRole0C4CDE0B"
119
+ }
120
+ ],
121
+ "/key-policy-updater/LambdaFunctionServiceRole/DefaultPolicy/Resource": [
122
+ {
123
+ "type": "aws:cdk:logicalId",
124
+ "data": "LambdaFunctionServiceRoleDefaultPolicy126C8897"
125
+ }
126
+ ],
127
+ "/key-policy-updater/LambdaFunction/Resource": [
128
+ {
129
+ "type": "aws:cdk:logicalId",
130
+ "data": "LambdaFunctionBF21E41F"
131
+ }
132
+ ],
133
+ "/key-policy-updater/TestResourceCmkPolicy/Resource": [
134
+ {
135
+ "type": "aws:cdk:logicalId",
136
+ "data": "TestResourceCmkPolicy977FBAA4"
137
+ }
138
+ ],
139
+ "/key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/Resource": [
140
+ {
141
+ "type": "aws:cdk:logicalId",
142
+ "data": "KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97"
143
+ }
144
+ ],
145
+ "/key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/DefaultPolicy/Resource": [
146
+ {
147
+ "type": "aws:cdk:logicalId",
148
+ "data": "KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleDefaultPolicyC8853973"
149
+ }
150
+ ],
151
+ "/key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Resource": [
152
+ {
153
+ "type": "aws:cdk:logicalId",
154
+ "data": "KmsKeyPolicyUpdateProviderframeworkonEventEC76BE2C"
155
+ }
156
+ ],
157
+ "/key-policy-updater/KmsKeyPolicyUpdater/Default": [
158
+ {
159
+ "type": "aws:cdk:logicalId",
160
+ "data": "KmsKeyPolicyUpdater"
161
+ }
162
+ ],
163
+ "/key-policy-updater/BootstrapVersion": [
164
+ {
165
+ "type": "aws:cdk:logicalId",
166
+ "data": "BootstrapVersion"
167
+ }
168
+ ],
169
+ "/key-policy-updater/CheckBootstrapVersion": [
170
+ {
171
+ "type": "aws:cdk:logicalId",
172
+ "data": "CheckBootstrapVersion"
173
+ }
174
+ ]
175
+ },
176
+ "displayName": "key-policy-updater"
177
+ },
178
+ "Tree": {
179
+ "type": "cdk:tree",
180
+ "properties": {
181
+ "file": "tree.json"
182
+ }
183
+ }
184
+ }
185
+ }