diff --git a/src/ServerlessSpy.ts b/src/ServerlessSpy.ts index 100cc5b..6d1ae0e 100644 --- a/src/ServerlessSpy.ts +++ b/src/ServerlessSpy.ts @@ -594,7 +594,7 @@ export class ServerlessSpy extends Construct { tableStreamArnDescriptor === undefined || tableStreamArnDescriptor.get === undefined ) { - (table as any).tableStreamArn = ( + (table as any)['tableStreamArn'] = ( table.node.defaultChild as dynamoDb.CfnTable ).attrStreamArn; }