Interface CfnCodeRepositoryProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCodeRepositoryProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.087Z") @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();
 
  • Method Details

    • getGitConfig

      @Stability(Stable) @NotNull Object 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.
    • getCodeRepositoryName

      @Stability(Stable) @Nullable default String getCodeRepositoryName()
      The name of the Git repository.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      List of tags for Code Repository.
    • builder

      @Stability(Stable) static CfnCodeRepositoryProps.Builder builder()
      Returns:
      a CfnCodeRepositoryProps.Builder of CfnCodeRepositoryProps