hi guys, Is it possible to use SST’s cdk construct...
# help
l
hi guys, Is it possible to use SST’s cdk constructs with only the CDK cli?
t
I think it's possible to get some of them working but I don't think most of them will work
They're designed to only be run with SST
But anything CDK will work under SST so it's easy to migrate
l
sure thanks. So, If I want to create a custom construct with sst, I need to extend class from sst lib. right?
t
You can just extend the base cdk.Construct
f
Just to chime in here, @Lionel T. you can check out the
sst.Script
construct, it let’s u easily hook into Create, Update and Delete lifecycle.
l
Thanks