Class CfnService.SourceCodeVersionProperty
Identifies a version of code that AWS App Runner refers to within a source code repository.
Inheritance
System.Object
CfnService.SourceCodeVersionProperty
Implements
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SourceCodeVersionProperty : Object, CfnService.ISourceCodeVersionProperty
Syntax (vb)
Public Class SourceCodeVersionProperty
Inherits Object
Implements CfnService.ISourceCodeVersionProperty
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.AppRunner;
var sourceCodeVersionProperty = new SourceCodeVersionProperty {
Type = "type",
Value = "value"
};
Synopsis
Constructors
SourceCodeVersionProperty() |
Properties
Type | The type of version identifier. |
Value | A source code version. |
Constructors
SourceCodeVersionProperty()
public SourceCodeVersionProperty()
Properties
Type
The type of version identifier.
public string Type { get; set; }
Property Value
System.String
Remarks
For a git-based repository, branches represent versions.
Value
A source code version.
public string Value { get; set; }
Property Value
System.String
Remarks
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.