Skip to content

NamespaceProps

Properties for defining a Namespace.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-namespace

Initializer

import ros_cdk_cms
ros_cdk_cms.NamespaceProps(
  namespace: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  specification: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
namespace typing.Union[str, ros_cdk_core.IResolvable] Property namespace: The name of the namespace.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the namespace.
specification typing.Union[str, ros_cdk_core.IResolvable] Property specification: The data retention period of the namespace.

namespaceRequired

namespace: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property namespace: The name of the namespace.

The name can contain lowercase letters, digits, and hyphens (-).


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of the namespace.


specificationOptional

specification: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property specification: The data retention period of the namespace.

Valid values:

  • cms.s1.large: Data storage duration is 15 days.
  • cms.s1.xlarge: Data storage duration is 32 days.
  • cms.s1.2xlarge: Data storage duration 63 days.
  • cms.s1.3xlarge: Data storage duration 93 days.
  • cms.s1.6xlarge: Data storage duration 185 days.
  • cms.s1.12xlarge: Data storage duration 376 days.