Klaus
05/27/2022, 1:50 PMreservedConcurrentExecutions
or configure `retryAttempts`with an SST-Table construct?
The CDK allows both rC , retry (Alias example) but only during Function creation.Frank
reservedConcurrentExecutions
and retryAtteps
for the Table stream function?Frank
const table = new Table(stack, "Table", {
...,
stream: true,
consumers: {
myConsumer: {
function: {
handler: "src/consumer1.main",
currentVersionOptions: {
provisionedConcurrentExecutions: 5,
retryAttempts: 1,
}
}
}
},
});
table.getFunction("myConsumer").currentVersion;
Frank
Frank
.currentVersion
line at the end. It’s a weird thing CDK does that a version only gets created when u call the getter for .currentVersion
.Frank
Klaus
05/29/2022, 1:03 AM.currentVersion
is an odd CDK aspect for sure.