Skip to content

TemplateProps

Properties for defining a Template.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-template

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoos/datasource"
&datasource.TemplateProps {
    TemplateName: interface{},
    RefreshOptions: interface{},
    TemplateVersion: interface{},
}

Properties

Name Type Description
TemplateName interface{} Property templateName: The name of the template.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
TemplateVersion interface{} Property templateVersion: The version of the template.

TemplateNameRequired

TemplateName interface{}
  • Type: interface{}

Property templateName: The name of the template.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

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

TemplateVersion interface{}
  • Type: interface{}

Property templateVersion: The version of the template.

The default value is the latest version of the template.Format: "v" + number. Value range: v1-v200.