Skip to content

Bedrock Agent  >  Unions  >  ContentBlock

ContentBlock

Union Type

ContentBlock module-attribute

Contains the content for the message you pass to, or receive from a model. For more information, see Create a prompt using Prompt management.

Union Member Types

ContentBlockText dataclass

The text in the message.

Attributes

value instance-attribute
value: str

ContentBlockCachePoint dataclass

Creates a cache checkpoint within a message.

Attributes

value instance-attribute

ContentBlockUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str