Class CfnAgent.FunctionSchemaProperty
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAgent.FunctionSchemaProperty : CfnAgent.IFunctionSchemaProperty
Syntax (vb)
Public Class CfnAgent.FunctionSchemaProperty Implements CfnAgent.IFunctionSchemaProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 functionSchemaProperty = new FunctionSchemaProperty {
Functions = new [] { new FunctionProperty {
Name = "name",
// the properties below are optional
Description = "description",
Parameters = new Dictionary<string, object> {
{ "parametersKey", new ParameterDetailProperty {
Type = "type",
// the properties below are optional
Description = "description",
Required = false
} }
},
RequireConfirmation = "requireConfirmation"
} }
};
Synopsis
Constructors
| FunctionSchemaProperty() | Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema. |
Properties
| Functions | A list of functions that each define an action in the action group. |
Constructors
FunctionSchemaProperty()
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
public FunctionSchemaProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 functionSchemaProperty = new FunctionSchemaProperty {
Functions = new [] { new FunctionProperty {
Name = "name",
// the properties below are optional
Description = "description",
Parameters = new Dictionary<string, object> {
{ "parametersKey", new ParameterDetailProperty {
Type = "type",
// the properties below are optional
Description = "description",
Required = false
} }
},
RequireConfirmation = "requireConfirmation"
} }
};
Properties
Functions
A list of functions that each define an action in the action group.
public object Functions { get; set; }