Interface CfnAgent.FunctionSchemaProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAgent.FunctionSchemaProperty.Jsii$Proxy
- Enclosing class:
CfnAgent
@Stability(Stable)
public static interface CfnAgent.FunctionSchemaProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
Example:
// 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.*;
FunctionSchemaProperty functionSchemaProperty = FunctionSchemaProperty.builder()
.functions(List.of(FunctionProperty.builder()
.name("name")
// the properties below are optional
.description("description")
.parameters(Map.of(
"parametersKey", ParameterDetailProperty.builder()
.type("type")
// the properties below are optional
.description("description")
.required(false)
.build()))
.requireConfirmation("requireConfirmation")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAgent.FunctionSchemaPropertystatic final classAn implementation forCfnAgent.FunctionSchemaProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of functions that each define an action in the action group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctions
A list of functions that each define an action in the action group.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAgent.FunctionProperty>- See Also:
-
builder
-