Skip to content

TemplateProps

Properties for defining a Template.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoos"
&alicloudroscdkoos.TemplateProps {
    Content: interface{},
    TemplateName: interface{},
    ResourceGroupId: interface{},
    Tags: *map[string]interface{},
}

Properties

Name Type Description
Content interface{} Property content: The content of the template.
TemplateName interface{} Property templateName: The name of the template.
ResourceGroupId interface{} Property resourceGroupId: Resource group id.
Tags *map[string]interface{} Property tags: Tag value and the key mapping, the label of the key number can be up to 20.

ContentRequired

Content interface{}
  • Type: interface{}

Property content: The content of the template.

The template must be in the JSON or YAML format. Maximum size: 64 KB.


TemplateNameRequired

TemplateName interface{}
  • Type: interface{}

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.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: Resource group id.


TagsOptional

Tags *map[string]interface{}
  • Type: *map[string]interface{}

Property tags: Tag value and the key mapping, the label of the key number can be up to 20.