Class: AWSCDK::Bedrock::CfnAgent::CustomOrchestrationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_agent.rb

Overview

Contains details of the custom orchestration configured for the agent.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(executor: nil) ⇒ CustomOrchestrationProperty

Returns a new instance of CustomOrchestrationProperty.

Parameters:



1224
1225
1226
1227
# File 'bedrock/cfn_agent.rb', line 1224

def initialize(executor: nil)
  @executor = executor.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnAgent::OrchestrationExecutorProperty.new(**executor.transform_keys(&:to_sym)) : executor
  Jsii::Type.check_type(@executor, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkFnZW50Lk9yY2hlc3RyYXRpb25FeGVjdXRvclByb3BlcnR5In1dfX0=")), "executor") unless @executor.nil?
end

Instance Attribute Details

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

The structure of the executor invoking the actions in custom orchestration.



1233
1234
1235
# File 'bedrock/cfn_agent.rb', line 1233

def executor
  @executor
end

Class Method Details

.jsii_propertiesObject



1235
1236
1237
1238
1239
# File 'bedrock/cfn_agent.rb', line 1235

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

Instance Method Details

#to_jsiiObject



1241
1242
1243
1244
1245
1246
1247
# File 'bedrock/cfn_agent.rb', line 1241

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