Class Function
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.alpha.Function
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:17.905Z")
@Stability(Experimental)
public class Function
extends software.amazon.jsii.JsiiObject
(experimental) Represents a function in a function 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.alpha.*;
Function function_ = Function.Builder.create()
.description("description")
.name("name")
// the properties below are optional
.parameters(Map.of(
"parametersKey", FunctionParameterProps.builder()
.type(ParameterType.STRING)
// the properties below are optional
.description("description")
.required(false)
.build()))
.requireConfirmation(RequireConfirmation.ENABLED)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forFunction.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionFunction(FunctionProps props) protectedFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedFunction(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Description of the function.getName()(experimental) The name of the function.(experimental) Parameters for the function.(experimental) Whether to require confirmation before executing the function.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Function
protected Function(software.amazon.jsii.JsiiObjectRef objRef) -
Function
protected Function(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Function
- Parameters:
props- This parameter is required.
-
-
Method Details
-
getDescription
(experimental) Description of the function. -
getName
(experimental) The name of the function. -
getParameters
(experimental) Parameters for the function. -
getRequireConfirmation
(experimental) Whether to require confirmation before executing the function.
-