Class: AWSCDK::Bedrock::CfnAgent::OrchestrationExecutorProperty

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

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lambda:) ⇒ OrchestrationExecutorProperty

Returns a new instance of OrchestrationExecutorProperty.

Parameters:

  • lambda (String)

    The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.



1546
1547
1548
1549
# File 'bedrock/cfn_agent.rb', line 1546

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

Instance Attribute Details

#lambdaString (readonly)

The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.



1555
1556
1557
# File 'bedrock/cfn_agent.rb', line 1555

def lambda
  @lambda
end

Class Method Details

.jsii_propertiesObject



1557
1558
1559
1560
1561
# File 'bedrock/cfn_agent.rb', line 1557

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

Instance Method Details

#to_jsiiObject



1563
1564
1565
1566
1567
1568
1569
# File 'bedrock/cfn_agent.rb', line 1563

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