Class: AWSCDK::BedrockAgentCore::TargetConfigurationConfig

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

Overview

Configuration returned by binding a target configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bound:) ⇒ TargetConfigurationConfig

Returns a new instance of TargetConfigurationConfig.

Parameters:

  • bound (Boolean)

    Indicates that the configuration has been successfully bound.



8
9
10
11
# File 'bedrock_agent_core/target_configuration_config.rb', line 8

def initialize(bound:)
  @bound = bound
  Jsii::Type.check_type(@bound, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "bound")
end

Instance Attribute Details

#boundBoolean (readonly)

Indicates that the configuration has been successfully bound.

Returns:

  • (Boolean)


16
17
18
# File 'bedrock_agent_core/target_configuration_config.rb', line 16

def bound
  @bound
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'bedrock_agent_core/target_configuration_config.rb', line 18

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

Instance Method Details

#to_jsiiObject



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

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