Skip to content
v2.274.0

StreamDeliveryContentConfiguration Struct ​

Content configuration for a stream delivery resource.

Defines what content type and detail level to deliver.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const streamDeliveryContentConfiguration: bedrockagentcore.StreamDeliveryContentConfiguration = {
  level: bedrockagentcore.StreamDeliveryContentLevel.METADATA_ONLY,
  type: bedrockagentcore.StreamDeliveryContentType.MEMORY_RECORDS,
};

Properties ​

The level of content detail to deliver.
notes

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.