macOS
brew install cfn-fliplocal Homebrew formula metadata
安装
brew install cfn-fliplocal Homebrew formula metadata
概览
Convert AWS CloudFormation templates between JSON and YAML formats
历史
AWS CloudFormation Template Flip is an AWS Labs Python tool and library for converting CloudFormation templates between JSON and YAML while using short-form YAML intrinsic-function syntax where possible.
The official README explains the name as an homage to the Unix `flip` utility and documents both the `cfn-flip` command and the `cfn_flip` Python package API. The repository metadata records the public repo creation in 2016.
The project is packaged for Homebrew as `cfn-flip` and distributed as a Python package. Its README now deprecates CLI usage in favor of `rain fmt`, while explicitly saying the Python API may continue to be used.
The documented CLI reads from stdin or files and converts JSON to YAML or YAML to JSON. The Python API exposes `flip`, `to_yaml`, and `to_json` for applications that need CloudFormation template serialization.
cfn-flip is significant because it solved a very specific packaging annoyance: CloudFormation users wanted a reliable converter that preserved AWS intrinsic-function syntax instead of treating templates as generic JSON/YAML.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cfn-flip | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/awslabs/aws-cfn-template-flip
安装元数据
| 软件包键 | brew:cfn-flip |
|---|---|
| 版本 | 1.3.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cfn-flip |
| 主页 | https://github.com/awslabs/aws-cfn-template-flip |
| 仓库 | https://github.com/awslabs/aws-cfn-template-flip |
| 上游文档 | https://aws-cloudformation.github.io/rain/rain_fmt.html |
| 许可证 | Apache-2.0 |
| 源码归档 | https://files.pythonhosted.org/packages/ca/75/8eba0bb52a6c58e347bc4c839b249d9f42380de93ed12a14eba4355387b4/cfn_flip-1.3.0.tar.gz |
| 依赖 | libyaml, python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cfn-flip |
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.