本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
parse-tree
為 AWS CloudFormation Guard 規則檔案中定義的規則產生剖析樹狀結構。
語法
cfn-guard parse-tree --output <value> --rules <value>
參數
-h, --help
列印說明資訊。
-p, --print-json
以 JSON 格式列印輸出。
-y, --print-yaml
以 YAML 格式列印輸出。
-V, --version
列印版本資訊。
選項
-o, --output
將產生的樹寫入輸出檔案。
-r, --rules
提供規則檔案。
範例
cfn-guard parse-tree --outputoutput.json--rulesrules.guard