Class: AWSCDK::Sagemaker::CfnUserProfile::CodeRepositoryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnUserProfile::CodeRepositoryProperty
- Defined in:
- sagemaker/cfn_user_profile.rb
Overview
A Git repository that SageMaker AI automatically displays to users for cloning in the JupyterServer application.
Instance Attribute Summary collapse
-
#repository_url ⇒ String
readonly
The URL of the Git repository.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(repository_url:) ⇒ CodeRepositoryProperty
constructor
A new instance of CodeRepositoryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(repository_url:) ⇒ CodeRepositoryProperty
Returns a new instance of CodeRepositoryProperty.
697 698 699 700 |
# File 'sagemaker/cfn_user_profile.rb', line 697 def initialize(repository_url:) @repository_url = repository_url Jsii::Type.check_type(@repository_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "repositoryUrl") end |
Instance Attribute Details
#repository_url ⇒ String (readonly)
The URL of the Git repository.
706 707 708 |
# File 'sagemaker/cfn_user_profile.rb', line 706 def repository_url @repository_url end |
Class Method Details
.jsii_properties ⇒ Object
708 709 710 711 712 |
# File 'sagemaker/cfn_user_profile.rb', line 708 def self.jsii_properties { :repository_url => "repositoryUrl", } end |
Instance Method Details
#to_jsii ⇒ Object
714 715 716 717 718 719 720 |
# File 'sagemaker/cfn_user_profile.rb', line 714 def to_jsii result = {} result.merge!({ "repositoryUrl" => @repository_url, }) result.compact end |