Class CodeConfig
Represents the structure to pass into the underlying CfnRepository class.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeCommit
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CodeConfig : Object, ICodeConfig
Syntax (vb)
Public Class CodeConfig
Inherits Object
Implements ICodeConfig
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.CodeCommit;
var codeConfig = new CodeConfig {
Code = new CodeProperty {
S3 = new S3Property {
Bucket = "bucket",
Key = "key",
// the properties below are optional
ObjectVersion = "objectVersion"
},
// the properties below are optional
BranchName = "branchName"
}
};
Synopsis
Constructors
Code |
Properties
Code | represents the underlying code structure. |
Constructors
CodeConfig()
public CodeConfig()
Properties
Code
represents the underlying code structure.
public CfnRepository.ICodeProperty Code { get; set; }
Property Value