interface ContentBlockProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnPromptPropsMixin.ContentBlockProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnPromptPropsMixin_ContentBlockProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnPromptPropsMixin.ContentBlockProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnPromptPropsMixin.ContentBlockProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnPromptPropsMixin » ContentBlockProperty |
A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const contentBlockProperty: bedrock_mixins.CfnPromptPropsMixin.ContentBlockProperty = {
cachePoint: {
type: 'type',
},
text: 'text',
};
Properties
| Name | Type | Description |
|---|---|---|
| cache | IResolvable | Cache | CachePoint to include in the message. |
| text? | string | Text to include in the message. |
cachePoint?
Type:
IResolvable | Cache
(optional)
CachePoint to include in the message.
text?
Type:
string
(optional)
Text to include in the message.

.NET
Go
Java
Python
TypeScript