Interface CdnAuthConfiguration

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

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-02T21:55:36.043Z") @Stability(Experimental) public interface CdnAuthConfiguration extends software.amazon.jsii.JsiiSerializable
(experimental) Options for configuring CDN Authorization Configuration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.mediapackagev2.alpha.*;
 import software.amazon.awscdk.services.iam.*;
 import software.amazon.awscdk.services.secretsmanager.*;
 Role role;
 Secret secret;
 CdnAuthConfiguration cdnAuthConfiguration = CdnAuthConfiguration.builder()
         .secrets(List.of(secret))
         // the properties below are optional
         .role(role)
         .build();
 

See Also:
  • Method Details

    • getSecrets

      @Stability(Experimental) @NotNull List<ISecret> getSecrets()
      (experimental) Secrets to use for CDN authorization.
    • 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