TemplateProps
Properties for defining a Template.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-template
Initializer
import { TemplateProps } from '@alicloud/ros-cdk-oos'
const templateProps: TemplateProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
content | string | @alicloud/ros-cdk-core.IResolvable | Property content: The content of the template. |
templateName | string | @alicloud/ros-cdk-core.IResolvable | Property templateName: The name of the template. |
ignoreExisting | boolean | @alicloud/ros-cdk-core.IResolvable | Property ignoreExisting: Whether to ignore existing template False: ROS will perform a uniqueness check.If a template with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a template with the same name, the template creation process will be ignored. If the template is not created by ROS, it will be ignored during update and delete stage. |
resourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Property resourceGroupId: Resource group id. |
tags | {[ key: string ]: any} | Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
contentRequired
public readonly content: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property content: The content of the template.
The template must be in the JSON or YAML format. Maximum size: 64 KB.
templateNameRequired
public readonly templateName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property templateName: The name of the template.
The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ACS, ALIYUN, ALIBABA, or ALICLOUD.
ignoreExistingOptional
public readonly ignoreExisting: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property ignoreExisting: Whether to ignore existing template False: ROS will perform a uniqueness check.If a template with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a template with the same name, the template creation process will be ignored. If the template is not created by ROS, it will be ignored during update and delete stage.
resourceGroupIdOptional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: Resource group id.
tagsOptional
public readonly tags: {[ key: string ]: any};
- Type: {[ key: string ]: any}
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.