Class: AWSCDK::BedrockAgentCore::CfnOnlineEvaluationConfig::InsightProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnOnlineEvaluationConfig::InsightProperty
- Defined in:
- bedrock_agent_core/cfn_online_evaluation_config.rb
Overview
An insight configuration for failure analysis.
Instance Attribute Summary collapse
-
#insight_id ⇒ String
readonly
The unique identifier of the insight.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(insight_id:) ⇒ InsightProperty
constructor
A new instance of InsightProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(insight_id:) ⇒ InsightProperty
Returns a new instance of InsightProperty.
954 955 956 957 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 954 def initialize(insight_id:) @insight_id = insight_id Jsii::Type.check_type(@insight_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "insightId") end |
Instance Attribute Details
#insight_id ⇒ String (readonly)
The unique identifier of the insight.
963 964 965 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 963 def insight_id @insight_id end |
Class Method Details
.jsii_properties ⇒ Object
965 966 967 968 969 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 965 def self.jsii_properties { :insight_id => "insightId", } end |
Instance Method Details
#to_jsii ⇒ Object
971 972 973 974 975 976 977 |
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 971 def to_jsii result = {} result.merge!({ "insightId" => @insight_id, }) result.compact end |