Open
Description
Would it make sense to support streams in this component, or add that functionality with another? For example, we could add streams to the createTable method in utils.js:
async function createTable({ dynamodb, name, attributeDefinitions, keySchema, isStreamActive }) {
const res = await dynamodb
.createTable({
TableName: name,
AttributeDefinitions: attributeDefinitions,
KeySchema: keySchema,
BillingMode: 'PAY_PER_REQUEST',
StreamSpecification: {
StreamEnabled: isStreamActive,
StreamViewType: NEW_IMAGE
}
})
.promise()
return res.TableDescription.TableArn
}
Metadata
Metadata
Assignees
Labels
No labels