BedrockInvokeModelOutputProps
- class aws_cdk.aws_stepfunctions_tasks.BedrockInvokeModelOutputProps(*, s3_location=None)
Bases:
object
Location where the Bedrock InvokeModel API response is written.
- Parameters:
s3_location (
Union
[Location
,Dict
[str
,Any
],None
]) – S3 object where the Bedrock InvokeModel API response is written. If you specify this field, the API response body is replaced with a reference to the Amazon S3 location of the original output. Default: Response body is returned in the task result- See:
https://docs.aws.amazon.com/step-functions/latest/dg/connect-bedrock.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks bedrock_invoke_model_output_props = stepfunctions_tasks.BedrockInvokeModelOutputProps( s3_location=Location( bucket_name="bucketName", object_key="objectKey", # the properties below are optional object_version="objectVersion" ) )
Attributes
- s3_location
S3 object where the Bedrock InvokeModel API response is written.
If you specify this field, the API response body is replaced with a reference to the Amazon S3 location of the original output.
- Default:
Response body is returned in the task result