interface BedrockInvokeModelOutputProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.BedrockInvokeModelOutputProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#BedrockInvokeModelOutputProps |
Java | software.amazon.awscdk.services.stepfunctions.tasks.BedrockInvokeModelOutputProps |
Python | aws_cdk.aws_stepfunctions_tasks.BedrockInvokeModelOutputProps |
TypeScript (source) | aws-cdk-lib » aws_stepfunctions_tasks » BedrockInvokeModelOutputProps |
Location where the Bedrock InvokeModel API response is written.
See also: https://docs.aws.amazon.com/step-functions/latest/dg/connect-bedrock.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const bedrockInvokeModelOutputProps: stepfunctions_tasks.BedrockInvokeModelOutputProps = {
s3Location: {
bucketName: 'bucketName',
objectKey: 'objectKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
};
Properties
Name | Type | Description |
---|---|---|
s3 | Location | S3 object where the Bedrock InvokeModel API response is written. |
s3Location?
Type:
Location
(optional, default: Response body is returned in the task result)
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.