官术网_书友最值得收藏!

Outputs

Just like AWS resources, CloudFormation stacks can also have return values, called outputs. These values are entirely user defined. If you don't specify any outputs, then nothing is returned when your stack is completed.

Outputs can come in handy when you are using a CI/CD tool to create your CloudFormation stacks. For example, you might like to output the public hostname of an ELB so your CI/CD tool can turn it into a clickable link within the job output.

You'll also use them when your are linking together pieces of your layer cake. You may want to reference an S3 bucket or security group created in another stack. This is much easier to do with the new cross-stack references feature, which we'll discuss later in this chapter. You can expect to see the Ref and Fn::GetAtt functions a lot in the output section of any CloudFormation template.

主站蜘蛛池模板: 永定县| 伊宁县| 泸西县| 丹巴县| 天台县| 名山县| 阿克陶县| 县级市| 涟水县| 双峰县| 和田市| 塔河县| 西畴县| 娱乐| 富锦市| 宁明县| 岳池县| 天峻县| 唐海县| 黎川县| 东方市| 长宁县| 青川县| 天全县| 鄂尔多斯市| 商水县| 汉源县| 宝丰县| 淮安市| 论坛| 秦安县| 武宣县| 常州市| 霍城县| 钟山县| 东山县| 台中市| 阿坝县| 青岛市| 诸城市| 沭阳县|