

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Lambda 勾點
<a name="lambda-hooks"></a>

若要在帳戶中使用 AWS Lambda 勾點，您必須先為要使用該勾點的帳戶和區域*啟用* 勾點。啟用勾點可在啟用勾點的帳戶和區域中的堆疊操作中使用。

當您啟用 Lambda Hook 時，CloudFormation 會在您帳戶的登錄檔中為已啟用的 Hook 建立項目，做為私有 Hook。這可讓您設定勾點包含的任何組態屬性。組態屬性會定義如何為指定 AWS 帳戶 和 區域設定勾點。

**Topics**
+ [AWS CLI 使用 Lambda Hooks 的 命令](#commonly-used-commands-lambda-hooks)
+ [建立 Lambda 函數來評估 Lambda Hooks 的資源](lambda-hooks-create-lambda-function.md)
+ [準備建立 Lambda 勾點](lambda-hooks-prepare-to-create-hook.md)
+ [在您的帳戶中啟用 Lambda Hook](lambda-hooks-activate-hooks.md)
+ [檢視您帳戶中 Lambda Hooks 的日誌](lambda-hooks-view-logs.md)
+ [刪除您帳戶中的 Lambda 勾點](lambda-hooks-delete-hooks.md)

## AWS CLI 使用 Lambda Hooks 的 命令
<a name="commonly-used-commands-lambda-hooks"></a>

使用 Lambda Hooks 的 AWS CLI 命令包括：
+ [https://docs.aws.amazon.com/cli/latest/reference/cloudformation/activate-type.html](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/activate-type.html) 啟動 Lambda Hook 的啟用程序。
+ [https://docs.aws.amazon.com/cli/latest/reference/cloudformation/set-type-configuration.html](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/set-type-configuration.html) 指定帳戶中勾點的組態資料。
+ [https://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-types.html](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-types.html) 列出您帳戶中的勾點。
+ [https://docs.aws.amazon.com/cli/latest/reference/cloudformation/describe-type.html](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/describe-type.html) 傳回特定 Hook 或特定 Hook 版本的詳細資訊，包括目前的組態資料。
+ [https://docs.aws.amazon.com/cli/latest/reference/cloudformation/deactivate-type.html](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/deactivate-type.html) 從您的帳戶中移除先前啟用的勾點。