TemplateProps
Properties for defining a Template.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-template
Initializer
import ros_cdk_oos
ros_cdk_oos.TemplateProps(
content: typing.Union[str, IResolvable],
template_name: typing.Union[str, IResolvable],
ignore_existing: typing.Union[bool, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
tags: typing.Mapping[typing.Any] = None
)
Properties
| Name | Type | Description |
|---|---|---|
content | typing.Union[str, ros_cdk_core.IResolvable] | Property content: The content of the template. |
template_name | typing.Union[str, ros_cdk_core.IResolvable] | Property templateName: The name of the template. |
ignore_existing | typing.Union[bool, 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. |
resource_group_id | typing.Union[str, ros_cdk_core.IResolvable] | Property resourceGroupId: Resource group id. |
tags | typing.Mapping[typing.Any] | Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
contentRequired
content: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
template_nameRequired
template_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
ignore_existingOptional
ignore_existing: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, 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.
resource_group_idOptional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: Resource group id.
tagsOptional
tags: typing.Mapping[typing.Any]
- Type: typing.Mapping[typing.Any]
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.