Skip to content

NamespaceProps

Properties for defining a Namespace.

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

Initializer

import ros_cdk_cr
ros_cdk_cr.NamespaceProps(
  namespace: typing.Union[str, IResolvable],
  auto_create: typing.Union[bool, IResolvable] = None,
  default_visibility: typing.Union[str, IResolvable] = None,
  instance_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
namespace typing.Union[str, ros_cdk_core.IResolvable] Property namespace: The name of the namespace.
auto_create typing.Union[bool, ros_cdk_core.IResolvable] Property autoCreate: Specifies whether to automatically create an image repository.
default_visibility typing.Union[str, ros_cdk_core.IResolvable] Property defaultVisibility: The default type of the repository that is automatically created.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the enterprise edition instance which namespace belongs to.

namespaceRequired

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

Property namespace: The name of the namespace.


auto_createOptional

auto_create: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoCreate: Specifies whether to automatically create an image repository.


default_visibilityOptional

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

Property defaultVisibility: The default type of the repository that is automatically created.

Valid values: PUBLIC, PRIVATE.


instance_idOptional

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

Property instanceId: The ID of the enterprise edition instance which namespace belongs to.

If not provided, will use personal edition instance as default.