Module: AWSCDK::BedrockAgentCore::ITargetConfiguration

Included in:
McpTargetConfiguration
Defined in:
bedrock_agent_core/i_target_configuration.rb

Overview

Base interface for target configurations.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



25
26
27
28
29
30
# File 'bedrock_agent_core/i_target_configuration.rb', line 25

def self.jsii_overridable_methods
  {
    :target_type => { kind: :property, name: "targetType", is_optional: false },
    :bind => { kind: :method, name: "bind", is_optional: false },
  }
end

Instance Method Details

#bind(scope, gateway) ⇒ AWSCDK::BedrockAgentCore::TargetConfigurationConfig

Binds the configuration to a construct scope Sets up permissions and dependencies.

Parameters:

Returns:



19
20
21
22
23
# File 'bedrock_agent_core/i_target_configuration.rb', line 19

def bind(scope, gateway)
  Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope")
  Jsii::Type.check_type(gateway, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5JR2F0ZXdheSJ9")), "gateway")
  jsii_call_method("bind", [scope, gateway])
end

#target_typeAWSCDK::BedrockAgentCore::McpTargetType

The target type.



10
11
12
# File 'bedrock_agent_core/i_target_configuration.rb', line 10

def target_type()
  jsii_get_property("targetType")
end