Interface BedrockInvokeModelJsonPathProps

All Superinterfaces:
AssignableStateOptions, software.amazon.jsii.JsiiSerializable, JsonPathCommonOptions, StateBaseProps, TaskStateBaseOptions, TaskStateJsonPathBaseProps
All Known Implementing Classes:
BedrockInvokeModelJsonPathProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.109.0 (build c221850)", date="2025-03-19T18:01:43.297Z") @Stability(Stable) public interface BedrockInvokeModelJsonPathProps extends software.amazon.jsii.JsiiSerializable, TaskStateJsonPathBaseProps
Properties for invoking a Bedrock Model.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.bedrock.*;
 import software.amazon.awscdk.services.stepfunctions.*;
 import software.amazon.awscdk.services.stepfunctions.tasks.*;
 Object assign;
 Guardrail guardrail;
 IModel model;
 Object resultSelector;
 TaskInput taskInput;
 TaskRole taskRole;
 Timeout timeout;
 BedrockInvokeModelJsonPathProps bedrockInvokeModelJsonPathProps = BedrockInvokeModelJsonPathProps.builder()
         .model(model)
         // the properties below are optional
         .accept("accept")
         .assign(Map.of(
                 "assignKey", assign))
         .body(taskInput)
         .comment("comment")
         .contentType("contentType")
         .credentials(Credentials.builder()
                 .role(taskRole)
                 .build())
         .guardrail(guardrail)
         .heartbeat(Duration.minutes(30))
         .heartbeatTimeout(timeout)
         .input(BedrockInvokeModelInputProps.builder()
                 .s3InputUri("s3InputUri")
                 .s3Location(Location.builder()
                         .bucketName("bucketName")
                         .objectKey("objectKey")
                         // the properties below are optional
                         .objectVersion("objectVersion")
                         .build())
                 .build())
         .inputPath("inputPath")
         .integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
         .output(BedrockInvokeModelOutputProps.builder()
                 .s3Location(Location.builder()
                         .bucketName("bucketName")
                         .objectKey("objectKey")
                         // the properties below are optional
                         .objectVersion("objectVersion")
                         .build())
                 .s3OutputUri("s3OutputUri")
                 .build())
         .outputPath("outputPath")
         .queryLanguage(QueryLanguage.JSON_PATH)
         .resultPath("resultPath")
         .resultSelector(Map.of(
                 "resultSelectorKey", resultSelector))
         .stateName("stateName")
         .taskTimeout(timeout)
         .timeout(Duration.minutes(30))
         .traceEnabled(false)
         .build();