File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
src/AWS.Lambda.Powertools.BatchProcessing/Sqs
tests/AWS.Lambda.Powertools.BatchProcessing.Tests/Handlers/SQS/Custom Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ Resources:
4949 RedrivePolicy :
5050 maxReceiveCount : 2
5151 deadLetterTargetArn : !GetAtt SampleDLQ.Arn
52+ KmsMasterKeyId : !Ref CustomerKey
5253
5354 # --------------
5455 # KMS key for encrypted queues
Original file line number Diff line number Diff line change @@ -78,19 +78,19 @@ The remaining sections of the documentation will rely on these samples. For comp
7878
7979=== "SQS"
8080
81- ```yaml title="template.yaml" hl_lines="34-35 "
81+ ```yaml title="template.yaml" hl_lines="36-37 "
8282 --8<-- "docs/snippets/batch/templates/sqs.yaml"
8383 ```
8484
8585=== "Kinesis Data Streams"
8686
87- ```yaml title="template.yaml" hl_lines="48-49 "
87+ ```yaml title="template.yaml" hl_lines="50-51 "
8888 --8<-- "docs/snippets/batch/templates/kinesis.yaml"
8989 ```
9090
9191=== "DynamoDB Streams"
9292
93- ```yaml title="template.yaml" hl_lines="47-48 "
93+ ```yaml title="template.yaml" hl_lines="49-50 "
9494 --8<-- "docs/snippets/batch/templates/dynamodb.yaml"
9595 ```
9696
Original file line number Diff line number Diff line change 2020namespace AWS . Lambda . Powertools . BatchProcessing . Sqs ;
2121
2222/// <inheritdoc />
23- public abstract class SQSCustomRecordHandler : IRecordHandler < SQSEvent . SQSMessage >
23+ public abstract class SqsCustomRecordHandler : IRecordHandler < SQSEvent . SQSMessage >
2424{
2525 /// <inheritdoc />
2626 public abstract Task < RecordHandlerResult > HandleAsync ( SQSEvent . SQSMessage record , CancellationToken cancellationToken ) ;
Original file line number Diff line number Diff line change 2323
2424namespace AWS . Lambda . Powertools . BatchProcessing . Tests . Handlers . SQS . Custom ;
2525
26- public class CustomSqsRecordHandler : SQSCustomRecordHandler
26+ public class CustomSqsRecordHandler : SqsCustomRecordHandler
2727{
2828 public override async Task < RecordHandlerResult > HandleAsync ( SQSEvent . SQSMessage record , CancellationToken cancellationToken )
2929 {
You can’t perform that action at this time.
0 commit comments