CodeRepositoryProperty Struct
A Git repository that SageMaker AI automatically displays to users for cloning in the JupyterServer application.
| Source | |
|---|---|
| Type last changed |
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 codeRepositoryProperty: sagemaker.CfnUserProfile.CodeRepositoryProperty = {
repositoryUrl: 'repositoryUrl',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
code_repository_property = sagemaker.CfnUserProfile.CodeRepositoryProperty(
repository_url="repositoryUrl"
)
java
// 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.*;
CodeRepositoryProperty codeRepositoryProperty = CodeRepositoryProperty.builder()
.repositoryUrl("repositoryUrl")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var codeRepositoryProperty = new CodeRepositoryProperty {
RepositoryUrl = "repositoryUrl"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
codeRepositoryProperty := &CodeRepositoryProperty{
RepositoryUrl: jsii.String("repositoryUrl"),
}
Properties
repositoryUrlstringrepository_urlstrrepositoryUrlStringRepositoryUrlstringRepositoryUrl*string required #The URL of the Git repository.