Can anyone guide me on how to add items to a Dynamodb Table using CDK and Typescript? I have figured out the partition/sort keys creation, but I am struggling to find a straightforward solution for adding items or attributes to those items. Additionally, I need help in specifying the value for the partition key (currently set as a string type, but I want to add a number value to it). Any advice or assistance would be highly appreciated. Thank you!
const dynamoTable= new Table(this, "dynamoTable", {
tableName: "dynamoTable",
partitionKey: { name: 'viewer_id', type: AttributeType.STRING },
billingMode: BillingMode.PAY_PER_REQUEST,
tableClass: TableClass.STANDARD
});