You can have in your application some sort of "call home" mechanism which calls your backend to verify that the account is allowed to use the application.
Also, I recommend you look at the AWS Marketplace as a mechanism for distributing your application. I am not sure it has a mechanism to sell serverless applications, but it may have ways to protect you.
How to create an API gateway with multiple stages in AWS Serverless Application Model (SAM)?
what is the model(transformer) size limitation in sagemaker serverless endpoint deployment?
How can I publish an application containing an AWS::Serverless::Function resource with a FunctionUrlConfig property?Accepted Answerasked 2 months ago
Serverless application repository return a 500 error when including an openapi specification with Fn::Transform in DefinitonBody of serverless::apiasked 6 months ago
When will Mysql 8 be available in Aurora Serverless?asked 5 months ago
How to create a serverless endpoint configuration?Accepted Answer
Licensing an AWS serverless applicationasked 19 days ago
Looking for a best-practice for building serverless application with amplify and api gateway and lambdaAccepted AnswerMODERATORasked 3 years ago
How to create Lambda using AWS Serverless Application Model (SAM) without an AWS managed IAM policy?
AWS MSK Serverless CloudFormation supportasked 2 months ago