TemplateProps
Properties for defining a Template.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-template
Initializer
import { datasource } from '@alicloud/ros-cdk-oos'
const templateProps: datasource.TemplateProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
templateName | string | @alicloud/ros-cdk-core.IResolvable | Property templateName: The name of the template. |
refreshOptions | string | @alicloud/ros-cdk-core.IResolvable | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
templateVersion | string | @alicloud/ros-cdk-core.IResolvable | Property templateVersion: The version of the template. |
templateNameRequired
public readonly templateName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property templateName: The name of the template.
refreshOptionsOptional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/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 readonly templateVersion: string | IResolvable;
- Type: string | @alicloud/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.