Skip to content

Commit faa7d79

Browse files
authored
chore(release): 2.152.0 (#31118)
### Description of changes See `CHANGELOG.v2.md` and `CHANGELOG.v2.alpha.md` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
2 parents 043f6d2 + a1fbe50 commit faa7d79

38 files changed

+2478
-34
lines changed

CHANGELOG.v2.alpha.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.152.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.151.1-alpha.0...v2.152.0-alpha.0) (2024-08-14)
6+
57
## [2.151.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.151.0-alpha.0...v2.151.1-alpha.0) (2024-08-14)
68

79
## [2.151.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.150.0-alpha.0...v2.151.0-alpha.0) (2024-08-01)

CHANGELOG.v2.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.152.0](https://github.com/aws/aws-cdk/compare/v2.151.1...v2.152.0) (2024-08-14)
6+
7+
8+
### Features
9+
10+
* **lambda:** support filter criteria encryption ([6aa72a2](https://github.com/aws/aws-cdk/commit/6aa72a215859ab96e9fd8b4ccee0d40bda753200))
11+
512
## [2.151.1](https://github.com/aws/aws-cdk/compare/v2.151.0...v2.151.1) (2024-08-14)
613

714

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-event-sources/test/integ.dynamodb-with-filter-criteria.js.snapshot/DynamoDBFilterCriteriaDefaultTestDeployAssert448231D5.assets.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-event-sources/test/integ.dynamodb-with-filter-criteria.js.snapshot/cdk.out

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-event-sources/test/integ.dynamodb-with-filter-criteria.js.snapshot/integ.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-event-sources/test/integ.dynamodb-with-filter-criteria.js.snapshot/lambda-event-source-filter-criteria-dynamodb.assets.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-event-sources/test/integ.dynamodb-with-filter-criteria.js.snapshot/lambda-event-source-filter-criteria-dynamodb.template.json

+160
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,166 @@
134134
},
135135
"UpdateReplacePolicy": "Delete",
136136
"DeletionPolicy": "Delete"
137+
},
138+
"fctestkeyname524AF060": {
139+
"Type": "AWS::KMS::Key",
140+
"Properties": {
141+
"Description": "KMS key for test fc encryption",
142+
"KeyPolicy": {
143+
"Statement": [
144+
{
145+
"Action": "kms:*",
146+
"Effect": "Allow",
147+
"Principal": {
148+
"AWS": {
149+
"Fn::Join": [
150+
"",
151+
[
152+
"arn:",
153+
{
154+
"Ref": "AWS::Partition"
155+
},
156+
":iam::",
157+
{
158+
"Ref": "AWS::AccountId"
159+
},
160+
":root"
161+
]
162+
]
163+
}
164+
},
165+
"Resource": "*"
166+
},
167+
{
168+
"Action": "kms:Decrypt",
169+
"Effect": "Allow",
170+
"Principal": {
171+
"Service": "lambda.amazonaws.com"
172+
},
173+
"Resource": "*"
174+
}
175+
],
176+
"Version": "2012-10-17"
177+
},
178+
"PendingWindowInDays": 7
179+
},
180+
"UpdateReplacePolicy": "Delete",
181+
"DeletionPolicy": "Delete"
182+
},
183+
"F5ServiceRole2E897519": {
184+
"Type": "AWS::IAM::Role",
185+
"Properties": {
186+
"AssumeRolePolicyDocument": {
187+
"Statement": [
188+
{
189+
"Action": "sts:AssumeRole",
190+
"Effect": "Allow",
191+
"Principal": {
192+
"Service": "lambda.amazonaws.com"
193+
}
194+
}
195+
],
196+
"Version": "2012-10-17"
197+
},
198+
"ManagedPolicyArns": [
199+
{
200+
"Fn::Join": [
201+
"",
202+
[
203+
"arn:",
204+
{
205+
"Ref": "AWS::Partition"
206+
},
207+
":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
208+
]
209+
]
210+
}
211+
]
212+
}
213+
},
214+
"F5ServiceRoleDefaultPolicyF3745DE6": {
215+
"Type": "AWS::IAM::Policy",
216+
"Properties": {
217+
"PolicyDocument": {
218+
"Statement": [
219+
{
220+
"Action": "dynamodb:ListStreams",
221+
"Effect": "Allow",
222+
"Resource": "*"
223+
},
224+
{
225+
"Action": [
226+
"dynamodb:DescribeStream",
227+
"dynamodb:GetRecords",
228+
"dynamodb:GetShardIterator"
229+
],
230+
"Effect": "Allow",
231+
"Resource": {
232+
"Fn::GetAtt": [
233+
"TD925BC7E",
234+
"StreamArn"
235+
]
236+
}
237+
}
238+
],
239+
"Version": "2012-10-17"
240+
},
241+
"PolicyName": "F5ServiceRoleDefaultPolicyF3745DE6",
242+
"Roles": [
243+
{
244+
"Ref": "F5ServiceRole2E897519"
245+
}
246+
]
247+
}
248+
},
249+
"F5B560B5F9": {
250+
"Type": "AWS::Lambda::Function",
251+
"Properties": {
252+
"Code": {
253+
"ZipFile": "exports.handler = async function handler(event) {\n console.log('event:', JSON.stringify(event, undefined, 2));\n return { event };\n}"
254+
},
255+
"Handler": "index.handler",
256+
"Role": {
257+
"Fn::GetAtt": [
258+
"F5ServiceRole2E897519",
259+
"Arn"
260+
]
261+
},
262+
"Runtime": "nodejs18.x"
263+
},
264+
"DependsOn": [
265+
"F5ServiceRoleDefaultPolicyF3745DE6",
266+
"F5ServiceRole2E897519"
267+
]
268+
},
269+
"F5DynamoDBEventSourcelambdaeventsourcefiltercriteriadynamodbT9CFE7D0688700B50": {
270+
"Type": "AWS::Lambda::EventSourceMapping",
271+
"Properties": {
272+
"BatchSize": 5,
273+
"EventSourceArn": {
274+
"Fn::GetAtt": [
275+
"TD925BC7E",
276+
"StreamArn"
277+
]
278+
},
279+
"FilterCriteria": {
280+
"Filters": [
281+
{
282+
"Pattern": "{\"eventName\":[\"INSERT\"],\"dynamodb\":{\"Keys\":{\"id\":{\"S\":[{\"exists\":true}]}}}}"
283+
}
284+
]
285+
},
286+
"FunctionName": {
287+
"Ref": "F5B560B5F9"
288+
},
289+
"KmsKeyArn": {
290+
"Fn::GetAtt": [
291+
"fctestkeyname524AF060",
292+
"Arn"
293+
]
294+
},
295+
"StartingPosition": "LATEST"
296+
}
137297
}
138298
},
139299
"Parameters": {

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-event-sources/test/integ.dynamodb-with-filter-criteria.js.snapshot/manifest.json

+34-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)