Enum StreamDeliveryContentLevel

java.lang.Object
java.lang.Enum<StreamDeliveryContentLevel>
software.amazon.awscdk.services.bedrockagentcore.StreamDeliveryContentLevel
All Implemented Interfaces:
Serializable, Comparable<StreamDeliveryContentLevel>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-08-13T16:20:01.339Z") @Stability(Stable) public enum StreamDeliveryContentLevel extends Enum<StreamDeliveryContentLevel>
Content detail level for stream delivery.

Controls how much detail is included in each delivered record.

Example:

 Stream stream = new Stream(this, "MemoryEventStream");
 Memory memory = Memory.Builder.create(this, "MemoryWithStreamDelivery")
         .memoryName("memory_with_stream")
         .streamDeliveryResources(List.of(StreamDeliveryResource.kinesis(stream, KinesisStreamDeliveryOptions.builder()
                 .contentConfigurations(List.of(StreamDeliveryContentConfiguration.builder()
                         .type(StreamDeliveryContentType.MEMORY_RECORDS)
                         // Streams complete memory record bodies, which may include sensitive data
                         .level(StreamDeliveryContentLevel.FULL_CONTENT)
                         .build()))
                 .build())))
         .build();
 
  • Enum Constant Details

    • METADATA_ONLY

      @Stability(Stable) public static final StreamDeliveryContentLevel METADATA_ONLY
      Deliver only metadata (record ID, timestamps, event type).
    • FULL_CONTENT

      @Stability(Stable) public static final StreamDeliveryContentLevel FULL_CONTENT
      Deliver full content including the memory record body.
  • Method Details

    • values

      public static StreamDeliveryContentLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static StreamDeliveryContentLevel valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null