Skip to content

NamespaceProps

Properties for defining a Namespace.

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

Initializer

import { NamespaceProps } from '@alicloud/ros-cdk-cms'
const namespaceProps: NamespaceProps = { ... }

Properties

Name Type Description
namespace string | @alicloud/ros-cdk-core.IResolvable Property namespace: The name of the namespace.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the namespace.
specification string | @alicloud/ros-cdk-core.IResolvable Property specification: The data retention period of the namespace.

namespaceRequired

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

Property namespace: The name of the namespace.

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


descriptionOptional

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

Property description: The description of the namespace.


specificationOptional

public readonly specification: string | IResolvable;
  • Type: string | @alicloud/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.