interface CfnCodeRepositoryProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnCodeRepositoryProps |
Java | software.amazon.awscdk.services.sagemaker.CfnCodeRepositoryProps |
Python | aws_cdk.aws_sagemaker.CfnCodeRepositoryProps |
TypeScript | @aws-cdk/aws-sagemaker » CfnCodeRepositoryProps |
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 * as sagemaker from '@aws-cdk/aws-sagemaker';
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
Name | Type | Description |
---|---|---|
git | IResolvable | Git | 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. |
code | string | The name of the Git repository. |
tags? | Cfn [] | List of tags for Code Repository. |
gitConfig
Type:
IResolvable
|
Git
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.
codeRepositoryName?
Type:
string
(optional)
The name of the Git repository.
tags?
Type:
Cfn
[]
(optional)
List of tags for Code Repository.