Skip to content

INamespace

Represents a Namespace.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The timestamp that was generated when the namespace was created.
attrDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Description: The description of the namespace.
attrModifyTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ModifyTime: The timestamp that was generated when the namespace was last modified.
attrNamespace java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Namespace: The namespace for the Alibaba Cloud service.
attrSpecification java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Specification: The data retention period of the namespace.
props NamespaceProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.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

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrCreateTimeRequired

public java.lang.Object getAttrCreateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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

Unit: milliseconds.


attrDescriptionRequired

public java.lang.Object getAttrDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Description: The description of the namespace.


attrModifyTimeRequired

public java.lang.Object getAttrModifyTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


attrNamespaceRequired

public java.lang.Object getAttrNamespace();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Namespace: The namespace for the Alibaba Cloud service.


attrSpecificationRequired

public java.lang.Object getAttrSpecification();
  • Type: java.lang.String OR com.aliyun.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

public NamespaceProps getProps();