Class: AWSCDK::Sagemaker::CfnDomain::CodeRepositoryProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_domain.rb

Overview

A Git repository that SageMaker AI automatically displays to users for cloning in the JupyterServer application.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repository_url:) ⇒ CodeRepositoryProperty

Returns a new instance of CodeRepositoryProperty.

Parameters:

  • repository_url (String)

    The URL of the Git repository.



885
886
887
888
# File 'sagemaker/cfn_domain.rb', line 885

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_urlString (readonly)

The URL of the Git repository.



894
895
896
# File 'sagemaker/cfn_domain.rb', line 894

def repository_url
  @repository_url
end

Class Method Details

.jsii_propertiesObject



896
897
898
899
900
# File 'sagemaker/cfn_domain.rb', line 896

def self.jsii_properties
  {
    :repository_url => "repositoryUrl",
  }
end

Instance Method Details

#to_jsiiObject



902
903
904
905
906
907
908
# File 'sagemaker/cfn_domain.rb', line 902

def to_jsii
  result = {}
  result.merge!({
    "repositoryUrl" => @repository_url,
  })
  result.compact
end