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

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-02T21:55:36.042Z") @Stability(Experimental) public enum AdMarkerHls extends Enum<AdMarkerHls>
(experimental) Choose how SCTE-35 ad markers are included in HLS and LL-HLS manifests.

Example:

 Channel channel;
 OriginEndpoint.Builder.create(this, "Endpoint")
         .channel(channel)
         .segment(Segment.cmaf())
         .manifests(List.of(Manifest.hls(HlsManifestConfiguration.builder()
                 .manifestName("index")
                 .manifestWindow(Duration.seconds(60))
                 .programDateTimeInterval(Duration.seconds(60))
                 .scteAdMarkerHls(AdMarkerHls.DATERANGE)
                 .build())))
         .build();
 
  • Enum Constant Details

    • DATERANGE

      @Stability(Experimental) public static final AdMarkerHls DATERANGE
      (experimental) Insert EXT-X-DATERANGE tags to signal ad content.
    • SCTE35_ENHANCED

      @Stability(Experimental) public static final AdMarkerHls SCTE35_ENHANCED
      (experimental) Insert enhanced SCTE-35 tags for ad content.
  • Method Details

    • values

      public static AdMarkerHls[] 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 AdMarkerHls 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