您可以通过云形成创建使用计划吗? [英] Can you create Usage Plan with Cloud Formation?
问题描述
就像标题中一样。我可以仅使用Cloud Formation在AWS上部署东西。现在,我尝试使用API密钥保护我的API网关,看起来我需要一个使用计划。这里的文档似乎没有涵盖它: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html
just like in the title. I can deploy stuff on AWS using only Cloud Formation. Now I try to secure my API Gateway with API Keys and looks like I need a Usage Plan for it. It doesn't seem to be covered by the documentation right here: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html
有你们中的任何人都有类似的问题,如果是的话,您是如何解决的?
Have any of you had a similar problem and if yes, how did you solved it?
推荐答案
AWS有今天发布了能够创建使用云形成模板的AWS :: ApiGateway :: UsagePlan
不幸的是,目前没有一种将API密钥添加到UsagePlan的方法通过CloudFormation,这必须要做
Unfortunately there isn't currently a method of Adding API Keys to a UsagePlan through CloudFormation, this has to be done manually.
这篇关于您可以通过云形成创建使用计划吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!