CDK构造,用于定义AWS Lambda函数和amazons3 bucket之间的交互。

aws-solutions-constructs.aws-apigateway-sqs的Python项目详细描述


aws apigateway sqs模块

---

Stability: Experimental

All classes are under active development and subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


Reference Documentation:https://docs.aws.amazon.com/solutions/latest/constructs/
^{tb2}$

概述

这个AWS解决方案构造实现了一个连接到amazonsqs队列模式的amazonapi网关。在

以下是Typescript中的最小可部署模式定义:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826fromaws_solutions_constructs.aws_apigateway_sqsimportApiGatewayToSqs,ApiGatewayToSqsPropsApiGatewayToSqs(self,"ApiGatewayToSqsPattern")

初始值设定项

^{pr2}$

参数

  • 范围^{}
  • 标识string
  • 道具^{}

构装道具

^{3}$

图案属性

NameTypeDescription
apiGateway^{}Returns an instance of the API Gateway REST API created by the pattern.
apiGatewayRole^{}Returns an instance of the iam.Role created by the construct for API Gateway.
apiGatewayCloudWatchRole^{}Returns an instance of the iam.Role created by the construct for API Gateway for CloudWatch access.
apiGatewayLogGroup^{}Returns an instance of the LogGroup created by the construct for API Gateway access logging to CloudWatch.
sqsQueue^{}Returns an instance of the SQS queue created by the pattern.
deadLetterQueue?^{}Returns an instance of the DeadLetterQueue created by the pattern.

API用法示例

MethodRequest PathRequest BodyQueue ActionDescription
GET^{}^{}Retrieves a message from the queue.
POST^{}^{}^{}Delivers a message to the queue.
DELETE^{}^{}Deletes a specified message from the queue

默认设置

没有任何重写的构件的现成实现将设置以下默认值:

亚马逊API网关

  • 部署边缘优化的API终结点
  • 为API网关启用CloudWatch日志记录
  • 为API网关配置最小权限访问IAM角色
  • 将所有API方法的默认授权类型设置为IAM
  • 启用X射线跟踪

Amazon SQS队列

  • 为源SQS队列部署SQS死信队列
  • 使用AWS托管KMS密钥为源SQS队列启用服务器端加密
  • 对传输中的数据进行加密

建筑

Architecture Diagram


©版权所有2020亚马逊网站,Inc.或其附属公司。版权所有。在

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
静态函数中局部变量的java垃圾收集   java向ImageView添加投掷手势   java spring引导未根据配置文件读取正确的属性   主屏幕小部件中的java自定义布局   java JSP:具有相对路径的FileReader引发FileNotFoundException   java Hibernate在集合上循环时删除会话   java无法建立到jdbc:oracle:thin:@localhost:1521:XE的连接   java我可以使用Hibernate对特定的整数大小进行验证吗?   批处理文件如何注意Java中不同语言环境中的文件名   用于IntelliJ中声纳、PMD、Findbugs和Checkstyle的Java 8   在PIG程序中找不到java类分布式文件系统   Java游戏引擎中动态ZOrdering的绘制   java处理线程工作者的多个错误   带有MariaDB驱动程序的java MySQL服务器产生日期排序错误   java终止线程的正确方法   java Android在手机睡眠时发送udp   java如何将文档添加到事务内部的Firebase集合?