TemplateProps
Properties for defining a Template.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-template
Initializer
from ros_cdk_oos import datasource
datasource.TemplateProps(
template_name: typing.Union[str, IResolvable],
refresh_options: typing.Union[str, IResolvable] = None,
template_version: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
template_name | typing.Union[str, ros_cdk_core.IResolvable] | Property templateName: The name of the template. |
refresh_options | typing.Union[str, ros_cdk_core.IResolvable] | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
template_version | typing.Union[str, ros_cdk_core.IResolvable] | Property templateVersion: The version of the template. |
template_nameRequired
template_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property templateName: The name of the template.
refresh_optionsOptional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
template_versionOptional
template_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.