Interface BedrockInvokeModelProps

All Superinterfaces:
AssignableStateOptions, software.amazon.jsii.JsiiSerializable, JsonataCommonOptions, JsonPathCommonOptions, StateBaseProps, TaskStateBaseOptions, TaskStateBaseProps
All Known Implementing Classes:
BedrockInvokeModelProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-06-03T14:45:00.455Z") @Stability(Stable) public interface BedrockInvokeModelProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for invoking a Bedrock Model.

Example:

 import software.amazon.awscdk.services.bedrock.*;
 FoundationModel model = FoundationModel.fromFoundationModelId(this, "Model", FoundationModelIdentifier.AMAZON_TITAN_TEXT_G1_EXPRESS_V1);
 BedrockInvokeModel task = BedrockInvokeModel.Builder.create(this, "Prompt Model")
         .model(model)
         .body(TaskInput.fromObject(Map.of(
                 "inputText", "Generate a list of five first names.",
                 "textGenerationConfig", Map.of(
                         "maxTokenCount", 100,
                         "temperature", 1))))
         .resultSelector(Map.of(
                 "names", JsonPath.stringAt("$.Body.results[0].outputText")))
         .build();