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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCdnAuthConfigurationstatic final classAn implementation forCdnAuthConfiguration -
Method Summary
Modifier and TypeMethodDescriptionstatic CdnAuthConfiguration.Builderbuilder()default IRolegetRole()(experimental) Role to use for reading the secrets.(experimental) Secrets to use for CDN authorization.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
MediaPackage CDN authorization docs}.invalid @link
{@link https://docs.aws.amazon.com/mediapackage/latest/userguide/cdn-auth-setup.html -
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
- Returns:
- a
CdnAuthConfiguration.BuilderofCdnAuthConfiguration
-