Class: AWSCDK::Bedrock::CfnAgent::ActionGroupExecutorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnAgent::ActionGroupExecutorProperty
- Defined in:
- bedrock/cfn_agent.rb
Overview
Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
Instance Attribute Summary collapse
-
#custom_control ⇒ String?
readonly
To return the action group invocation results directly in the
InvokeInlineAgentresponse, specifyRETURN_CONTROL. -
#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(custom_control: nil, lambda: nil) ⇒ ActionGroupExecutorProperty
constructor
A new instance of ActionGroupExecutorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_control: nil, lambda: nil) ⇒ ActionGroupExecutorProperty
Returns a new instance of ActionGroupExecutorProperty.
923 924 925 926 927 928 |
# File 'bedrock/cfn_agent.rb', line 923 def initialize(custom_control: nil, lambda: nil) @custom_control = custom_control Jsii::Type.check_type(@custom_control, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customControl") unless @custom_control.nil? @lambda = lambda Jsii::Type.check_type(@lambda, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lambda") unless @lambda.nil? end |
Instance Attribute Details
#custom_control ⇒ String? (readonly)
To return the action group invocation results directly in the InvokeInlineAgent response, specify RETURN_CONTROL .
934 935 936 |
# File 'bedrock/cfn_agent.rb', line 934 def custom_control @custom_control end |
#lambda ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
939 940 941 |
# File 'bedrock/cfn_agent.rb', line 939 def lambda @lambda end |
Class Method Details
.jsii_properties ⇒ Object
941 942 943 944 945 946 |
# File 'bedrock/cfn_agent.rb', line 941 def self.jsii_properties { :custom_control => "customControl", :lambda => "lambda", } end |
Instance Method Details
#to_jsii ⇒ Object
948 949 950 951 952 953 954 955 |
# File 'bedrock/cfn_agent.rb', line 948 def to_jsii result = {} result.merge!({ "customControl" => @custom_control, "lambda" => @lambda, }) result.compact end |