Skip to content

CategoryProps

Properties for defining a Category.

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

Initializer

import ros_cdk_ice
ros_cdk_ice.CategoryProps(
  cate_name: typing.Union[str, IResolvable],
  parent_id: typing.Union[typing.Union[int, float], IResolvable] = None,
  type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
cate_name typing.Union[str, ros_cdk_core.IResolvable] Property cateName: The category name.
parent_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property parentId: The ID of the parent category.
type typing.Union[str, ros_cdk_core.IResolvable] Property type: The type of the category.

cate_nameRequired

cate_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


parent_idOptional

parent_id: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property parentId: The ID of the parent category.


typeOptional

type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.