Class: AWSCDK::Bedrock::CfnAgent::OrchestrationExecutorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnAgent::OrchestrationExecutorProperty
- Defined in:
- bedrock/cfn_agent.rb
Overview
The structure of the executor invoking the actions in custom orchestration.
Instance Attribute Summary collapse
-
#lambda ⇒ String
readonly
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(lambda:) ⇒ OrchestrationExecutorProperty
constructor
A new instance of OrchestrationExecutorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(lambda:) ⇒ OrchestrationExecutorProperty
Returns a new instance of OrchestrationExecutorProperty.
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
#lambda ⇒ String (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_properties ⇒ Object
1557 1558 1559 1560 1561 |
# File 'bedrock/cfn_agent.rb', line 1557 def self.jsii_properties { :lambda => "lambda", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |