Interface CfnGatewayTarget.ToolDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayTarget.ToolDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayTarget
@Stability(Stable)
public static interface CfnGatewayTarget.ToolDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
The tool definition for the gateway.
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.bedrockagentcore.*;
SchemaDefinitionProperty schemaDefinitionProperty_;
ToolDefinitionProperty toolDefinitionProperty = ToolDefinitionProperty.builder()
.description("description")
.inputSchema(SchemaDefinitionProperty.builder()
.type("type")
// the properties below are optional
.description("description")
.items(schemaDefinitionProperty_)
.properties(Map.of(
"propertiesKey", schemaDefinitionProperty_))
.required(List.of("required"))
.build())
.name("name")
// the properties below are optional
.outputSchema(SchemaDefinitionProperty.builder()
.type("type")
// the properties below are optional
.description("description")
.items(schemaDefinitionProperty_)
.properties(Map.of(
"propertiesKey", schemaDefinitionProperty_))
.required(List.of("required"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayTarget.ToolDefinitionPropertystatic final classAn implementation forCfnGatewayTarget.ToolDefinitionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
- See Also:
-
getInputSchema
The input schema for the gateway target.Returns union: either
IResolvableorCfnGatewayTarget.SchemaDefinitionProperty- See Also:
-
getName
The tool name.- See Also:
-
getOutputSchema
The tool definition output schema for the gateway target.Returns union: either
IResolvableorCfnGatewayTarget.SchemaDefinitionProperty- See Also:
-
builder
-