使用Boto从CloudFormation模板返回输出? [英] Returning the outputs from a CloudFormation template with Boto?

查看:52
本文介绍了使用Boto从CloudFormation模板返回输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Boto从CloudFormation模板中检索输出列表。我在文档中看到一个名为 boto.cloudformation.stack.Output 的对象。但是我认为这是未实现的功能。

I'm trying to retrieve the list of outputs from a CloudFormation template using Boto. I see in the docs there's an object named boto.cloudformation.stack.Output. But I think this is unimplemented functionality. Is this currently possible?

推荐答案

如果您执行 describe_stacks 调用,它将返回一个Stack对象列表,每个对象都有一个 outputs 属性,该属性是一个 Output 对象的列表。

If you do a describe_stacks call, it will return a list of Stack objects and each of those will have an outputs attribute which is a list of Output objects.

您正在寻找什么?

这篇关于使用Boto从CloudFormation模板返回输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆