Interface CfnProject.IProjectSourceVersionProperty
A source identifier and its corresponding version.
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.AWS.CodeBuild.dll
Syntax (csharp)
public interface IProjectSourceVersionProperty
Syntax (vb)
Public Interface IProjectSourceVersionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;
var projectSourceVersionProperty = new ProjectSourceVersionProperty {
SourceIdentifier = "sourceIdentifier",
// the properties below are optional
SourceVersion = "sourceVersion"
};
Synopsis
Properties
SourceIdentifier | An identifier for a source in the build project. |
SourceVersion | The source version for the corresponding source identifier. If specified, must be one of:. |
Properties
SourceIdentifier
An identifier for a source in the build project.
string SourceIdentifier { get; }
Property Value
System.String
Remarks
The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
SourceVersion
The source version for the corresponding source identifier. If specified, must be one of:.
virtual string SourceVersion { get; }
Property Value
System.String
Remarks
For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .