Class CodeConfig
Represents the structure to pass into the underlying CfnRepository class.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeCommit
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CodeConfig : ICodeConfig
Syntax (vb)
Public Class CodeConfig 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
CodeConfig() | Represents the structure to pass into the underlying CfnRepository class. |
Properties
Code | represents the underlying code structure. |
Constructors
CodeConfig()
Represents the structure to pass into the underlying CfnRepository class.
public CodeConfig()
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"
}
};
Properties
Code
represents the underlying code structure.
public CfnRepository.ICodeProperty Code { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated