AWS Solutions Constructs AWS Solutions AWS Solutions Constructs AWS Solutions

AWS Solutions Constructs AWS Solutions AWS Solutions Constructs AWS Solutions

AWS Solutions Constructs AWS Solutions AWS Solutions Constructs AWS Solutions AWS Solutions Constructs: AWS Solutions Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. AWS Solutions Constructs AWS Solutions Table of Contents Overview ........................................................................................................................................... 1 What is AWS Solutions Constructs? .............................................................................................. 1 Why use AWS Solutions Constructs? ............................................................................................. 1 Getting Started .................................................................................................................................. 2 Prerequisites .............................................................................................................................. 2 Installing the AWS CDK ............................................................................................................... 2 Working with AWS Solutions Constructs ....................................................................................... 2 Walkthrough - Part 1 ................................................................................................................. 3 Hello Constructs ................................................................................................................ 3 Creating the App Directory and Initializing the AWS CDK ........................................................ 4 Update project base dependencies ....................................................................................... 4 Lambda handler code ......................................................................................................... 6 Install the AWS CDK and AWS Solutions Constructs dependencies ............................................ 7 Add an Amazon API Gateway/AWS Lambda pattern to your stack ............................................. 8 cdk deploy ....................................................................................................................... 12 Stack outputs .................................................................................................................. 12 Testing your app .............................................................................................................. 12 Walkthrough - Part 2 ................................................................................................................ 13 Hit Counter Lambda code .................................................................................................. 13 Install the new dependencies ............................................................................................. 15 Define the resources ......................................................................................................... 15 Review the changes .......................................................................................................... 24 cdk deploy ....................................................................................................................... 25 Stack outputs .................................................................................................................. 25 Testing your app .............................................................................................................. 25 Sample Use Cases .................................................................................................................... 26 AWS Static S3 Website ...................................................................................................... 27 AWS Simple Serverless Image Handler ................................................................................ 27 AWS Serverless Web App .................................................................................................. 27 AWS Restaurant Management Demo ................................................................................... 27 API Reference .................................................................................................................................. 28 Modules .................................................................................................................................. 28 Module Contents ...................................................................................................................... 28 aws-apigateway-dynamodb ....................................................................................................... 28 Overview ......................................................................................................................... 29 Initializer ......................................................................................................................... 29 Pattern Construct Props .................................................................................................... 29 Pattern Properties ............................................................................................................ 31 Default settings ............................................................................................................... 31 Architecture ..................................................................................................................... 32 GitHub ............................................................................................................................ 32 aws-apigateway-iot ................................................................................................................... 32 Overview ......................................................................................................................... 33 Initializer ......................................................................................................................... 33 Pattern Construct Props .................................................................................................... 34 Pattern Properties ............................................................................................................ 34 Default settings ............................................................................................................... 35 Architecture ..................................................................................................................... 36 Examples ......................................................................................................................... 36 GitHub ............................................................................................................................ 38 aws-apigateway-kinesisstreams .................................................................................................. 38 Overview ......................................................................................................................... 38 Initializer ......................................................................................................................... 39 Pattern Construct Props .................................................................................................... 39 iii AWS Solutions Constructs AWS Solutions Pattern Properties ............................................................................................................ 40 Sample API Usage ............................................................................................................ 40 Default settings ............................................................................................................... 41 Architecture ..................................................................................................................... 42 GitHub ............................................................................................................................ 42 aws-apigateway-lambda ............................................................................................................ 43 Overview ......................................................................................................................... 43 Initializer ......................................................................................................................... 43 Pattern Construct Props .................................................................................................... 44 Pattern Properties ............................................................................................................ 44 Default settings ............................................................................................................... 44 Architecture ..................................................................................................................... 45 GitHub ............................................................................................................................ 45 aws-apigateway-sagemakerendpoint ..........................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    270 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us