echoing-zebra-28421
06/01/2021, 5:57 PM{
name: "Name custom",
item: [{ key: "key-custom", value: "value-custom" }],
}
lemon-machine-35564
06/01/2021, 6:53 PMechoing-zebra-28421
06/01/2021, 7:08 PMconst notificationTableItem = new aws.dynamodb.TableItem(
"notificationTableItem",
{
tableName: notificationTable.name,
hashKey: notificationTable.hashKey,
item: obj as unknown as Input<string>,
}
);
it gives me this error:
error: aws:dynamodb/tableItem:TableItem resource 'notificationTableItem' has a problem: Attribute must be a single value, not a map. Examine values at 'TableItem.Item'.