Skip to content

Commit

Permalink
feat(node-js-sdk): support for filterCriteria in dynamodb TableEventS…
Browse files Browse the repository at this point in the history
…ubscription mixin (#2390)
  • Loading branch information
sladkoff committed Mar 29, 2023
1 parent 263fd96 commit 2f409fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sdk/nodejs/dynamodb/dynamodbMixins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ export interface TableEventSubscriptionArgs {
*/
readonly destinationConfig?: pulumi.Input<types.input.lambda.EventSourceMappingDestinationConfig>;

/**
* The criteria to use for event filtering the event source.
*/
readonly filterCriteria?: pulumi.Input<types.input.lambda.EventSourceMappingFilterCriteria>

/**
* A list of current response type enums applied to the event source mapping. Where valid values are:
* * `ReportBatchItemFailures`
Expand Down Expand Up @@ -147,6 +152,7 @@ export class TableEventSubscription extends lambda.EventSubscription {
parallelizationFactor: args.parallelizationFactor,
startingPosition: args.startingPosition,
functionResponseTypes: args.functionResponseTypes,
filterCriteria: args.filterCriteria,
}, parentOpts);

this.table = table;
Expand Down

0 comments on commit 2f409fd

Please sign in to comment.