Skip to content

ICodeSource

Represents a CodeSource.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrAccessibility java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Accessibility: Visibility of the code configuration.
attrCodeBranch java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CodeBranch: Code repository branch.
attrCodeCommit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CodeCommit: The code CommitId.
attrCodeRepo java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CodeRepo: Code repository address.
attrCodeRepoAccessToken java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CodeRepoAccessToken: The Token used to access the code repository.
attrCodeRepoUserName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CodeRepoUserName: The user name of the code repository.
attrCodeSourcesId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CodeSourcesId: The ID of the created code configuration.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The creation time of the code.
attrDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Description: A detailed description of the code configuration.
attrDisplayName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DisplayName: Code source configuration name.
attrGmtModifyTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute GmtModifyTime: Code configuration modification time.
attrMountPath java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MountPath: The local Mount Directory of the code.
attrUserId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute UserId: The ID of the creator of the code configuration source.
attrWorkspaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute WorkspaceId: The ID of the workspace.
props CodeSourceProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.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

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrAccessibilityRequired

public java.lang.Object getAttrAccessibility();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Accessibility: Visibility of the code configuration.


attrCodeBranchRequired

public java.lang.Object getAttrCodeBranch();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CodeBranch: Code repository branch.


attrCodeCommitRequired

public java.lang.Object getAttrCodeCommit();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CodeCommit: The code CommitId.


attrCodeRepoRequired

public java.lang.Object getAttrCodeRepo();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CodeRepo: Code repository address.


attrCodeRepoAccessTokenRequired

public java.lang.Object getAttrCodeRepoAccessToken();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CodeRepoAccessToken: The Token used to access the code repository.


attrCodeRepoUserNameRequired

public java.lang.Object getAttrCodeRepoUserName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CodeRepoUserName: The user name of the code repository.


attrCodeSourcesIdRequired

public java.lang.Object getAttrCodeSourcesId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CodeSourcesId: The ID of the created code configuration.


attrCreateTimeRequired

public java.lang.Object getAttrCreateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: The creation time of the code.


attrDescriptionRequired

public java.lang.Object getAttrDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Description: A detailed description of the code configuration.


attrDisplayNameRequired

public java.lang.Object getAttrDisplayName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DisplayName: Code source configuration name.


attrGmtModifyTimeRequired

public java.lang.Object getAttrGmtModifyTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute GmtModifyTime: Code configuration modification time.

The time format is iso8601.


attrMountPathRequired

public java.lang.Object getAttrMountPath();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute MountPath: The local Mount Directory of the code.


attrUserIdRequired

public java.lang.Object getAttrUserId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute UserId: The ID of the creator of the code configuration source.


attrWorkspaceIdRequired

public java.lang.Object getAttrWorkspaceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute WorkspaceId: The ID of the workspace.


propsRequired

public CodeSourceProps getProps();