interface ContentBlockProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnPromptPropsMixin.ContentBlockProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnPromptPropsMixin_ContentBlockProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnPromptPropsMixin.ContentBlockProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnPromptPropsMixin.ContentBlockProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » 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 { aws_bedrock as bedrock } from '@aws-cdk/cfn-property-mixins';
const contentBlockProperty: bedrock.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