TemplateProps
Properties for defining a Template
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-template
Initializer
import { TemplateProps } from '@alicloud/ros-cdk-oos'
const templateProps: TemplateProps = { ... }
Properties
Name | Type | Description |
---|---|---|
content |
string | @alicloud/ros-cdk-core.IResolvable |
Property content: The content of the template. |
templateName |
string | @alicloud/ros-cdk-core.IResolvable |
Property templateName: The name of the template. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: Resource group id. |
tags |
{[ key: string ]: any} |
Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
content
Required
public readonly content: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property content: The content of the template.
The template must be in the JSON or YAML format. Maximum size: 64 KB.
templateName
Required
public readonly templateName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: Resource group id.
tags
Optional
public readonly tags: {[ key: string ]: any};
- Type: {[ key: string ]: any}
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.