The ALIYUN::OOS::Template resource type creates a template.
Syntax
{
"Type": "ALIYUN::OOS::Template",
"Properties": {
"Content": String,
"TemplateName": String,
"Tags": Map,
"ResourceGroupId": String,
"IgnoreExisting": Boolean
}
}Properties
Property | Type | Required | Updatable | Description | Constraints |
Content | String | Yes | Yes | The content of the template. | The template must be in the JSON or YAML format. The size of the template cannot exceed 64 KB. |
TemplateName | String | Yes | No | The name of the template. | The name can contain letters, digits, hyphens (-), and underscores (_). The name can be up to 200 characters in length. The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD. |
IgnoreExisting | Boolean | No | No | Specifies whether to ignore the template if it already exists. | Valid values:
If the template was not created by ROS, it is also ignored during the update or delete phase. |
Tags | Map | No | Yes | The tags of the template. A tag is a key-value pair. Example: {"k1":"v1","k2":"v2"}. | A maximum of 20 key-value pairs are supported. |
ResourceGroupId | String | No | Yes | The ID of the resource group. | None |
Return values
Fn::GetAtt
TemplateId: The ID of the template.
TemplateName: The name of the template.
ExecutionPolicy: The execution policy of the template.