

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

# CloudFormation 範本 Description 語法
<a name="template-description-structure"></a>

`Description` 區段 (選用) 讓您能夠包含描述範本的文字字串。此區段一律必須遵循範本格式版本區段。

描述宣告值的長度必須是介於 0 與 1024 位元組之間的常值字串。您不能使用參數或函數來指定描述。下列程式碼片段是描述宣告範例：

**重要**  
在更新堆疊期間，您無法自行更新 `Description` 區段。只有在包含可新增、修改或刪除資源的變更時，才能予以更新。

## JSON
<a name="template-description-structure-example.json"></a>

```
"Description" : "Here are some details about the template."
```

## YAML
<a name="template-description-structure-example.yaml"></a>

```
Description: > Here are some details about the template.
```