Class: AWSCDK::Interfaces::AWSBedrock::ApplicationInferenceProfileReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_bedrock/application_inference_profile_reference.rb

Overview

A reference to a ApplicationInferenceProfile resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inference_profile_identifier:) ⇒ ApplicationInferenceProfileReference

Returns a new instance of ApplicationInferenceProfileReference.

Parameters:

  • inference_profile_identifier (String)

    The InferenceProfileIdentifier of the ApplicationInferenceProfile resource.



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_identifierString (readonly)

The InferenceProfileIdentifier of the ApplicationInferenceProfile resource.

Returns:

  • (String)


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_propertiesObject



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_jsiiObject



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