hi friends - SST Queue construct. i am setting up...
# sst
k
hi friends - SST Queue construct. i am setting up an SQS+lambda workflow. the lambda+sqs integration supports
ReportBatchItemFailures
responses from lambda. is this enabled with the integration that the Queue construct creates?
update, i was able to configure this with the cdk prop
Copy code
const queue = new Queue(stack, "Queue", {
    consumer: {
      function: {
        handler: "functions/lambda.handler",
      },
      cdk: {
        eventSource: {
          reportBatchItemFailures: true,
        },
      },
    },
  });
what is the best way to see the places where the SST overrides the native CDK constructs prop defaults?
f
Hey @Kevin Wright, for most cases, SST respects CDK’s prop defaults. ie. in this case, CDK defaults reportBatchItemFailures to
false
.
A few exception that we consider sensible. For example • access log and CORS are enabled for Api • xray is enabled for Function
Mostly around Apis and Functions.