Skip to content

RepositoryProps

Properties for defining a Repository.

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

Initializer

import ros_cdk_cr
ros_cdk_cr.RepositoryProps(
  repo_name: typing.Union[str, IResolvable],
  repo_namespace: typing.Union[str, IResolvable],
  repo_type: typing.Union[str, IResolvable],
  summary: typing.Union[str, IResolvable],
  detail: typing.Union[str, IResolvable] = None,
  instance_id: typing.Union[str, IResolvable] = None,
  repo_source: typing.Union[IResolvable, RepoSourceProperty] = None,
  tag_immutability: typing.Union[bool, IResolvable] = None
)

Properties

Name Type Description
repo_name typing.Union[str, ros_cdk_core.IResolvable] Property repoName: The name of the repository.
repo_namespace typing.Union[str, ros_cdk_core.IResolvable] Property repoNamespace: The name of the namespace to which the repository belongs.
repo_type typing.Union[str, ros_cdk_core.IResolvable] Property repoType: The type of the repository.
summary typing.Union[str, ros_cdk_core.IResolvable] Property summary: The summary of the repository.
detail typing.Union[str, ros_cdk_core.IResolvable] Property detail: The description of the repository.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the enterprise edition instance which repository belongs to.
repo_source typing.Union[ros_cdk_core.IResolvable, RepoSourceProperty] Property repoSource: Code Source message.
tag_immutability typing.Union[bool, ros_cdk_core.IResolvable] Property tagImmutability: Specifies whether the repository is immutable.

repo_nameRequired

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

Property repoName: The name of the repository.


repo_namespaceRequired

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

Property repoNamespace: The name of the namespace to which the repository belongs.


repo_typeRequired

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

Property repoType: The type of the repository.

Valid values: PUBLIC, PRIVATE.


summaryRequired

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

Property summary: The summary of the repository.


detailOptional

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

Property detail: The description of the repository.


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 repository belongs to.

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


repo_sourceOptional

repo_source: typing.Union[IResolvable, RepoSourceProperty]

Property repoSource: Code Source message.


tag_immutabilityOptional

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

Property tagImmutability: Specifies whether the repository is immutable.

Only takes effect when InstanceId is specified.