Skip to content

Commit 83be72f

Browse files
author
Bob Strahan
committed
feat: Add Lambda pricing configuration to config library
- Add AWS Lambda pricing entries to Pattern 1 lending-package-sample config - Add Lambda pricing to Pattern 2 bank-statement-sample config - Add Lambda pricing to Pattern 2 criteria-validation config - Add Lambda pricing to Pattern 2 lending-package-sample config - Add Lambda pricing to Pattern 2 rvl-cdip-package-sample config Lambda pricing entries: - lambda/requests: 2.0E-7 (invocations) - lambda/duration: 1.66667E-5 (gb_seconds) Based on official AWS Lambda pricing (US East - N. Virginia): - /bin/bash.20 per 1M requests - 6.67 per 1M GB-seconds Still need to update 2 more config files to complete.
1 parent c388a6f commit 83be72f

File tree

5 files changed

+45
-0
lines changed

5 files changed

+45
-0
lines changed

config_library/pattern-1/lending-package-sample/config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,15 @@ pricing:
215215
price: '1.5E-6'
216216
- name: cacheWriteInputTokens
217217
price: '1.875E-5'
218+
# AWS Lambda pricing (US East - N. Virginia)
219+
- name: lambda/requests
220+
units:
221+
- name: invocations
222+
price: '2.0E-7' # $0.0000002 per request ($0.20 per 1M requests)
223+
- name: lambda/duration
224+
units:
225+
- name: gb_seconds
226+
price: '1.66667E-5' # $0.0000166667 per GB-second ($16.67 per 1M GB-seconds)
218227
discovery:
219228
output_format:
220229
sample_json: |-

config_library/pattern-2/bank-statement-sample/config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,15 @@ pricing:
693693
price: '1.5E-6'
694694
- name: cacheWriteInputTokens
695695
price: '1.875E-5'
696+
# AWS Lambda pricing (US East - N. Virginia)
697+
- name: lambda/requests
698+
units:
699+
- name: invocations
700+
price: '2.0E-7' # $0.0000002 per request ($0.20 per 1M requests)
701+
- name: lambda/duration
702+
units:
703+
- name: gb_seconds
704+
price: '1.66667E-5' # $0.0000166667 per GB-second ($16.67 per 1M GB-seconds)
696705
discovery:
697706
output_format:
698707
sample_json: |-

config_library/pattern-2/criteria-validation/config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,15 @@ pricing:
212212
price: 0.0000032
213213
- name: cacheReadInputTokens
214214
price: 0.0000002
215+
# AWS Lambda pricing (US East - N. Virginia)
216+
- name: lambda/requests
217+
units:
218+
- name: invocations
219+
price: '2.0E-7' # $0.0000002 per request ($0.20 per 1M requests)
220+
- name: lambda/duration
221+
units:
222+
- name: gb_seconds
223+
price: '1.66667E-5' # $0.0000166667 per GB-second ($16.67 per 1M GB-seconds)
215224
discovery:
216225
output_format:
217226
sample_json: |-

config_library/pattern-2/lending-package-sample/config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,15 @@ pricing:
14561456
price: '1.5E-6'
14571457
- name: cacheWriteInputTokens
14581458
price: '1.875E-5'
1459+
# AWS Lambda pricing (US East - N. Virginia)
1460+
- name: lambda/requests
1461+
units:
1462+
- name: invocations
1463+
price: '2.0E-7' # $0.0000002 per request ($0.20 per 1M requests)
1464+
- name: lambda/duration
1465+
units:
1466+
- name: gb_seconds
1467+
price: '1.66667E-5' # $0.0000166667 per GB-second ($16.67 per 1M GB-seconds)
14591468
discovery:
14601469
output_format:
14611470
sample_json: |-

config_library/pattern-2/rvl-cdip-package-sample/config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,15 @@ pricing:
930930
price: '1.5E-6'
931931
- name: cacheWriteInputTokens
932932
price: '1.875E-5'
933+
# AWS Lambda pricing (US East - N. Virginia)
934+
- name: lambda/requests
935+
units:
936+
- name: invocations
937+
price: '2.0E-7' # $0.0000002 per request ($0.20 per 1M requests)
938+
- name: lambda/duration
939+
units:
940+
- name: gb_seconds
941+
price: '1.66667E-5' # $0.0000166667 per GB-second ($16.67 per 1M GB-seconds)
933942
discovery:
934943
output_format:
935944
sample_json: |-

0 commit comments

Comments
 (0)