# 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: Generated at build time
- Type last changed: v2.143.0 · 24 May 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `customControl`: string — To return the action group invocation results directly in the `InvokeInlineAgent` response, specify `RETURN_CONTROL` .

- `lambda`: string — The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
