I’m probably asking a silly question…but here it g...
# general
n
I’m probably asking a silly question…but here it goes. Serverless does not support EC2 related resources, such as ElasticSearch? With these type of resources integrated into an Application, is the best practice just to use CDK separately?
e
You can include plain CDK resources pretty seamlessly into an SST stack, if that’s what you mean.
And interoperate. E.g. step functions using CDK, calling SST Functions
n
Thanks @Edward Asquith . Thats what I thought
f
+1
SST constructs are really just CDK constructs glued together with sensible defaults and prettier syntax.
ie. for the
Api
constructs, access log is enabled by default, in JSON format, and includes the fields that will be handy when you need to debug.
I wouldn’t think about CDK constructs as these different type of “things” that are “not officially” supported by SST 🙂