Skip to content

INamespace

Represents a Namespace.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The timestamp that was generated when the namespace was created.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: The description of the namespace.
attr_modify_time typing.Union[str, ros_cdk_core.IResolvable] Attribute ModifyTime: The timestamp that was generated when the namespace was last modified.
attr_namespace typing.Union[str, ros_cdk_core.IResolvable] Attribute Namespace: The namespace for the Alibaba Cloud service.
attr_specification typing.Union[str, ros_cdk_core.IResolvable] Attribute Specification: The data retention period of the namespace.
props NamespaceProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_create_timeRequired

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

Attribute CreateTime: The timestamp that was generated when the namespace was created.

Unit: milliseconds.


attr_descriptionRequired

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

Attribute Description: The description of the namespace.


attr_modify_timeRequired

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

Attribute ModifyTime: The timestamp that was generated when the namespace was last modified.


attr_namespaceRequired

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

Attribute Namespace: The namespace for the Alibaba Cloud service.


attr_specificationRequired

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

Attribute 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.

propsRequired

props: NamespaceProps