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:
-
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. -
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
-