Tonny (sstNerd)
12/08/2021, 7:37 AMsst start
it throws up an error saying that the table is already created, so I need to go to DynamoDB and delete it manually.
So I was just looking around if there was a setting or something like this, but for the DynamoDB tables:
new Bucket(this, "Bucket", {
s3Bucket: {
autoDeleteObjects: true,
removalPolicy: cdk.RemovalPolicy.DESTROY,
},
});
Mayowa
12/08/2021, 10:11 AMsst.Table
construct there's a key called dynamoDbTable
where you can set the removalPolicy
like you did with the bucketMayowa
12/08/2021, 11:28 AMTonny (sstNerd)
12/10/2021, 3:52 AM