Class: AWSCDK::BedrockAgentCore::CfnOnlineEvaluationConfig::OutputConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_online_evaluation_config.rb

Overview

The configuration that specifies where evaluation results should be written.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cloud_watch_config: nil) ⇒ OutputConfigProperty

Returns a new instance of OutputConfigProperty.

Parameters:



987
988
989
990
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 987

def initialize(cloud_watch_config: nil)
  @cloud_watch_config = cloud_watch_config.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnOnlineEvaluationConfig::CloudWatchOutputConfigProperty.new(**cloud_watch_config.transform_keys(&:to_sym)) : cloud_watch_config
  Jsii::Type.check_type(@cloud_watch_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbk9ubGluZUV2YWx1YXRpb25Db25maWcuQ2xvdWRXYXRjaE91dHB1dENvbmZpZ1Byb3BlcnR5In1dfX0=")), "cloudWatchConfig") unless @cloud_watch_config.nil?
end

Instance Attribute Details

#cloud_watch_configAWSCDK::IResolvable, ... (readonly)

The CloudWatch configuration for writing evaluation results.



996
997
998
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 996

def cloud_watch_config
  @cloud_watch_config
end

Class Method Details

.jsii_propertiesObject



998
999
1000
1001
1002
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 998

def self.jsii_properties
  {
    :cloud_watch_config => "cloudWatchConfig",
  }
end

Instance Method Details

#to_jsiiObject



1004
1005
1006
1007
1008
1009
1010
# File 'bedrock_agent_core/cfn_online_evaluation_config.rb', line 1004

def to_jsii
  result = {}
  result.merge!({
    "cloudWatchConfig" => @cloud_watch_config,
  })
  result.compact
end