Class: AWSCDK::Sagemaker::CfnModel::HubAccessConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnModel::HubAccessConfigProperty
- 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
-
#hub_content_arn ⇒ String
readonly
The ARN of your private model hub content.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hub_content_arn:) ⇒ HubAccessConfigProperty
constructor
A new instance of HubAccessConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(hub_content_arn:) ⇒ HubAccessConfigProperty
Returns a new instance of HubAccessConfigProperty.
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_arn ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |