Blake E
08/31/2021, 6:18 PMgrantX
style?
As seen in https://docs.serverless-stack.com/util/Permissions#access-to-a-list-of-specific-permissions-in-a-construct as an interface to https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-dynamodb.Table.html#grantwbrreadwbrdatagrantee
I love typescript for this, and we do see this pattern all over sst
, but not seeing anything on roadmap re: perms/grantsthdxr
08/31/2021, 7:46 PMthdxr
08/31/2021, 7:46 PMthdxr
08/31/2021, 7:47 PMapp.setDefaultRemovalPolicy(...)
You have to add another import to pass in the value there instead of just typing in a typechecked stringthdxr
08/31/2021, 7:48 PM[topic, "..."]
It type checks the string you pass in to verify it's callable on topic