StreamDeliveryContentConfiguration

class aws_cdk.aws_bedrockagentcore.StreamDeliveryContentConfiguration(*, level, type)

Bases: object

Content configuration for a stream delivery resource.

Defines what content type and detail level to deliver.

Parameters:
  • level (StreamDeliveryContentLevel) – The level of content detail to deliver. There is no default: the level must be chosen explicitly because FULL_CONTENT delivers complete memory record bodies, which can contain personally identifiable information and other sensitive conversation content. Use METADATA_ONLY unless the record body is required downstream.

  • type (StreamDeliveryContentType) – The type of content to deliver.

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_bedrockagentcore as bedrockagentcore

stream_delivery_content_configuration = bedrockagentcore.StreamDeliveryContentConfiguration(
    level=bedrockagentcore.StreamDeliveryContentLevel.METADATA_ONLY,
    type=bedrockagentcore.StreamDeliveryContentType.MEMORY_RECORDS
)

Attributes

level

The level of content detail to deliver.

There is no default: the level must be chosen explicitly because FULL_CONTENT delivers complete memory record bodies, which can contain personally identifiable information and other sensitive conversation content. Use METADATA_ONLY unless the record body is required downstream.

type

The type of content to deliver.