简体   繁体   English

如何在aws-sam template.yaml文件中添加插件

[英]how to add plugin in aws-sam template.yaml file

is there any way to add custom plugin in aws-sam template.yaml file like Serverless.yml file for eg: 有没有办法在aws-sam template.yaml文件(例如Serverless.yml文件)中添加自定义插件,例如:

plugins:
  - plugin-1
  - plugin-2

custom:
  abc:
   accountId: "************"  

No, not exactly. 不,不完全是。 However, a SAM template is just a untransformed Cloudformation template. 但是,SAM模板只是未转换的Cloudformation模板。 So depending on what precisely you want to achieve, creating a CFN Macro might be an option. 因此,根据您要实现的精确程度,可以选择创建CFN

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 根据来自 aws-sam template.yaml 文件的信息,使用 Java 在本地 AWS dynamoDB 中创建表 - Create tables in local AWS dynamoDB besed on information from aws-sam template.yaml file using Java AWS sam cli 打印 template.yaml 配置文件是否已解析所有变量 - Does AWS sam cli print template.yaml config file with all variables resolved 在 lambda 模板中添加值。yaml - Add values in lambda template.yaml aws-sam-cli Python requirements.txt 在自定义模板时从部署的 Lambda 中丢失。yaml - aws-sam-cli Python requirements.txt missing from deployed Lambda when custom template.yaml 从 AWS 模板中的 json 文件加载配置数据。yaml 用于部署到 AWS Lambda - Loading config data from json file in AWS template.yaml for deploying to AWS Lambda 我应该在我的存储库中包含 my.aws-sam 文件吗? - Should I include my .aws-sam file in my repository? 在template.yaml中创建多个API网关实例,运行'sam local start-api'时如何控制模仿哪个网关? - When creating multiple API Gateway instances in template.yaml, how do you control which Gateway is imitated when running 'sam local start-api'? 连接到现有 Mongo 数据库的 AWS-SAM - AWS-SAM connecting to an existing Mongo DB 如何在AWS SAM模板中为AWS :: Serverless :: Api添加请求验证器? - How to add a request validator in a AWS SAM template for AWS::Serverless::Api? 为 DynamoDB 模板使用 TableName 中的参数。yaml - Use parameter in TableName for DynamoDB template.yaml
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM