BedrockInvokeModelInputProps
- class aws_cdk.aws_stepfunctions_tasks.BedrockInvokeModelInputProps(*, s3_location=None)
Bases:
object
Location to retrieve the input data, prior to calling Bedrock InvokeModel.
- Parameters:
s3_location (
Union
[Location
,Dict
[str
,Any
],None
]) – S3 object to retrieve the input data from. If the S3 location is not set, then the Body must be set. Default: Input data is retrieved from thebody
field- 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_input_props = stepfunctions_tasks.BedrockInvokeModelInputProps( s3_location=Location( bucket_name="bucketName", object_key="objectKey", # the properties below are optional object_version="objectVersion" ) )
Attributes
- s3_location
S3 object to retrieve the input data from.
If the S3 location is not set, then the Body must be set.
- Default:
Input data is retrieved from the
body
field