interface BedrockInvokeModelInputProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.BedrockInvokeModelInputProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#BedrockInvokeModelInputProps |
Java | software.amazon.awscdk.services.stepfunctions.tasks.BedrockInvokeModelInputProps |
Python | aws_cdk.aws_stepfunctions_tasks.BedrockInvokeModelInputProps |
TypeScript (source) | aws-cdk-lib » aws_stepfunctions_tasks » BedrockInvokeModelInputProps |
Location to retrieve the input data, prior to calling Bedrock InvokeModel.
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 bedrockInvokeModelInputProps: stepfunctions_tasks.BedrockInvokeModelInputProps = {
s3Location: {
bucketName: 'bucketName',
objectKey: 'objectKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
};
Properties
Name | Type | Description |
---|---|---|
s3 | Location | S3 object to retrieve the input data from. |
s3Location?
Type:
Location
(optional, default: Input data is retrieved from the body
field)
S3 object to retrieve the input data from.
If the S3 location is not set, then the Body must be set.