Class BedrockInvokeModelProps.Jsii$Proxy
- All Implemented Interfaces:
AssignableStateOptions,JsonataCommonOptions,JsonPathCommonOptions,StateBaseProps,BedrockInvokeModelProps,TaskStateBaseOptions,TaskStateBaseProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
BedrockInvokeModelProps
BedrockInvokeModelProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.tasks.BedrockInvokeModelProps
BedrockInvokeModelProps.Builder, BedrockInvokeModelProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theBedrockInvokeModelProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe desired MIME type of the inference body in the response.Workflow variables to store in this step.final TaskInputgetBody()The input data for the Bedrock model invocation.final StringA comment describing this state.final String(deprecated) The MIME type of the input data in the request.final CredentialsCredentials for an IAM Role that the State Machine assumes for executing the task.final GuardrailThe guardrail is applied to the invocation.final Duration(deprecated) Timeout for the heartbeat.final TimeoutTimeout for the heartbeat.getInput()The source location to retrieve the input data from.final StringJSONPath expression to select part of the state to be the input to this state.final IntegrationPatternAWS Step Functions integrates with services directly in the Amazon States Language.final IModelgetModel()The Bedrock model that the task will invoke.The destination location where the API response is written.final StringJSONPath expression to select part of the state to be the output to this state.final ObjectUsed to specify and transform output from the state.final QueryLanguageThe name of the query language used by the state.final StringJSONPath expression to indicate where to inject the state's output.The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.final StringOptional name for this state.final TimeoutTimeout for the task.final Duration(deprecated) Timeout for the task.final BooleanSpecifies whether to enable or disable the Bedrock trace.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theBedrockInvokeModelProps.Builder.
-
-
Method Details
-
getModel
Description copied from interface:BedrockInvokeModelPropsThe Bedrock model that the task will invoke.- Specified by:
getModelin interfaceBedrockInvokeModelProps- See Also:
-
getAccept
Description copied from interface:BedrockInvokeModelPropsThe desired MIME type of the inference body in the response.Default: 'application/json'
- Specified by:
getAcceptin interfaceBedrockInvokeModelProps- See Also:
-
getBody
Description copied from interface:BedrockInvokeModelPropsThe input data for the Bedrock model invocation.The inference parameters contained in the body depend on the Bedrock model being used.
The body must be in the format specified in the
contentTypefield. For example, if the content type isapplication/json, the body must be JSON formatted.The body must be up to 256 KB in size. For input data that exceeds 256 KB, use
inputinstead to retrieve the input data from S3.You must specify either the
bodyor theinputfield, but not both.Default: - Input data is retrieved from the location specified in the `input` field
- Specified by:
getBodyin interfaceBedrockInvokeModelProps- See Also:
-
getContentType
Description copied from interface:BedrockInvokeModelProps(deprecated) The MIME type of the input data in the request.Default: 'application/json'
- Specified by:
getContentTypein interfaceBedrockInvokeModelProps- See Also:
-
getGuardrail
Description copied from interface:BedrockInvokeModelPropsThe guardrail is applied to the invocation.Default: - No guardrail is applied to the invocation.
- Specified by:
getGuardrailin interfaceBedrockInvokeModelProps
-
getInput
Description copied from interface:BedrockInvokeModelPropsThe source location to retrieve the input data from.Default: - Input data is retrieved from the `body` field
- Specified by:
getInputin interfaceBedrockInvokeModelProps
-
getOutput
Description copied from interface:BedrockInvokeModelPropsThe destination location where the API response is written.If you specify this field, the API response body is replaced with a reference to the output location.
Default: - The API response body is returned in the result.
- Specified by:
getOutputin interfaceBedrockInvokeModelProps
-
getTraceEnabled
Description copied from interface:BedrockInvokeModelPropsSpecifies whether to enable or disable the Bedrock trace.Default: - Trace is not enabled for the invocation.
- Specified by:
getTraceEnabledin interfaceBedrockInvokeModelProps
-
getResultPath
Description copied from interface:TaskStateBasePropsJSONPath expression to indicate where to inject the state's output.May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: $
- Specified by:
getResultPathin interfaceTaskStateBaseProps
-
getResultSelector
Description copied from interface:TaskStateBasePropsThe JSON that will replace the state's raw result and become the effective result before ResultPath is applied.You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
- Specified by:
getResultSelectorin interfaceTaskStateBaseProps- See Also:
-
getComment
Description copied from interface:StateBasePropsA comment describing this state.Default: No comment
- Specified by:
getCommentin interfaceStateBaseProps
-
getQueryLanguage
Description copied from interface:StateBasePropsThe name of the query language used by the state.If the state does not contain a
queryLanguagefield, then it will use the query language specified in the top-levelqueryLanguagefield.Default: - JSONPath
- Specified by:
getQueryLanguagein interfaceStateBaseProps
-
getStateName
Description copied from interface:StateBasePropsOptional name for this state.Default: - The construct ID will be used as state name
- Specified by:
getStateNamein interfaceStateBaseProps
-
getCredentials
Description copied from interface:TaskStateBaseOptionsCredentials for an IAM Role that the State Machine assumes for executing the task.This enables cross-account resource invocations.
Default: - None (Task is executed using the State Machine's execution role)
- Specified by:
getCredentialsin interfaceTaskStateBaseOptions- See Also:
-
getHeartbeat
Description copied from interface:TaskStateBaseOptions(deprecated) Timeout for the heartbeat.Default: - None
- Specified by:
getHeartbeatin interfaceTaskStateBaseOptions
-
getHeartbeatTimeout
Description copied from interface:TaskStateBaseOptionsTimeout for the heartbeat.[disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface
Default: - None
- Specified by:
getHeartbeatTimeoutin interfaceTaskStateBaseOptions
-
getIntegrationPattern
Description copied from interface:TaskStateBaseOptionsAWS Step Functions integrates with services directly in the Amazon States Language.You can control these AWS services using service integration patterns.
Depending on the AWS Service, the Service Integration Pattern availability will vary.
Default: - `IntegrationPattern.REQUEST_RESPONSE` for most tasks. `IntegrationPattern.RUN_JOB` for the following exceptions: `BatchSubmitJob`, `EmrAddStep`, `EmrCreateCluster`, `EmrTerminationCluster`, and `EmrContainersStartJobRun`.
- Specified by:
getIntegrationPatternin interfaceTaskStateBaseOptions- See Also:
-
getTaskTimeout
Description copied from interface:TaskStateBaseOptionsTimeout for the task.[disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface
Default: - None
- Specified by:
getTaskTimeoutin interfaceTaskStateBaseOptions
-
getTimeout
Description copied from interface:TaskStateBaseOptions(deprecated) Timeout for the task.Default: - None
- Specified by:
getTimeoutin interfaceTaskStateBaseOptions
-
getAssign
Description copied from interface:AssignableStateOptionsWorkflow variables to store in this step.Using workflow variables, you can store data in a step and retrieve that data in future steps.
Default: - Not assign variables
- Specified by:
getAssignin interfaceAssignableStateOptions- See Also:
-
getInputPath
Description copied from interface:JsonPathCommonOptionsJSONPath expression to select part of the state to be the input to this state.May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: $
- Specified by:
getInputPathin interfaceJsonPathCommonOptions
-
getOutputPath
Description copied from interface:JsonPathCommonOptionsJSONPath expression to select part of the state to be the output to this state.May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: $
- Specified by:
getOutputPathin interfaceJsonPathCommonOptions
-
getOutputs
Description copied from interface:JsonataCommonOptionsUsed to specify and transform output from the state.When specified, the value overrides the state output default. The output field accepts any JSON value (object, array, string, number, boolean, null). Any string value, including those inside objects or arrays, will be evaluated as JSONata if surrounded by {% %} characters. Output also accepts a JSONata expression directly.
Default: - $states.result or $states.errorOutput
- Specified by:
getOutputsin interfaceJsonataCommonOptions- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-