Interface CodeConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CodeConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:47.578Z")
@Stability(Stable)
public interface CodeConfig
extends software.amazon.jsii.JsiiSerializable
Represents the structure to pass into the underlying CfnRepository class.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codecommit.*;
CodeConfig codeConfig = CodeConfig.builder()
.code(CodeProperty.builder()
.s3(S3Property.builder()
.bucket("bucket")
.key("key")
// the properties below are optional
.objectVersion("objectVersion")
.build())
// the properties below are optional
.branchName("branchName")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCodeConfigstatic final classAn implementation forCodeConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic CodeConfig.Builderbuilder()getCode()represents the underlying code structure.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCode
represents the underlying code structure. -
builder
- Returns:
- a
CodeConfig.BuilderofCodeConfig
-