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.112.0 (build de1bc80)", date="2025-07-16T11:43:25.126Z") @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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    (experimental) A fluent builder for Function.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    Function(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Function(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) Description of the function.
    (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, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      @Stability(Experimental) public Function(@NotNull FunctionProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • getDescription

      @Stability(Experimental) @NotNull public String getDescription()
      (experimental) Description of the function.
    • getName

      @Stability(Experimental) @NotNull public String getName()
      (experimental) The name of the function.
    • getParameters

      @Stability(Experimental) @NotNull public Map<String,FunctionParameter> getParameters()
      (experimental) Parameters for the function.
    • getRequireConfirmation

      @Stability(Experimental) @NotNull public RequireConfirmation getRequireConfirmation()
      (experimental) Whether to require confirmation before executing the function.