CfnCodeRepositoryProps Struct
Properties for defining a CfnCodeRepository.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnCodeRepositoryProps: sagemaker.CfnCodeRepositoryProps = {
gitConfig: {
repositoryUrl: 'repositoryUrl',
// the properties below are optional
branch: 'branch',
secretArn: 'secretArn',
},
// the properties below are optional
codeRepositoryName: 'codeRepositoryName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
codeRepositoryNameoptionalstringcode_repository_nameoptionalstrcodeRepositoryNameoptionalStringCodeRepositoryNameoptionalstringCodeRepositoryNameoptional*string#The name of the Git repository.
gitConfigIResolvable | CfnCodeRepository.GitConfigPropertygit_configtyping.Union[IResolvable, GitConfigProperty]gitConfigIResolvableGitConfigIResolvableGitConfiginterface{}required#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.