Interface CfnCodeRepositoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCodeRepositoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:14.303Z")
@Stability(Stable)
public interface CfnCodeRepositoryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCodeRepository.
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.sagemaker.*;
CfnCodeRepositoryProps cfnCodeRepositoryProps = CfnCodeRepositoryProps.builder()
.gitConfig(GitConfigProperty.builder()
.repositoryUrl("repositoryUrl")
// the properties below are optional
.branch("branch")
.secretArn("secretArn")
.build())
// the properties below are optional
.codeRepositoryName("codeRepositoryName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCodeRepositoryPropsstatic final classAn implementation forCfnCodeRepositoryProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the Git repository.Configuration details for the Git repository, including the URL where it is located and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the repository.getTags()List of tags for Code Repository.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGitConfig
Configuration details for the Git repository, including the URL where it is located and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the repository.Returns union: either
IResolvableorCfnCodeRepository.GitConfigProperty- See Also:
-
getCodeRepositoryName
The name of the Git repository.- See Also:
-
getTags
List of tags for Code Repository.- See Also:
-
builder
- Returns:
- a
CfnCodeRepositoryProps.BuilderofCfnCodeRepositoryProps
-