《AWS SAM 进阶教程 - 由 Amazon Q Developer 提供支持.pdf》由会员分享,可在线阅读,更多相关《AWS SAM 进阶教程 - 由 Amazon Q Developer 提供支持.pdf(29页珍藏版)》请在三个皮匠报告上搜索。
1、 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.D V T 3 1 5AWS SAM Beyond the Basics Powered by Amazon Q DeveloperDaniel ABIBSpecialist Solutions Architect GenAiAWSRicardo TassoSenior Partner Solutions ArchitectAW
2、S 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.AgendaAWS SAM and AWS SAM CLIAmazon Q DeveloperAWS SAM Amazon Q DeveloperDemo Using Amazon Q Developer to craft AWS SAM templates and applicationsAWS SAM LocalMore 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.
3、What are AWS SAM and the AWS SAM CLI?AWS SAM and AWS SAM CLI provide an integrated experienceAWS SAM provides useful abstractions over serverless resourcesAWS SAM CLI helps you create,build,test,and deploy applicationsProvide templates and builders for all native AWS Lambda runtimesServerlessApplica
4、tionModel 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.AWS SAM has two partsTransform TemplatesShorthand syntax expresses resources and event source mappings;it provides infrastructure as code(IaC)for serverless applicationsAWS Command Line Interface(AWS CLI)Provides tooling fo
5、r local development with rapid iteration,debugging,build,packaging,and deployment for serverless applications 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.AWS SAM transform templatesAWS CloudFormationAWS Serverless Application Model(AWS SAM)Built on top of AWS CloudFormation 20
6、25,Amazon Web Services,Inc.or its affiliates.All rights reserved.AWS SAM transform templatesAWSTemplateFormatVersion:2010-09-09Transform:AWS:Serverless-2016-10-31Resources:GetProductsFunction:Type:AWS:Serverless:Function Properties:CodeUri:src/Handler:app.handler Runtime:python3.9 Policies:-DynamoDB