Class: AWSCDK::Bedrock::CfnApplicationInferenceProfile::InferenceProfileModelSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnApplicationInferenceProfile::InferenceProfileModelSourceProperty
- Defined in:
- bedrock/cfn_application_inference_profile.rb
Overview
Contains information about the model or system-defined inference profile that is the source for an inference profile..
Instance Attribute Summary collapse
-
#copy_from ⇒ String
readonly
The ARN of the model or system-defined inference profile that is the source for the inference profile.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(copy_from:) ⇒ InferenceProfileModelSourceProperty
constructor
A new instance of InferenceProfileModelSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(copy_from:) ⇒ InferenceProfileModelSourceProperty
Returns a new instance of InferenceProfileModelSourceProperty.
648 649 650 651 |
# File 'bedrock/cfn_application_inference_profile.rb', line 648 def initialize(copy_from:) @copy_from = copy_from Jsii::Type.check_type(@copy_from, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "copyFrom") end |
Instance Attribute Details
#copy_from ⇒ String (readonly)
The ARN of the model or system-defined inference profile that is the source for the inference profile.
657 658 659 |
# File 'bedrock/cfn_application_inference_profile.rb', line 657 def copy_from @copy_from end |
Class Method Details
.jsii_properties ⇒ Object
659 660 661 662 663 |
# File 'bedrock/cfn_application_inference_profile.rb', line 659 def self.jsii_properties { :copy_from => "copyFrom", } end |
Instance Method Details
#to_jsii ⇒ Object
665 666 667 668 669 670 671 |
# File 'bedrock/cfn_application_inference_profile.rb', line 665 def to_jsii result = {} result.merge!({ "copyFrom" => @copy_from, }) result.compact end |