ActionGroupExecutorProperty
Struct External
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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const actionGroupExecutorProperty: bedrock.CfnAgent.ActionGroupExecutorProperty = {
customControl: 'customControl',
lambda: 'lambda',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
action_group_executor_property = bedrock.CfnAgent.ActionGroupExecutorProperty(
custom_control="customControl",
lambda_="lambda"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
ActionGroupExecutorProperty actionGroupExecutorProperty = ActionGroupExecutorProperty.builder()
.customControl("customControl")
.lambda("lambda")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var actionGroupExecutorProperty = new ActionGroupExecutorProperty {
CustomControl = "customControl",
Lambda = "lambda"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
actionGroupExecutorProperty := &ActionGroupExecutorProperty{
CustomControl: jsii.String("customControl"),
Lambda: jsii.String("lambda"),
}
Properties
customControloptionalstringcustom_controloptionalstrcustomControloptionalStringCustomControloptionalstringCustomControloptional*string #To return the action group invocation results directly in the `InvokeInlineAgent` response, specify `RETURN_CONTROL` .
lambdaoptionalstringlambdaoptionalstrlambdaoptionalStringLambdaoptionalstringLambdaoptional*string #The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.