Skip to content

GitCodeRepoProps

Properties for defining a GitCodeRepo.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-gitcoderepo

Initializer

import { datasource } from '@alicloud/ros-cdk-oos'
const gitCodeRepoProps: datasource.GitCodeRepoProps = { ... }

Properties

Name Type Description
owner string | @alicloud/ros-cdk-core.IResolvable Property owner: Git account.
platform string | @alicloud/ros-cdk-core.IResolvable Property platform: Git platform.
repository string | @alicloud/ros-cdk-core.IResolvable Property repository: Git repository.
commitId string | @alicloud/ros-cdk-core.IResolvable Property commitId: Git commit id.
organization string | @alicloud/ros-cdk-core.IResolvable Property organization: Git organization.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

ownerRequired

public readonly owner: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property owner: Git account.


platformRequired

public readonly platform: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property platform: Git platform.


repositoryRequired

public readonly repository: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property repository: Git repository.


commitIdOptional

public readonly commitId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property commitId: Git commit id.


organizationOptional

public readonly organization: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property organization: Git organization.


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.