To deploy these AWS services you have many options, basically you can use the AWS console. But if you want more reproducible architecture with CI/CD chain or deployments over stages with many accounts, in Cloud-Native development there are solutions named under the buzzword IaC (Inrastrucutre as Code) .
IaC code creates your infrastructure which is composed of cloud services, like S3. The advantage is we can handle your infrastructure like source code 😀
Cloudformation is IaC service from AWS which accepts yml or json formatted files and deploys the described infrastructure from these files. Yes, Cloudformation is basically a yml or json file 😀
The problem with Cloudformation is, these yml or json files can be very complex for big cloud architectures. Refactoring can be disaster, therefore over the years many IaC frameworks are developed, so we enter IaC Frameworks or abstractions over Cloudformation
All these frameworks produces in AWS as cloud provider, Cloudformation code (yml-formatted) which creates and deploys your services. Framworks like CDK, Serverless Framework or SST is only abstraction over Cloudformation, to make it easier to develop your infrastructure.