ContentBlockProperty Struct
A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const contentBlockProperty: bedrock.CfnPrompt.ContentBlockProperty = {
cachePoint: {
type: 'type',
},
text: 'text',
};
Properties
cachePointIResolvable | CfnPrompt.CachePointBlockPropertycache_pointtyping.Union[IResolvable, CachePointBlockProperty]cachePointIResolvableCachePointIResolvableCachePointinterface{}#CachePoint to include in the message.
Text to include in the message.