Class: AWSCDK::Sagemaker::CfnModel::HubAccessConfigProperty

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

Overview

The configuration for a private hub model reference that points to a public SageMaker JumpStart model.

For more information about private hubs, see Private curated hubs for foundation model access control in JumpStart .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hub_content_arn:) ⇒ HubAccessConfigProperty

Returns a new instance of HubAccessConfigProperty.

Parameters:

  • hub_content_arn (String)

    The ARN of your private model hub content.



768
769
770
771
# File 'sagemaker/cfn_model.rb', line 768

def initialize(hub_content_arn:)
  @hub_content_arn = hub_content_arn
  Jsii::Type.check_type(@hub_content_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hubContentArn")
end

Instance Attribute Details

#hub_content_arnString (readonly)

The ARN of your private model hub content.

This should be a ModelReference resource type that points to a SageMaker JumpStart public hub model.



779
780
781
# File 'sagemaker/cfn_model.rb', line 779

def hub_content_arn
  @hub_content_arn
end

Class Method Details

.jsii_propertiesObject



781
782
783
784
785
# File 'sagemaker/cfn_model.rb', line 781

def self.jsii_properties
  {
    :hub_content_arn => "hubContentArn",
  }
end

Instance Method Details

#to_jsiiObject



787
788
789
790
791
792
793
# File 'sagemaker/cfn_model.rb', line 787

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