Skip to content

Commit 572c1bf

Browse files
authored
Add EventSourceMapping resource (#9)
Issue aws-controllers-k8s/community#238 Description of changes: - Adds create, delete and update operations for `EventSourceMapping` resource in the AWS Lambda API. - Adds end2end tests to deploy lambda event source mappings using ACK controller. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 99cbe76 commit 572c1bf

31 files changed

+3656
-31
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2021-11-16T12:37:54Z"
3-
build_hash: 6ce1a672eabd3908bdaa4ace356e1b58ee3e80ba
2+
build_date: "2021-11-16T16:25:06Z"
3+
build_hash: f8366f06104baf96f8fe2d1b086ea0ac632318de
44
go_version: go1.16.4
55
version: v0.15.2
6-
api_directory_checksum: 9edcdeb5504334fb9dc37860640203bf978f2781
6+
api_directory_checksum: 84d93710fb0b89a7ed99b0923611297242a55a99
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.40.28
99
generator_config_info:
10-
file_checksum: b80756602eb2c154d469f6192b8de9810f5acd10
10+
file_checksum: 1bc55e6356761b977771bdc242b2ddc5bc0e5657
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/event_source_mapping.go

Lines changed: 164 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/generator.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ignore:
33
# Function
44
# Alias
55
# CodeSigningConfig
6-
- EventSourceMapping
6+
# EventSourceMapping
77
shape_names:
88
- LayerList
99
resources:
@@ -31,4 +31,14 @@ resources:
3131
FunctionName:
3232
is_required: true
3333
FunctionVersion:
34+
is_required: true
35+
CodeSigningConfig:
36+
fields:
37+
AllowedPublishers:
38+
is_required: true
39+
EventSourceMapping:
40+
fields:
41+
UUID:
42+
is_primary_key: true
43+
FunctionName:
3444
is_required: true

apis/v1alpha1/types.go

Lines changed: 66 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)