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. |
owner
Required
public readonly owner: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property owner: Git account.
platform
Required
public readonly platform: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property platform: Git platform.
repository
Required
public readonly repository: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property repository: Git repository.
commitId
Optional
public readonly commitId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property commitId: Git commit id.
organization
Optional
public readonly organization: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property organization: Git organization.
refreshOptions
Optional
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.