title: Best Practices to deploy serverless app (s3, api gateway, lambda, cognito...) with AWS CDK
body: <p>I started to build an App using the serverless services of AWS and I am now on the point where I want to put it all into AWS CDK. I also want to create a CICD pipeline using CodePipeline to automatically deploy the infrastructure by changes.</p>
  <p>To use the API gateway interfaces, I generated the SDK for Javascript from the AWS console, and included it into the website folder manually.</p>
  <ol>
  <li><p>Is it possible to generate the SDK and include it in the project or maybe some random bucket automatically with CDK?</p>
  </li>
  <li><p>Are there some best practices regarding the provisioning of such a Infrastructure in an automated way using a CICD Pipeline?</p>
  </li>
  </ol>