Class: AWSCDK::Bedrock::CfnApplicationInferenceProfile::InferenceProfileModelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnApplicationInferenceProfile::InferenceProfileModelProperty
- Defined in:
- bedrock/cfn_application_inference_profile.rb
Overview
Contains information about a model.
Instance Attribute Summary collapse
-
#model_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the model.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(model_arn: nil) ⇒ InferenceProfileModelProperty
constructor
A new instance of InferenceProfileModelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(model_arn: nil) ⇒ InferenceProfileModelProperty
Returns a new instance of InferenceProfileModelProperty.
615 616 617 618 |
# File 'bedrock/cfn_application_inference_profile.rb', line 615 def initialize(model_arn: nil) @model_arn = model_arn Jsii::Type.check_type(@model_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "modelArn") unless @model_arn.nil? end |
Instance Attribute Details
#model_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the model.
624 625 626 |
# File 'bedrock/cfn_application_inference_profile.rb', line 624 def model_arn @model_arn end |
Class Method Details
.jsii_properties ⇒ Object
626 627 628 629 630 |
# File 'bedrock/cfn_application_inference_profile.rb', line 626 def self.jsii_properties { :model_arn => "modelArn", } end |
Instance Method Details
#to_jsii ⇒ Object
632 633 634 635 636 637 638 |
# File 'bedrock/cfn_application_inference_profile.rb', line 632 def to_jsii result = {} result.merge!({ "modelArn" => @model_arn, }) result.compact end |