Interface CfnAgentPropsMixin.FunctionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAgentPropsMixin.FunctionProperty.Jsii$Proxy
- Enclosing class:
CfnAgentPropsMixin
@Stability(Stable)
public static interface CfnAgentPropsMixin.FunctionProperty
extends software.amazon.jsii.JsiiSerializable
Defines parameters that the agent needs to invoke from the user to complete the function.
Corresponds to an action in an action group.
This data type is used in the following API operations:
- CreateAgentActionGroup request
- CreateAgentActionGroup response
- UpdateAgentActionGroup request
- UpdateAgentActionGroup response
- GetAgentActionGroup response
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrock.*;
FunctionProperty functionProperty = FunctionProperty.builder()
.description("description")
.name("name")
.parameters(Map.of(
"parametersKey", ParameterDetailProperty.builder()
.description("description")
.required(false)
.type("type")
.build()))
.requireConfirmation("requireConfirmation")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAgentPropsMixin.FunctionPropertystatic final classAn implementation forCfnAgentPropsMixin.FunctionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA description of the function and its purpose.default StringgetName()A name for the function.default ObjectThe parameters that the agent elicits from the user to fulfill the function.default StringContains information if user confirmation is required to invoke the function.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
A description of the function and its purpose.- See Also:
-
getName
A name for the function.- See Also:
-
getParameters
The parameters that the agent elicits from the user to fulfill the function.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnAgentPropsMixin.ParameterDetailProperty>- See Also:
-
getRequireConfirmation
Contains information if user confirmation is required to invoke the function.- See Also:
-
builder
-