Skip to content

INamespace

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: Namespace, INamespace

Represents a Namespace.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrCreateTime interface{} Attribute CreateTime: The timestamp that was generated when the namespace was created.
AttrDescription interface{} Attribute Description: The description of the namespace.
AttrModifyTime interface{} Attribute ModifyTime: The timestamp that was generated when the namespace was last modified.
AttrNamespace interface{} Attribute Namespace: The namespace for the Alibaba Cloud service.
AttrSpecification interface{} Attribute Specification: The data retention period of the namespace.
Props NamespaceProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrCreateTimeRequired

func AttrCreateTime() interface{}
  • Type: interface{}

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

Unit: milliseconds.


AttrDescriptionRequired

func AttrDescription() interface{}
  • Type: interface{}

Attribute Description: The description of the namespace.


AttrModifyTimeRequired

func AttrModifyTime() interface{}
  • Type: interface{}

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


AttrNamespaceRequired

func AttrNamespace() interface{}
  • Type: interface{}

Attribute Namespace: The namespace for the Alibaba Cloud service.


AttrSpecificationRequired

func AttrSpecification() interface{}
  • Type: interface{}

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

func Props() NamespaceProps