Interface CfnGatewayTarget.ToolSchemaProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayTarget.ToolSchemaProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayTarget
@Stability(Stable)
public static interface CfnGatewayTarget.ToolSchemaProperty
extends software.amazon.jsii.JsiiSerializable
The tool schema for the gateway target.
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_;
ToolSchemaProperty toolSchemaProperty = ToolSchemaProperty.builder()
.inlinePayload(List.of(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()))
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayTarget.ToolSchemaPropertystatic final classAn implementation forCfnGatewayTarget.ToolSchemaProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInlinePayload
The inline payload for the gateway target.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayTarget.ToolDefinitionProperty>- See Also:
-
getS3
The S3 tool schema for the gateway target.Returns union: either
IResolvableorCfnGatewayTarget.S3ConfigurationProperty- See Also:
-
builder
-