Class: AWSCDK::BedrockAgentCore::CfnHarness::HarnessAgentCoreCodeInterpreterConfigProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code_interpreter_arn: nil) ⇒ HarnessAgentCoreCodeInterpreterConfigProperty

Returns a new instance of HarnessAgentCoreCodeInterpreterConfigProperty.

Parameters:

  • code_interpreter_arn (String, nil) (defaults to: nil)


1166
1167
1168
1169
# File 'bedrock_agent_core/cfn_harness.rb', line 1166

def initialize(code_interpreter_arn: nil)
  @code_interpreter_arn = code_interpreter_arn
  Jsii::Type.check_type(@code_interpreter_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "codeInterpreterArn") unless @code_interpreter_arn.nil?
end

Instance Attribute Details

#code_interpreter_arnString? (readonly)



1173
1174
1175
# File 'bedrock_agent_core/cfn_harness.rb', line 1173

def code_interpreter_arn
  @code_interpreter_arn
end

Class Method Details

.jsii_propertiesObject



1175
1176
1177
1178
1179
# File 'bedrock_agent_core/cfn_harness.rb', line 1175

def self.jsii_properties
  {
    :code_interpreter_arn => "codeInterpreterArn",
  }
end

Instance Method Details

#to_jsiiObject



1181
1182
1183
1184
1185
1186
1187
# File 'bedrock_agent_core/cfn_harness.rb', line 1181

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