@aws-solutions-constructs/resources 2.79.1 → 2.81.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 +43 -43
- package/lib/template-writer-custom-resource/index.d.ts +1 -0
- package/lib/template-writer-custom-resource/index.js +7 -2
- 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 +1 -1
- package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.assets.json +6 -6
- package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.template.json +55 -40
- package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets.json +1 -1
- package/test/integ.key-policy-updater.js.snapshot/manifest.json +363 -6
- package/test/integ.key-policy-updater.js.snapshot/tree.json +1 -816
- package/test/integ.template-writer-from-asset.js.snapshot/{asset.37a6f0964e9c5c4133e01db00bbcaebc6da2a25a21e27aa0f87add1eb65546e7 → asset.b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d}/index.d.ts +1 -0
- package/test/integ.template-writer-from-asset.js.snapshot/{asset.37a6f0964e9c5c4133e01db00bbcaebc6da2a25a21e27aa0f87add1eb65546e7 → asset.b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d}/index.js +7 -2
- package/test/integ.template-writer-from-asset.js.snapshot/cdk.out +1 -1
- package/test/integ.template-writer-from-asset.js.snapshot/integ.json +1 -1
- package/test/integ.template-writer-from-asset.js.snapshot/manifest.json +336 -6
- package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.assets.json +9 -9
- package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.template.json +56 -41
- package/test/integ.template-writer-from-asset.js.snapshot/templatewriterfromassetIntegDefaultTestDeployAssert3AE00E9B.assets.json +1 -1
- package/test/integ.template-writer-from-asset.js.snapshot/tree.json +1 -657
- package/test/integ.template-writer-from-large-asset.js.snapshot/{asset.37a6f0964e9c5c4133e01db00bbcaebc6da2a25a21e27aa0f87add1eb65546e7 → asset.b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d}/index.d.ts +1 -0
- package/test/integ.template-writer-from-large-asset.js.snapshot/{asset.37a6f0964e9c5c4133e01db00bbcaebc6da2a25a21e27aa0f87add1eb65546e7 → asset.b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d}/index.js +7 -2
- package/test/integ.template-writer-from-large-asset.js.snapshot/cdk.out +1 -1
- package/test/integ.template-writer-from-large-asset.js.snapshot/integ.json +1 -1
- package/test/integ.template-writer-from-large-asset.js.snapshot/manifest.json +336 -6
- package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.assets.json +9 -9
- package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.template.json +56 -41
- package/test/integ.template-writer-from-large-asset.js.snapshot/templatewriterfromlargeassetIntegDefaultTestDeployAssertA02D2FEC.assets.json +1 -1
- package/test/integ.template-writer-from-large-asset.js.snapshot/tree.json +1 -659
- package/test/template-writer.test.js +37 -1
package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.template.json
CHANGED
|
@@ -63,40 +63,6 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"LambdaFunctionServiceRoleDefaultPolicy126C8897": {
|
|
67
|
-
"Type": "AWS::IAM::Policy",
|
|
68
|
-
"Properties": {
|
|
69
|
-
"PolicyDocument": {
|
|
70
|
-
"Statement": [
|
|
71
|
-
{
|
|
72
|
-
"Action": [
|
|
73
|
-
"xray:PutTelemetryRecords",
|
|
74
|
-
"xray:PutTraceSegments"
|
|
75
|
-
],
|
|
76
|
-
"Effect": "Allow",
|
|
77
|
-
"Resource": "*"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"Version": "2012-10-17"
|
|
81
|
-
},
|
|
82
|
-
"PolicyName": "LambdaFunctionServiceRoleDefaultPolicy126C8897",
|
|
83
|
-
"Roles": [
|
|
84
|
-
{
|
|
85
|
-
"Ref": "LambdaFunctionServiceRole0C4CDE0B"
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
"Metadata": {
|
|
90
|
-
"cfn_nag": {
|
|
91
|
-
"rules_to_suppress": [
|
|
92
|
-
{
|
|
93
|
-
"id": "W12",
|
|
94
|
-
"reason": "Lambda needs the following minimum required permissions to send trace data to X-Ray and access ENIs in a VPC."
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
66
|
"LambdaFunctionBF21E41F": {
|
|
101
67
|
"Type": "AWS::Lambda::Function",
|
|
102
68
|
"Properties": {
|
|
@@ -104,7 +70,7 @@
|
|
|
104
70
|
"S3Bucket": {
|
|
105
71
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
106
72
|
},
|
|
107
|
-
"S3Key": "
|
|
73
|
+
"S3Key": "b670072ae403f5d0f7c4ac0413a63bb9f093a32fd1620d0908d53ce809c7575d.zip"
|
|
108
74
|
},
|
|
109
75
|
"Environment": {
|
|
110
76
|
"Variables": {
|
|
@@ -124,7 +90,6 @@
|
|
|
124
90
|
}
|
|
125
91
|
},
|
|
126
92
|
"DependsOn": [
|
|
127
|
-
"LambdaFunctionServiceRoleDefaultPolicy126C8897",
|
|
128
93
|
"LambdaFunctionServiceRole0C4CDE0B"
|
|
129
94
|
],
|
|
130
95
|
"Metadata": {
|
|
@@ -146,6 +111,30 @@
|
|
|
146
111
|
}
|
|
147
112
|
}
|
|
148
113
|
},
|
|
114
|
+
"LambdaFunctioninlinePolicyAddedToExecutionRole007875684": {
|
|
115
|
+
"Type": "AWS::IAM::Policy",
|
|
116
|
+
"Properties": {
|
|
117
|
+
"PolicyDocument": {
|
|
118
|
+
"Statement": [
|
|
119
|
+
{
|
|
120
|
+
"Action": [
|
|
121
|
+
"xray:PutTelemetryRecords",
|
|
122
|
+
"xray:PutTraceSegments"
|
|
123
|
+
],
|
|
124
|
+
"Effect": "Allow",
|
|
125
|
+
"Resource": "*"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"Version": "2012-10-17"
|
|
129
|
+
},
|
|
130
|
+
"PolicyName": "LambdaFunctioninlinePolicyAddedToExecutionRole007875684",
|
|
131
|
+
"Roles": [
|
|
132
|
+
{
|
|
133
|
+
"Ref": "LambdaFunctionServiceRole0C4CDE0B"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
149
138
|
"TestTemplateWriterPolicy8177DE02": {
|
|
150
139
|
"Type": "AWS::IAM::Policy",
|
|
151
140
|
"Properties": {
|
|
@@ -282,7 +271,7 @@
|
|
|
282
271
|
"S3Bucket": {
|
|
283
272
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
284
273
|
},
|
|
285
|
-
"S3Key": "
|
|
274
|
+
"S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
|
|
286
275
|
},
|
|
287
276
|
"Description": "AWS CDK resource provider framework - onEvent (template-writer-from-asset/TestTemplateWriterProvider)",
|
|
288
277
|
"Environment": {
|
|
@@ -336,6 +325,32 @@
|
|
|
336
325
|
}
|
|
337
326
|
}
|
|
338
327
|
},
|
|
328
|
+
"TestTemplateWriterProviderframeworkonEventinlinePolicyAddedToExecutionRole08CC44E87": {
|
|
329
|
+
"Type": "AWS::IAM::Policy",
|
|
330
|
+
"Properties": {
|
|
331
|
+
"PolicyDocument": {
|
|
332
|
+
"Statement": [
|
|
333
|
+
{
|
|
334
|
+
"Action": "lambda:GetFunction",
|
|
335
|
+
"Effect": "Allow",
|
|
336
|
+
"Resource": {
|
|
337
|
+
"Fn::GetAtt": [
|
|
338
|
+
"LambdaFunctionBF21E41F",
|
|
339
|
+
"Arn"
|
|
340
|
+
]
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
],
|
|
344
|
+
"Version": "2012-10-17"
|
|
345
|
+
},
|
|
346
|
+
"PolicyName": "TestTemplateWriterProviderframeworkonEventinlinePolicyAddedToExecutionRole08CC44E87",
|
|
347
|
+
"Roles": [
|
|
348
|
+
{
|
|
349
|
+
"Ref": "TestTemplateWriterProviderframeworkonEventServiceRoleED11CF9A"
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
}
|
|
353
|
+
},
|
|
339
354
|
"TestTemplateWriterCustomResource": {
|
|
340
355
|
"Type": "Custom::TemplateWriter",
|
|
341
356
|
"Properties": {
|
|
@@ -409,10 +424,10 @@
|
|
|
409
424
|
"value": "nodejs20.x"
|
|
410
425
|
},
|
|
411
426
|
"cn-north-1": {
|
|
412
|
-
"value": "
|
|
427
|
+
"value": "nodejs20.x"
|
|
413
428
|
},
|
|
414
429
|
"cn-northwest-1": {
|
|
415
|
-
"value": "
|
|
430
|
+
"value": "nodejs20.x"
|
|
416
431
|
},
|
|
417
432
|
"eu-central-1": {
|
|
418
433
|
"value": "nodejs20.x"
|
|
@@ -463,10 +478,10 @@
|
|
|
463
478
|
"value": "nodejs20.x"
|
|
464
479
|
},
|
|
465
480
|
"us-gov-east-1": {
|
|
466
|
-
"value": "
|
|
481
|
+
"value": "nodejs20.x"
|
|
467
482
|
},
|
|
468
483
|
"us-gov-west-1": {
|
|
469
|
-
"value": "
|
|
484
|
+
"value": "nodejs20.x"
|
|
470
485
|
},
|
|
471
486
|
"us-iso-east-1": {
|
|
472
487
|
"value": "nodejs18.x"
|