TemplateProps
Properties for defining a Template.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-template
Initializer
import com.aliyun.ros.cdk.oos.datasource.TemplateProps;
TemplateProps.builder()
.templateName(java.lang.String)
.templateName(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .templateVersion(java.lang.String)
// .templateVersion(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
templateName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property templateName: The name of the template. |
refreshOptions | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
templateVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property templateVersion: The version of the template. |
templateNameRequired
public java.lang.Object getTemplateName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateName: The name of the template.
refreshOptionsOptional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
templateVersionOptional
public java.lang.Object getTemplateVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateVersion: The version of the template.
The default value is the latest version of the template.Format: "v" + number. Value range: v1-v200.