TemplateProps
Properties for defining a Template
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-template
Initializer
import com.aliyun.ros.cdk.oos.TemplateProps;
TemplateProps.builder()
.content(java.lang.String)
.content(IResolvable)
.templateName(java.lang.String)
.templateName(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .tags(java.util.Map<java.lang.String, java.lang.Object>)
.build();
Properties
Name | Type | Description |
---|---|---|
content |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property content: The content of the template. |
templateName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property templateName: The name of the template. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: Resource group id. |
tags |
java.util.Map |
Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
content
Required
public java.lang.Object getContent();
- Type: java.lang.String OR com.aliyun.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.
templateName
Required
public java.lang.Object getTemplateName();
- Type: java.lang.String OR com.aliyun.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 ALIYUN, ACS, ALIBABA, or ALICLOUD.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: Resource group id.
tags
Optional
public java.util.Map<java.lang.String, java.lang.Object> getTags();
- Type: java.util.Map
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.