Interface IsmSpekeEncryptionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IsmSpekeEncryptionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-02T09:32:03.720Z") @Stability(Experimental) public interface IsmSpekeEncryptionProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for ISM SPEKE encryption configuration.

ISM only supports CENC encryption with PlayReady DRM. Key rotation and constant initialization vectors are not supported. Audio and video presets default to SHARED.

Example:

 Channel channel;
 IRole spekeRole;
 OriginEndpoint.Builder.create(this, "IsmEndpoint")
         .channel(channel)
         .segment(Segment.ism(IsmSegmentProps.builder()
                 .encryption(IsmEncryption.speke(IsmSpekeEncryptionProps.builder()
                         .resourceId("my-content-id")
                         .url("https://example.com/speke")
                         .role(spekeRole)
                         .build()))
                 .build()))
         .manifests(List.of(Manifest.mss(MssManifestConfiguration.builder().manifestName("index").build())))
         .build();
 
  • Method Details

    • getResourceId

      @Stability(Experimental) @NotNull String getResourceId()
      (experimental) The unique identifier for the content.
    • getRole

      @Stability(Experimental) @NotNull IRole getRole()
      (experimental) IAM role for accessing the key provider API.
    • getUrl

      @Stability(Experimental) @NotNull String getUrl()
      (experimental) URL of the SPEKE key provider.
    • getCertificate

      @Stability(Experimental) @Nullable default ICertificate getCertificate()
      (experimental) The ARN of the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint.

      Default: - no content key encryption

    • getDrmSystems

      @Stability(Experimental) @Nullable default List<IsmDrmSystem> getDrmSystems()
      (experimental) The DRM systems to use for content protection.

      Default: - [IsmDrmSystem.PLAYREADY]

    • builder

      @Stability(Experimental) static IsmSpekeEncryptionProps.Builder builder()
      Returns:
      a IsmSpekeEncryptionProps.Builder of IsmSpekeEncryptionProps