Interface BedrockInvokeModelJsonataProps

All Superinterfaces:
AssignableStateOptions, software.amazon.jsii.JsiiSerializable, JsonataCommonOptions, StateBaseProps, TaskStateBaseOptions, TaskStateJsonataBaseProps
All Known Implementing Classes:
BedrockInvokeModelJsonataProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.109.0 (build c221850)", date="2025-03-14T03:25:06.183Z") @Stability(Stable) public interface BedrockInvokeModelJsonataProps extends software.amazon.jsii.JsiiSerializable, TaskStateJsonataBaseProps
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 outputs;
 TaskInput taskInput;
 TaskRole taskRole;
 Timeout timeout;
 BedrockInvokeModelJsonataProps bedrockInvokeModelJsonataProps = BedrockInvokeModelJsonataProps.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())
         .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())
         .outputs(outputs)
         .queryLanguage(QueryLanguage.JSON_PATH)
         .stateName("stateName")
         .taskTimeout(timeout)
         .timeout(Duration.minutes(30))
         .traceEnabled(false)
         .build();