CustomOrchestrationProperty
Struct External
Contains details of the custom orchestration configured for the agent.
| 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 customOrchestrationProperty: bedrock.CfnAgent.CustomOrchestrationProperty = {
executor: {
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
custom_orchestration_property = bedrock.CfnAgent.CustomOrchestrationProperty(
executor=bedrock.CfnAgent.OrchestrationExecutorProperty(
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.*;
CustomOrchestrationProperty customOrchestrationProperty = CustomOrchestrationProperty.builder()
.executor(OrchestrationExecutorProperty.builder()
.lambda("lambda")
.build())
.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 customOrchestrationProperty = new CustomOrchestrationProperty {
Executor = new OrchestrationExecutorProperty {
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"
customOrchestrationProperty := &CustomOrchestrationProperty{
Executor: &OrchestrationExecutorProperty{
Lambda: jsii.String("lambda"),
},
}
Properties
executoroptionalIResolvable | CfnAgent.executoroptionaltyping.Union[IResolvable, OrchestrationExecutorProperty]executoroptionalIResolvableExecutoroptionalIResolvableExecutoroptionalinterface{} #The structure of the executor invoking the actions in custom orchestration.