Skip to content

CategoryProps

Properties for defining a Category.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ice-category

Initializer

import { CategoryProps } from '@alicloud/ros-cdk-ice'
const categoryProps: CategoryProps = { ... }

Properties

Name Type Description
cateName string | @alicloud/ros-cdk-core.IResolvable Property cateName: The category name.
parentId number | @alicloud/ros-cdk-core.IResolvable Property parentId: The ID of the parent category.
type string | @alicloud/ros-cdk-core.IResolvable Property type: The type of the category.

cateNameRequired

public readonly cateName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property cateName: The category name.

The value can be up to 64 bytes in length. The value must be encoded in UTF-8.


parentIdOptional

public readonly parentId: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property parentId: The ID of the parent category.


typeOptional

public readonly type: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property type: The type of the category.

Valid values: default: audio, video, and image files. This is the default value. material: short video materials.