Creates an Operation Orchestration Service (OOS) 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 JSON or YAML format and cannot exceed 64 KB in size. |
|
TemplateName |
String |
Yes |
No |
The name of the template. |
The name can contain letters, digits, hyphens (-), and underscores (_), and can be up to 200 characters in length. The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD. |
|
IgnoreExisting |
Boolean |
No |
No |
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, specified as key-value pairs. Example: {"k1":"v1","k2":"v2"}. |
You can specify up to 20 key-value pairs. |
|
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.