Interface MediaPackageV2OriginProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,OriginOptions,OriginProps
- All Known Implementing Classes:
MediaPackageV2OriginProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.129.0 (build eaca441)",
date="2026-05-13T16:55:33.484Z")
@Stability(Experimental)
public interface MediaPackageV2OriginProps
extends software.amazon.jsii.JsiiSerializable, OriginProps
(experimental) Properties for a MediaPackage V2 Origin with OAC.
Example:
OriginEndpoint endpoint;
ChannelGroup group;
Distribution.Builder.create(this, "Distribution")
.defaultBehavior(BehaviorOptions.builder()
.origin(MediaPackageV2Origin.Builder.create(endpoint)
.channelGroup(group)
.build())
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMediaPackageV2OriginPropsstatic final classAn implementation forMediaPackageV2OriginProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default CdnAuthConfiguration(experimental) Optional CDN authorization configuration.(experimental) The channel group that the origin endpoint belongs to.default IOriginAccessControlRef(experimental) An optional Origin Access Control.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.cloudfront.OriginOptions
getConnectionAttempts, getConnectionTimeout, getCustomHeaders, getOriginAccessControlId, getOriginId, getOriginShieldEnabled, getOriginShieldRegion, getResponseCompletionTimeoutMethods inherited from interface software.amazon.awscdk.services.cloudfront.OriginProps
getOriginPath
-
Method Details
-
getChannelGroup
(experimental) The channel group that the origin endpoint belongs to.Used to derive the egress domain for the CloudFront origin.
-
getCdnAuth
(experimental) Optional CDN authorization configuration.If you need CDN auth on this endpoint, provide it here so it is configured on the first
addToResourcePolicycall. If CDN auth is added separately after this origin is bound, it will be ignored.Default: - no CDN authorization
-
getOriginAccessControl
(experimental) An optional Origin Access Control.Default: - an Origin Access Control will be created automatically.
-
builder
- Returns:
- a
MediaPackageV2OriginProps.BuilderofMediaPackageV2OriginProps
-