@aws-solutions-constructs/resources 2.106.0 → 2.107.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.
- package/.jsii +149 -4
- package/package.json +6 -6
- package/test/integ.key-policy-updater.js.snapshot/cdk.out +1 -1
- package/test/integ.key-policy-updater.js.snapshot/integ.json +3 -2
- package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.assets.json +8 -8
- package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.metadata.json +6 -0
- package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.template.json +2 -2
- package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets.json +1 -1
- package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.metadata.json +6 -0
- package/test/integ.key-policy-updater.js.snapshot/manifest.json +33 -4
- package/test/integ.key-policy-updater.js.snapshot/tree.json +1 -1
package/.jsii
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"@aws-sdk/client-s3": "^3.478.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@aws-solutions-constructs/core": "2.
|
|
16
|
-
"aws-cdk-lib": "^2.
|
|
15
|
+
"@aws-solutions-constructs/core": "2.107.0",
|
|
16
|
+
"aws-cdk-lib": "^2.276.0",
|
|
17
17
|
"constructs": "^10.0.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencyClosure": {
|
|
@@ -332,6 +332,19 @@
|
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
},
|
|
335
|
+
"aws-cdk-lib.aws_appfabric": {
|
|
336
|
+
"targets": {
|
|
337
|
+
"dotnet": {
|
|
338
|
+
"namespace": "Amazon.CDK.AWS.AppFabric"
|
|
339
|
+
},
|
|
340
|
+
"java": {
|
|
341
|
+
"package": "software.amazon.awscdk.services.appfabric"
|
|
342
|
+
},
|
|
343
|
+
"python": {
|
|
344
|
+
"module": "aws_cdk.aws_appfabric"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
335
348
|
"aws-cdk-lib.aws_appflow": {
|
|
336
349
|
"targets": {
|
|
337
350
|
"dotnet": {
|
|
@@ -2627,6 +2640,32 @@
|
|
|
2627
2640
|
}
|
|
2628
2641
|
}
|
|
2629
2642
|
},
|
|
2643
|
+
"aws-cdk-lib.aws_licensemanagerlinuxsubscriptions": {
|
|
2644
|
+
"targets": {
|
|
2645
|
+
"dotnet": {
|
|
2646
|
+
"namespace": "Amazon.CDK.AWS.LicenseManagerLinuxSubscriptions"
|
|
2647
|
+
},
|
|
2648
|
+
"java": {
|
|
2649
|
+
"package": "software.amazon.awscdk.services.licensemanagerlinuxsubscriptions"
|
|
2650
|
+
},
|
|
2651
|
+
"python": {
|
|
2652
|
+
"module": "aws_cdk.aws_licensemanagerlinuxsubscriptions"
|
|
2653
|
+
}
|
|
2654
|
+
}
|
|
2655
|
+
},
|
|
2656
|
+
"aws-cdk-lib.aws_licensemanagerusersubscriptions": {
|
|
2657
|
+
"targets": {
|
|
2658
|
+
"dotnet": {
|
|
2659
|
+
"namespace": "Amazon.CDK.AWS.LicenseManagerUserSubscriptions"
|
|
2660
|
+
},
|
|
2661
|
+
"java": {
|
|
2662
|
+
"package": "software.amazon.awscdk.services.licensemanagerusersubscriptions"
|
|
2663
|
+
},
|
|
2664
|
+
"python": {
|
|
2665
|
+
"module": "aws_cdk.aws_licensemanagerusersubscriptions"
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
},
|
|
2630
2669
|
"aws-cdk-lib.aws_lightsail": {
|
|
2631
2670
|
"targets": {
|
|
2632
2671
|
"dotnet": {
|
|
@@ -3004,6 +3043,19 @@
|
|
|
3004
3043
|
}
|
|
3005
3044
|
}
|
|
3006
3045
|
},
|
|
3046
|
+
"aws-cdk-lib.aws_networksecuritymanager": {
|
|
3047
|
+
"targets": {
|
|
3048
|
+
"dotnet": {
|
|
3049
|
+
"namespace": "Amazon.CDK.AWS.NetworkSecurityManager"
|
|
3050
|
+
},
|
|
3051
|
+
"java": {
|
|
3052
|
+
"package": "software.amazon.awscdk.services.networksecuritymanager"
|
|
3053
|
+
},
|
|
3054
|
+
"python": {
|
|
3055
|
+
"module": "aws_cdk.aws_networksecuritymanager"
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
},
|
|
3007
3059
|
"aws-cdk-lib.aws_nimblestudio": {
|
|
3008
3060
|
"targets": {
|
|
3009
3061
|
"dotnet": {
|
|
@@ -3329,6 +3381,19 @@
|
|
|
3329
3381
|
}
|
|
3330
3382
|
}
|
|
3331
3383
|
},
|
|
3384
|
+
"aws-cdk-lib.aws_polly": {
|
|
3385
|
+
"targets": {
|
|
3386
|
+
"dotnet": {
|
|
3387
|
+
"namespace": "Amazon.CDK.AWS.Polly"
|
|
3388
|
+
},
|
|
3389
|
+
"java": {
|
|
3390
|
+
"package": "software.amazon.awscdk.services.polly"
|
|
3391
|
+
},
|
|
3392
|
+
"python": {
|
|
3393
|
+
"module": "aws_cdk.aws_polly"
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
},
|
|
3332
3397
|
"aws-cdk-lib.aws_pricingplanmanager": {
|
|
3333
3398
|
"targets": {
|
|
3334
3399
|
"dotnet": {
|
|
@@ -4815,6 +4880,22 @@
|
|
|
4815
4880
|
}
|
|
4816
4881
|
}
|
|
4817
4882
|
},
|
|
4883
|
+
"aws-cdk-lib.interfaces.aws_appfabric": {
|
|
4884
|
+
"targets": {
|
|
4885
|
+
"dotnet": {
|
|
4886
|
+
"namespace": "Amazon.CDK.Interfaces.AppFabric"
|
|
4887
|
+
},
|
|
4888
|
+
"go": {
|
|
4889
|
+
"packageName": "interfacesawsappfabric"
|
|
4890
|
+
},
|
|
4891
|
+
"java": {
|
|
4892
|
+
"package": "software.amazon.awscdk.interfaces.appfabric"
|
|
4893
|
+
},
|
|
4894
|
+
"python": {
|
|
4895
|
+
"module": "aws_cdk.interfaces.aws_appfabric"
|
|
4896
|
+
}
|
|
4897
|
+
}
|
|
4898
|
+
},
|
|
4818
4899
|
"aws-cdk-lib.interfaces.aws_appflow": {
|
|
4819
4900
|
"targets": {
|
|
4820
4901
|
"dotnet": {
|
|
@@ -7375,6 +7456,38 @@
|
|
|
7375
7456
|
}
|
|
7376
7457
|
}
|
|
7377
7458
|
},
|
|
7459
|
+
"aws-cdk-lib.interfaces.aws_licensemanagerlinuxsubscriptions": {
|
|
7460
|
+
"targets": {
|
|
7461
|
+
"dotnet": {
|
|
7462
|
+
"namespace": "Amazon.CDK.Interfaces.LicenseManagerLinuxSubscriptions"
|
|
7463
|
+
},
|
|
7464
|
+
"go": {
|
|
7465
|
+
"packageName": "interfacesawslicensemanagerlinuxsubscriptions"
|
|
7466
|
+
},
|
|
7467
|
+
"java": {
|
|
7468
|
+
"package": "software.amazon.awscdk.interfaces.licensemanagerlinuxsubscriptions"
|
|
7469
|
+
},
|
|
7470
|
+
"python": {
|
|
7471
|
+
"module": "aws_cdk.interfaces.aws_licensemanagerlinuxsubscriptions"
|
|
7472
|
+
}
|
|
7473
|
+
}
|
|
7474
|
+
},
|
|
7475
|
+
"aws-cdk-lib.interfaces.aws_licensemanagerusersubscriptions": {
|
|
7476
|
+
"targets": {
|
|
7477
|
+
"dotnet": {
|
|
7478
|
+
"namespace": "Amazon.CDK.Interfaces.LicenseManagerUserSubscriptions"
|
|
7479
|
+
},
|
|
7480
|
+
"go": {
|
|
7481
|
+
"packageName": "interfacesawslicensemanagerusersubscriptions"
|
|
7482
|
+
},
|
|
7483
|
+
"java": {
|
|
7484
|
+
"package": "software.amazon.awscdk.interfaces.licensemanagerusersubscriptions"
|
|
7485
|
+
},
|
|
7486
|
+
"python": {
|
|
7487
|
+
"module": "aws_cdk.interfaces.aws_licensemanagerusersubscriptions"
|
|
7488
|
+
}
|
|
7489
|
+
}
|
|
7490
|
+
},
|
|
7378
7491
|
"aws-cdk-lib.interfaces.aws_lightsail": {
|
|
7379
7492
|
"targets": {
|
|
7380
7493
|
"dotnet": {
|
|
@@ -7823,6 +7936,22 @@
|
|
|
7823
7936
|
}
|
|
7824
7937
|
}
|
|
7825
7938
|
},
|
|
7939
|
+
"aws-cdk-lib.interfaces.aws_networksecuritymanager": {
|
|
7940
|
+
"targets": {
|
|
7941
|
+
"dotnet": {
|
|
7942
|
+
"namespace": "Amazon.CDK.Interfaces.NetworkSecurityManager"
|
|
7943
|
+
},
|
|
7944
|
+
"go": {
|
|
7945
|
+
"packageName": "interfacesawsnetworksecuritymanager"
|
|
7946
|
+
},
|
|
7947
|
+
"java": {
|
|
7948
|
+
"package": "software.amazon.awscdk.interfaces.networksecuritymanager"
|
|
7949
|
+
},
|
|
7950
|
+
"python": {
|
|
7951
|
+
"module": "aws_cdk.interfaces.aws_networksecuritymanager"
|
|
7952
|
+
}
|
|
7953
|
+
}
|
|
7954
|
+
},
|
|
7826
7955
|
"aws-cdk-lib.interfaces.aws_nimblestudio": {
|
|
7827
7956
|
"targets": {
|
|
7828
7957
|
"dotnet": {
|
|
@@ -8239,6 +8368,22 @@
|
|
|
8239
8368
|
}
|
|
8240
8369
|
}
|
|
8241
8370
|
},
|
|
8371
|
+
"aws-cdk-lib.interfaces.aws_polly": {
|
|
8372
|
+
"targets": {
|
|
8373
|
+
"dotnet": {
|
|
8374
|
+
"namespace": "Amazon.CDK.Interfaces.Polly"
|
|
8375
|
+
},
|
|
8376
|
+
"go": {
|
|
8377
|
+
"packageName": "interfacesawspolly"
|
|
8378
|
+
},
|
|
8379
|
+
"java": {
|
|
8380
|
+
"package": "software.amazon.awscdk.interfaces.polly"
|
|
8381
|
+
},
|
|
8382
|
+
"python": {
|
|
8383
|
+
"module": "aws_cdk.interfaces.aws_polly"
|
|
8384
|
+
}
|
|
8385
|
+
}
|
|
8386
|
+
},
|
|
8242
8387
|
"aws-cdk-lib.interfaces.aws_pricingplanmanager": {
|
|
8243
8388
|
"targets": {
|
|
8244
8389
|
"dotnet": {
|
|
@@ -10060,6 +10205,6 @@
|
|
|
10060
10205
|
"symbolId": "lib/template-writer:TemplateWriterProps"
|
|
10061
10206
|
}
|
|
10062
10207
|
},
|
|
10063
|
-
"version": "2.
|
|
10064
|
-
"fingerprint": "
|
|
10208
|
+
"version": "2.107.0",
|
|
10209
|
+
"fingerprint": "z40nMFL/qe54VusUBoAROSe4IGDkEIDXxDGNrY2r2B0="
|
|
10065
10210
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-solutions-constructs/resources",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.107.0",
|
|
4
4
|
"description": "Resource CDK Constructs for patterns library",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.ts",
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@aws-sdk/client-kms": "^3.478.0",
|
|
56
56
|
"@aws-sdk/client-s3": "^3.478.0",
|
|
57
|
-
"@aws-solutions-constructs/core": "2.
|
|
57
|
+
"@aws-solutions-constructs/core": "2.107.0",
|
|
58
58
|
"constructs": "^10.0.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"aws-sdk-client-mock": "^3.0.0",
|
|
62
|
-
"@aws-cdk/integ-tests-alpha": "2.
|
|
62
|
+
"@aws-cdk/integ-tests-alpha": "2.276.0-alpha.0",
|
|
63
63
|
"@types/node": "^20.0.0",
|
|
64
64
|
"constructs": "^10.0.0",
|
|
65
|
-
"aws-cdk-lib": "2.
|
|
65
|
+
"aws-cdk-lib": "2.276.0"
|
|
66
66
|
},
|
|
67
67
|
"jest": {
|
|
68
68
|
"moduleFileExtensions": [
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"@aws-sdk/client-s3"
|
|
84
84
|
],
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@aws-solutions-constructs/core": "2.
|
|
86
|
+
"@aws-solutions-constructs/core": "2.107.0",
|
|
87
87
|
"constructs": "^10.0.0",
|
|
88
|
-
"aws-cdk-lib": "^2.
|
|
88
|
+
"aws-cdk-lib": "^2.276.0"
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"55.0.0"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "55.0.0",
|
|
3
3
|
"testCases": {
|
|
4
4
|
"key-policy-updater/Integ/DefaultTest": {
|
|
5
5
|
"stacks": [
|
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
"assertionStackName": "keypolicyupdaterIntegDefaultTestDeployAssert2855331B"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"
|
|
12
|
+
"enableLookups": true,
|
|
13
|
+
"minimumCliVersion": "2.1148.1"
|
|
13
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "55.0.0",
|
|
3
3
|
"files": {
|
|
4
4
|
"e97825c838d70ceb13ba2f6223a7d94ed35687b70bfb224a0b9128e698e3f28e": {
|
|
5
5
|
"displayName": "LambdaFunction/Code",
|
|
@@ -15,30 +15,30 @@
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"5c9fd00ba20b9f0f8161f2bd2ccae0f9c29df2b76d34155b8bf281abc354adc8": {
|
|
19
19
|
"displayName": "KmsKeyPolicyUpdateProvider/framework-onEvent/Code",
|
|
20
20
|
"source": {
|
|
21
|
-
"path": "asset.
|
|
21
|
+
"path": "asset.5c9fd00ba20b9f0f8161f2bd2ccae0f9c29df2b76d34155b8bf281abc354adc8",
|
|
22
22
|
"packaging": "zip"
|
|
23
23
|
},
|
|
24
24
|
"destinations": {
|
|
25
|
-
"current_account-current_region-
|
|
25
|
+
"current_account-current_region-e48667fd": {
|
|
26
26
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
27
|
-
"objectKey": "
|
|
27
|
+
"objectKey": "5c9fd00ba20b9f0f8161f2bd2ccae0f9c29df2b76d34155b8bf281abc354adc8.zip",
|
|
28
28
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
"
|
|
32
|
+
"61cda392ae7387f0b0677bf33f05175fd229f5c3cdad5bff2ef68e12023d6297": {
|
|
33
33
|
"displayName": "key-policy-updater Template",
|
|
34
34
|
"source": {
|
|
35
35
|
"path": "key-policy-updater.template.json",
|
|
36
36
|
"packaging": "file"
|
|
37
37
|
},
|
|
38
38
|
"destinations": {
|
|
39
|
-
"current_account-current_region-
|
|
39
|
+
"current_account-current_region-2839ee58": {
|
|
40
40
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
41
|
-
"objectKey": "
|
|
41
|
+
"objectKey": "61cda392ae7387f0b0677bf33f05175fd229f5c3cdad5bff2ef68e12023d6297.json",
|
|
42
42
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
|
|
123
123
|
"Compress": true,
|
|
124
124
|
"TargetOriginId": "keypolicyupdatertestdistOrigin1D732FBD3",
|
|
125
|
-
"ViewerProtocolPolicy": "
|
|
125
|
+
"ViewerProtocolPolicy": "redirect-to-https"
|
|
126
126
|
},
|
|
127
127
|
"Enabled": true,
|
|
128
128
|
"HttpVersion": "http2",
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
"S3Bucket": {
|
|
414
414
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
415
415
|
},
|
|
416
|
-
"S3Key": "
|
|
416
|
+
"S3Key": "5c9fd00ba20b9f0f8161f2bd2ccae0f9c29df2b76d34155b8bf281abc354adc8.zip"
|
|
417
417
|
},
|
|
418
418
|
"Description": "AWS CDK resource provider framework - onEvent (key-policy-updater/KmsKeyPolicyUpdateProvider)",
|
|
419
419
|
"Environment": {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
+
"/key-policy-updater/Integ/DefaultTest/DeployAssert": [
|
|
3
|
+
{
|
|
4
|
+
"type": "aws:cdk:templateFile",
|
|
5
|
+
"data": "keypolicyupdaterIntegDefaultTestDeployAssert2855331B.template.json"
|
|
6
|
+
}
|
|
7
|
+
],
|
|
2
8
|
"/key-policy-updater/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
|
|
3
9
|
{
|
|
4
10
|
"type": "aws:cdk:logicalId",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "55.0.0",
|
|
3
3
|
"artifacts": {
|
|
4
4
|
"keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets": {
|
|
5
5
|
"type": "cdk:asset-manifest",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"validateOnSynth": false,
|
|
54
54
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
|
|
55
55
|
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
|
|
56
|
-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/
|
|
56
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/61cda392ae7387f0b0677bf33f05175fd229f5c3cdad5bff2ef68e12023d6297.json",
|
|
57
57
|
"requiresBootstrapStackVersion": 6,
|
|
58
58
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
59
59
|
"additionalDependencies": [
|
|
@@ -594,6 +594,7 @@
|
|
|
594
594
|
"explanation": "Use AL2023 as the default imageType for EC2 Batch compute environments instead of the deprecated AL2"
|
|
595
595
|
},
|
|
596
596
|
"@aws-cdk/aws-eks:defaultToAL2023": {
|
|
597
|
+
"userValue": true,
|
|
597
598
|
"recommendedValue": true,
|
|
598
599
|
"explanation": "Use AL2023 as the default AMI type for EKS managed node groups using non-GPU instance types instead of the deprecated AL2"
|
|
599
600
|
},
|
|
@@ -603,15 +604,43 @@
|
|
|
603
604
|
"explanation": "Include construct annotations (warnings and errors) in the policy validation report"
|
|
604
605
|
},
|
|
605
606
|
"@aws-cdk/core:defaultCrossStackReferences": {
|
|
607
|
+
"userValue": "weak",
|
|
606
608
|
"recommendedValue": "weak",
|
|
607
|
-
"explanation": "Controls whether cross-
|
|
609
|
+
"explanation": "Controls whether cross-stack references are strong, weak, or both",
|
|
608
610
|
"unconfiguredBehavesLike": {
|
|
609
611
|
"v2": "strong"
|
|
610
612
|
}
|
|
613
|
+
},
|
|
614
|
+
"@aws-cdk/core:validateAgainstDefaultRules": {
|
|
615
|
+
"userValue": true,
|
|
616
|
+
"recommendedValue": true,
|
|
617
|
+
"explanation": "Treat CloudFormation Validate findings as errors"
|
|
618
|
+
},
|
|
619
|
+
"@aws-cdk/aws-ecs:removeEmptyLoadBalancers": {
|
|
620
|
+
"userValue": true,
|
|
621
|
+
"recommendedValue": true,
|
|
622
|
+
"explanation": "Render an empty `LoadBalancers` array on an ECS service that has no target groups"
|
|
623
|
+
},
|
|
624
|
+
"@aws-cdk/aws-cloudfront:defaultViewerProtocolPolicyRedirectToHttps": {
|
|
625
|
+
"userValue": true,
|
|
626
|
+
"recommendedValue": true,
|
|
627
|
+
"explanation": "Default Distribution cache behaviors to redirect HTTP viewer requests to HTTPS"
|
|
628
|
+
},
|
|
629
|
+
"@aws-cdk/aws-apigateway:logGroupDestinationArnWithoutWildcard": {
|
|
630
|
+
"userValue": true,
|
|
631
|
+
"recommendedValue": true,
|
|
632
|
+
"explanation": "Render the API Gateway access log destination ARN without the trailing `:*`"
|
|
633
|
+
},
|
|
634
|
+
"@aws-cdk/aws-stepfunctions-tasks:evaluateExpressionDedicatedFunction": {
|
|
635
|
+
"recommendedValue": true,
|
|
636
|
+
"explanation": "When enabled, each EvaluateExpression task gets its own Lambda function",
|
|
637
|
+
"unconfiguredBehavesLike": {
|
|
638
|
+
"v2": true
|
|
639
|
+
}
|
|
611
640
|
}
|
|
612
641
|
}
|
|
613
642
|
}
|
|
614
643
|
}
|
|
615
644
|
},
|
|
616
|
-
"minimumCliVersion": "2.
|
|
645
|
+
"minimumCliVersion": "2.1148.1"
|
|
617
646
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.259.0"},"children":{"key-policy-updater":{"id":"key-policy-updater","path":"key-policy-updater","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.259.0"},"children":{"test key":{"id":"test key","path":"key-policy-updater/test key","constructInfo":{"fqn":"aws-cdk-lib.aws_kms.Key","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/test key/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_kms.CfnKey","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::KMS::Key","aws:cdk:cloudformation:logicalId":"testkey9B36F12B","aws:cdk:cloudformation:props":{"enableKeyRotation":true,"keyPolicy":{"Statement":[{"Action":"kms:*","Effect":"Allow","Principal":{"AWS":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::",{"Ref":"AWS::AccountId"},":root"]]}},"Resource":"*"}],"Version":"2012-10-17"}}}}}},"test bucket":{"id":"test bucket","path":"key-policy-updater/test bucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/test bucket/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:logicalId":"testbucketA976ABFD","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]}}}},"Policy":{"id":"Policy","path":"key-policy-updater/test bucket/Policy","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/test bucket/Policy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:logicalId":"testbucketPolicy68299958","aws:cdk:cloudformation:props":{"bucket":{"Ref":"testbucketA976ABFD"},"policyDocument":{"Statement":[{"Action":"s3:GetObject","Effect":"Allow","Principal":{"CanonicalUser":{"Fn::GetAtt":["testdistOrigin1S3Origin7E994241","S3CanonicalUserId"]}},"Resource":{"Fn::Join":["",[{"Fn::GetAtt":["testbucketA976ABFD","Arn"]},"/*"]]}}],"Version":"2012-10-17"}}}}}}}},"test dist":{"id":"test dist","path":"key-policy-updater/test dist","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.Distribution","version":"2.259.0"},"children":{"Origin1":{"id":"Origin1","path":"key-policy-updater/test dist/Origin1","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"},"children":{"S3Origin":{"id":"S3Origin","path":"key-policy-updater/test dist/Origin1/S3Origin","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.OriginAccessIdentity","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/test dist/Origin1/S3Origin/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::CloudFrontOriginAccessIdentity","aws:cdk:cloudformation:logicalId":"testdistOrigin1S3Origin7E994241","aws:cdk:cloudformation:props":{"cloudFrontOriginAccessIdentityConfig":{"comment":"Identity for keypolicyupdatertestdistOrigin1D732FBD3"}}}}}}}},"Resource":{"id":"Resource","path":"key-policy-updater/test dist/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnDistribution","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::Distribution","aws:cdk:cloudformation:logicalId":"testdistE978BF1A","aws:cdk:cloudformation:props":{"distributionConfig":{"enabled":true,"origins":[{"domainName":{"Fn::GetAtt":["testbucketA976ABFD","RegionalDomainName"]},"id":"keypolicyupdatertestdistOrigin1D732FBD3","s3OriginConfig":{"originAccessIdentity":{"Fn::Join":["",["origin-access-identity/cloudfront/",{"Ref":"testdistOrigin1S3Origin7E994241"}]]}}}],"defaultCacheBehavior":{"pathPattern":"*","targetOriginId":"keypolicyupdatertestdistOrigin1D732FBD3","cachePolicyId":"658327ea-f89d-4fab-a63d-7e88639e58f6","compress":true,"viewerProtocolPolicy":"allow-all"},"httpVersion":"http2","ipv6Enabled":true}}}}}},"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"key-policy-updater/LambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/LambdaFunctionServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"LambdaFunctionServiceRole0C4CDE0B","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}}}}},"LambdaFunction":{"id":"LambdaFunction","path":"key-policy-updater/LambdaFunction","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.259.0"},"children":{"Code":{"id":"Code","path":"key-policy-updater/LambdaFunction/Code","constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.259.0"},"children":{"Stage":{"id":"Stage","path":"key-policy-updater/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.259.0"}},"AssetBucket":{"id":"AssetBucket","path":"key-policy-updater/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.259.0"}}}},"Resource":{"id":"Resource","path":"key-policy-updater/LambdaFunction/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:logicalId":"LambdaFunctionBF21E41F","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"e97825c838d70ceb13ba2f6223a7d94ed35687b70bfb224a0b9128e698e3f28e.zip"},"description":"Custom resource function that updates a provided key policy to allow CloudFront access.","environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1"}},"handler":"index.handler","role":{"Fn::GetAtt":["LambdaFunctionServiceRole0C4CDE0B","Arn"]},"runtime":"nodejs22.x","tracingConfig":{"mode":"Active"}}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"key-policy-updater/LambdaFunction/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"LambdaFunctioninlinePolicyAddedToExecutionRole007875684","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"LambdaFunctioninlinePolicyAddedToExecutionRole007875684","roles":[{"Ref":"LambdaFunctionServiceRole0C4CDE0B"}]}}}}}}},"TestResourceCmkPolicy":{"id":"TestResourceCmkPolicy","path":"key-policy-updater/TestResourceCmkPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/TestResourceCmkPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"TestResourceCmkPolicy977FBAA4","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["kms:DescribeKey","kms:GetKeyPolicy","kms:PutKeyPolicy"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testkey9B36F12B","Arn"]}}],"Version":"2012-10-17"},"policyName":"TestResourceCmkPolicy977FBAA4","roles":[{"Ref":"LambdaFunctionServiceRole0C4CDE0B"}]}}}}},"KmsKeyPolicyUpdateProvider":{"id":"KmsKeyPolicyUpdateProvider","path":"key-policy-updater/KmsKeyPolicyUpdateProvider","constructInfo":{"fqn":"aws-cdk-lib.custom_resources.Provider","version":"2.259.0"},"children":{"framework-onEvent":{"id":"framework-onEvent","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.259.0"},"children":{"ServiceRole":{"id":"ServiceRole","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"managedPolicyArns":[{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"]]}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleDefaultPolicyC8853973","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"lambda:InvokeFunction","Effect":"Allow","Resource":[{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]},":*"]]}]}],"Version":"2012-10-17"},"policyName":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleDefaultPolicyC8853973","roles":[{"Ref":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97"}]}}}}}}},"Code":{"id":"Code","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code","constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.259.0"},"children":{"Stage":{"id":"Stage","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.259.0"}},"AssetBucket":{"id":"AssetBucket","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.259.0"}}}},"Resource":{"id":"Resource","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:logicalId":"KmsKeyPolicyUpdateProviderframeworkonEventEC76BE2C","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"},"description":"AWS CDK resource provider framework - onEvent (key-policy-updater/KmsKeyPolicyUpdateProvider)","environment":{"variables":{"USER_ON_EVENT_FUNCTION_ARN":{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]}}},"handler":"framework.onEvent","loggingConfig":{"logFormat":"JSON","applicationLogLevel":"FATAL"},"role":{"Fn::GetAtt":["KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97","Arn"]},"runtime":"nodejs24.x","timeout":900}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"KmsKeyPolicyUpdateProviderframeworkonEventinlinePolicyAddedToExecutionRole0DC7D970F","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"lambda:GetFunction","Effect":"Allow","Resource":{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]}}],"Version":"2012-10-17"},"policyName":"KmsKeyPolicyUpdateProviderframeworkonEventinlinePolicyAddedToExecutionRole0DC7D970F","roles":[{"Ref":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97"}]}}}}}}}}},"KmsKeyPolicyUpdater":{"id":"KmsKeyPolicyUpdater","path":"key-policy-updater/KmsKeyPolicyUpdater","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.259.0"},"children":{"Default":{"id":"Default","path":"key-policy-updater/KmsKeyPolicyUpdater/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}}}},"Integ":{"id":"Integ","path":"key-policy-updater/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.259.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"key-policy-updater/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.259.0-alpha.0"},"children":{"Default":{"id":"Default","path":"key-policy-updater/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}},"DeployAssert":{"id":"DeployAssert","path":"key-policy-updater/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.259.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"key-policy-updater/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.259.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"key-policy-updater/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.259.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"key-policy-updater/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.259.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"key-policy-updater/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.259.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}}}}}
|
|
1
|
+
{"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.276.0"},"children":{"key-policy-updater":{"id":"key-policy-updater","path":"key-policy-updater","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.276.0"},"children":{"test key":{"id":"test key","path":"key-policy-updater/test key","constructInfo":{"fqn":"aws-cdk-lib.aws_kms.Key","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/test key/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_kms.CfnKey","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::KMS::Key","aws:cdk:cloudformation:logicalId":"testkey9B36F12B","aws:cdk:cloudformation:props":{"enableKeyRotation":true,"keyPolicy":{"Statement":[{"Action":"kms:*","Effect":"Allow","Principal":{"AWS":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::",{"Ref":"AWS::AccountId"},":root"]]}},"Resource":"*"}],"Version":"2012-10-17"}}}}}},"test bucket":{"id":"test bucket","path":"key-policy-updater/test bucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/test bucket/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:logicalId":"testbucketA976ABFD","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]}}}},"Policy":{"id":"Policy","path":"key-policy-updater/test bucket/Policy","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/test bucket/Policy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:logicalId":"testbucketPolicy68299958","aws:cdk:cloudformation:props":{"bucket":{"Ref":"testbucketA976ABFD"},"policyDocument":{"Statement":[{"Action":"s3:GetObject","Effect":"Allow","Principal":{"CanonicalUser":{"Fn::GetAtt":["testdistOrigin1S3Origin7E994241","S3CanonicalUserId"]}},"Resource":{"Fn::Join":["",[{"Fn::GetAtt":["testbucketA976ABFD","Arn"]},"/*"]]}}],"Version":"2012-10-17"}}}}}}}},"test dist":{"id":"test dist","path":"key-policy-updater/test dist","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.Distribution","version":"2.276.0"},"children":{"Origin1":{"id":"Origin1","path":"key-policy-updater/test dist/Origin1","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"},"children":{"S3Origin":{"id":"S3Origin","path":"key-policy-updater/test dist/Origin1/S3Origin","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.OriginAccessIdentity","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/test dist/Origin1/S3Origin/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::CloudFrontOriginAccessIdentity","aws:cdk:cloudformation:logicalId":"testdistOrigin1S3Origin7E994241","aws:cdk:cloudformation:props":{"cloudFrontOriginAccessIdentityConfig":{"comment":"Identity for keypolicyupdatertestdistOrigin1D732FBD3"}}}}}}}},"Resource":{"id":"Resource","path":"key-policy-updater/test dist/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnDistribution","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::Distribution","aws:cdk:cloudformation:logicalId":"testdistE978BF1A","aws:cdk:cloudformation:props":{"distributionConfig":{"enabled":true,"origins":[{"domainName":{"Fn::GetAtt":["testbucketA976ABFD","RegionalDomainName"]},"id":"keypolicyupdatertestdistOrigin1D732FBD3","s3OriginConfig":{"originAccessIdentity":{"Fn::Join":["",["origin-access-identity/cloudfront/",{"Ref":"testdistOrigin1S3Origin7E994241"}]]}}}],"defaultCacheBehavior":{"pathPattern":"*","targetOriginId":"keypolicyupdatertestdistOrigin1D732FBD3","cachePolicyId":"658327ea-f89d-4fab-a63d-7e88639e58f6","compress":true,"viewerProtocolPolicy":"redirect-to-https"},"httpVersion":"http2","ipv6Enabled":true}}}}}},"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"key-policy-updater/LambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/LambdaFunctionServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"LambdaFunctionServiceRole0C4CDE0B","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}}}}},"LambdaFunction":{"id":"LambdaFunction","path":"key-policy-updater/LambdaFunction","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.276.0"},"children":{"Code":{"id":"Code","path":"key-policy-updater/LambdaFunction/Code","constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.276.0"},"children":{"Stage":{"id":"Stage","path":"key-policy-updater/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.276.0"}},"AssetBucket":{"id":"AssetBucket","path":"key-policy-updater/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.276.0"}}}},"Resource":{"id":"Resource","path":"key-policy-updater/LambdaFunction/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:logicalId":"LambdaFunctionBF21E41F","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"e97825c838d70ceb13ba2f6223a7d94ed35687b70bfb224a0b9128e698e3f28e.zip"},"description":"Custom resource function that updates a provided key policy to allow CloudFront access.","environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1"}},"handler":"index.handler","role":{"Fn::GetAtt":["LambdaFunctionServiceRole0C4CDE0B","Arn"]},"runtime":"nodejs22.x","tracingConfig":{"mode":"Active"}}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"key-policy-updater/LambdaFunction/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"LambdaFunctioninlinePolicyAddedToExecutionRole007875684","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"LambdaFunctioninlinePolicyAddedToExecutionRole007875684","roles":[{"Ref":"LambdaFunctionServiceRole0C4CDE0B"}]}}}}}}},"TestResourceCmkPolicy":{"id":"TestResourceCmkPolicy","path":"key-policy-updater/TestResourceCmkPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/TestResourceCmkPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"TestResourceCmkPolicy977FBAA4","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["kms:DescribeKey","kms:GetKeyPolicy","kms:PutKeyPolicy"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testkey9B36F12B","Arn"]}}],"Version":"2012-10-17"},"policyName":"TestResourceCmkPolicy977FBAA4","roles":[{"Ref":"LambdaFunctionServiceRole0C4CDE0B"}]}}}}},"KmsKeyPolicyUpdateProvider":{"id":"KmsKeyPolicyUpdateProvider","path":"key-policy-updater/KmsKeyPolicyUpdateProvider","constructInfo":{"fqn":"aws-cdk-lib.custom_resources.Provider","version":"2.276.0"},"children":{"framework-onEvent":{"id":"framework-onEvent","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.276.0"},"children":{"ServiceRole":{"id":"ServiceRole","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"managedPolicyArns":[{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"]]}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleDefaultPolicyC8853973","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"lambda:InvokeFunction","Effect":"Allow","Resource":[{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]},":*"]]}]}],"Version":"2012-10-17"},"policyName":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleDefaultPolicyC8853973","roles":[{"Ref":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97"}]}}}}}}},"Code":{"id":"Code","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code","constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.276.0"},"children":{"Stage":{"id":"Stage","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.276.0"}},"AssetBucket":{"id":"AssetBucket","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.276.0"}}}},"Resource":{"id":"Resource","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:logicalId":"KmsKeyPolicyUpdateProviderframeworkonEventEC76BE2C","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"5c9fd00ba20b9f0f8161f2bd2ccae0f9c29df2b76d34155b8bf281abc354adc8.zip"},"description":"AWS CDK resource provider framework - onEvent (key-policy-updater/KmsKeyPolicyUpdateProvider)","environment":{"variables":{"USER_ON_EVENT_FUNCTION_ARN":{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]}}},"handler":"framework.onEvent","loggingConfig":{"logFormat":"JSON","applicationLogLevel":"FATAL"},"role":{"Fn::GetAtt":["KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97","Arn"]},"runtime":"nodejs24.x","timeout":900}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.276.0"},"children":{"Resource":{"id":"Resource","path":"key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.276.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"KmsKeyPolicyUpdateProviderframeworkonEventinlinePolicyAddedToExecutionRole0DC7D970F","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"lambda:GetFunction","Effect":"Allow","Resource":{"Fn::GetAtt":["LambdaFunctionBF21E41F","Arn"]}}],"Version":"2012-10-17"},"policyName":"KmsKeyPolicyUpdateProviderframeworkonEventinlinePolicyAddedToExecutionRole0DC7D970F","roles":[{"Ref":"KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97"}]}}}}}}}}},"KmsKeyPolicyUpdater":{"id":"KmsKeyPolicyUpdater","path":"key-policy-updater/KmsKeyPolicyUpdater","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.276.0"},"children":{"Default":{"id":"Default","path":"key-policy-updater/KmsKeyPolicyUpdater/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.276.0"}}}},"Integ":{"id":"Integ","path":"key-policy-updater/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.276.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"key-policy-updater/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.276.0-alpha.0"},"children":{"Default":{"id":"Default","path":"key-policy-updater/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}},"DeployAssert":{"id":"DeployAssert","path":"key-policy-updater/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.276.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"key-policy-updater/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.276.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"key-policy-updater/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.276.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"key-policy-updater/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.276.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"key-policy-updater/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.276.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}}}}}
|