Interface CdnAuthConfiguration

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

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-08T20:23:09.055Z") @Stability(Experimental) public interface CdnAuthConfiguration extends software.amazon.jsii.JsiiSerializable
(experimental) Options for configuring CDN Authorization Configuration.

Example:

 import software.amazon.awscdk.services.secretsmanager.*;
 Channel channel;
 ISecret mySecret;
 OriginEndpoint.Builder.create(this, "OriginEndpoint")
         .channel(channel)
         .segment(Segment.ts())
         .manifests(List.of(Manifest.hls(HlsManifestConfiguration.builder().manifestName("index").build())))
         .cdnAuth(CdnAuthConfiguration.builder()
                 .secrets(List.of(mySecret))
                 .build())
         .build();
 

See Also:
  • Method Details

    • getSecrets

      @Stability(Experimental) @NotNull List<ISecret> getSecrets()
      (experimental) Secrets to use for CDN authorization.

      Each secret must be a JSON object with a `MediaPackageV2CDNIdentifier` key whose value is the CDN-Identifier header value. See the

      invalid @link
      {@link https://docs.aws.amazon.com/mediapackage/latest/userguide/cdn-auth-setup.html
      MediaPackage CDN authorization docs}.
    • getRole

      @Stability(Experimental) @Nullable default IRole getRole()
      (experimental) Role to use for reading the secrets.

      If not provided, a role will be created automatically with the required permissions (secretsmanager:GetSecretValue, secretsmanager:DescribeSecret, secretsmanager:BatchGetSecretValue, and kms:Decrypt if the secret uses a customer-managed KMS key).

      Default: - a new role is created

    • builder

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