Skip to content
v2.274.0

KinesisStreamDeliveryOptions Struct ​

Options for delivering memory record events to a Kinesis Data Stream.

Example ​

ts
const stream = new kinesis.Stream(this, 'MemoryEventStream');

const memory = new agentcore.Memory(this, 'MemoryWithStreamDelivery', {
  memoryName: 'memory_with_stream',
  streamDeliveryResources: [
    agentcore.StreamDeliveryResource.kinesis(stream, {
      contentConfigurations: [
        {
          type: agentcore.StreamDeliveryContentType.MEMORY_RECORDS,
          // Streams complete memory record bodies, which may include sensitive data
          level: agentcore.StreamDeliveryContentLevel.FULL_CONTENT,
        },
      ],
    }),
  ],
});

Properties ​

contentConfigurationsStreamDeliveryContentConfiguration[]content_configurationstyping.List[StreamDeliveryContentConfiguration]contentConfigurationsList<StreamDeliveryContentConfiguration>ContentConfigurationsStreamDeliveryContentConfiguration[]ContentConfigurations*[]StreamDeliveryContentConfigurationrequired#
Content configurations defining what to deliver to the stream.

Currently exactly one configuration is supported.