Class: AWSCDK::Interfaces::AWSBedrock::ApplicationInferenceProfileReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSBedrock::ApplicationInferenceProfileReference
- Defined in:
- interfaces/aws_bedrock/application_inference_profile_reference.rb
Overview
A reference to a ApplicationInferenceProfile resource.
Instance Attribute Summary collapse
-
#inference_profile_identifier ⇒ String
readonly
The InferenceProfileIdentifier of the ApplicationInferenceProfile resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(inference_profile_identifier:) ⇒ ApplicationInferenceProfileReference
constructor
A new instance of ApplicationInferenceProfileReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(inference_profile_identifier:) ⇒ ApplicationInferenceProfileReference
Returns a new instance of ApplicationInferenceProfileReference.
8 9 10 11 |
# File 'interfaces/aws_bedrock/application_inference_profile_reference.rb', line 8 def initialize(inference_profile_identifier:) @inference_profile_identifier = inference_profile_identifier Jsii::Type.check_type(@inference_profile_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inferenceProfileIdentifier") end |
Instance Attribute Details
#inference_profile_identifier ⇒ String (readonly)
The InferenceProfileIdentifier of the ApplicationInferenceProfile resource.
16 17 18 |
# File 'interfaces/aws_bedrock/application_inference_profile_reference.rb', line 16 def inference_profile_identifier @inference_profile_identifier end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_bedrock/application_inference_profile_reference.rb', line 18 def self.jsii_properties { :inference_profile_identifier => "inferenceProfileIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_bedrock/application_inference_profile_reference.rb', line 24 def to_jsii result = {} result.merge!({ "inferenceProfileIdentifier" => @inference_profile_identifier, }) result.compact end |