Interface OriginEndpointOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
OriginEndpointProps
- All Known Implementing Classes:
OriginEndpointOptions.Jsii$Proxy,OriginEndpointProps.Jsii$Proxy
Example:
Stack stack;
// Create a channel group
ChannelGroup group = ChannelGroup.Builder.create(stack, "MyChannelGroup")
.channelGroupName("my-channel-group")
.build();
// Add a channel using the factory method
Channel channel = group.addChannel("MyChannel", ChannelOptions.builder()
.channelName("my-channel")
.input(InputConfiguration.cmaf())
.build());
// Add an origin endpoint using the factory method
OriginEndpoint endpoint = channel.addOriginEndpoint("MyEndpoint", OriginEndpointOptions.builder()
.originEndpointName("my-endpoint")
.segment(Segment.cmaf())
.manifests(List.of(Manifest.hls(HlsManifestConfiguration.builder().manifestName("index").build())))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forOriginEndpointOptionsstatic final classAn implementation forOriginEndpointOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default CdnAuthConfiguration(experimental) Provide access to MediaPackage V2 Origin Endpoint via secret header.default String(experimental) The description associated with the origin endpoint.default List<EndpointErrorConfiguration> (experimental) The failover settings for the endpoint.(experimental) Manifests configuration for HLS, Low Latency HLS and DASH.default String(experimental) The name of the origin endpoint associated with the origin endpoint configuration.default RemovalPolicy(experimental) Policy to apply when the origin endpoint is removed from the stack.(experimental) The segment associated with the origin endpoint.default Duration(experimental) The size of the window to specify a window of the live stream that's available for on-demand viewing.getTags()(experimental) The tags associated with the origin endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getManifests
(experimental) Manifests configuration for HLS, Low Latency HLS and DASH. -
getSegment
(experimental) The segment associated with the origin endpoint.Inside the segment configuration you can define options such as encryption, SPEKE parameters and other general segment configurations.
Use Segment.ts() or Segment.cmaf() to create the configuration.
-
getCdnAuth
(experimental) Provide access to MediaPackage V2 Origin Endpoint via secret header.Default: undefined - Not configured on endpoint
-
getDescription
(experimental) The description associated with the origin endpoint.Default: undefined - No description is added to Origin Endpoint
-
getForceEndpointConfigurationConditions
@Stability(Experimental) @Nullable default List<EndpointErrorConfiguration> getForceEndpointConfigurationConditions()(experimental) The failover settings for the endpoint.Default: undefined - No force endpoint configuration is configured
-
getOriginEndpointName
(experimental) The name of the origin endpoint associated with the origin endpoint configuration.Default: autogenerated
-
getRemovalPolicy
(experimental) Policy to apply when the origin endpoint is removed from the stack.Even though MediaPackage ChannelGroups, Channels and OriginEndpoints are technically stateful, their contents are transient and it is common to add and remove these while rearchitecting your application. The default is therefore
DESTROY. Change it toRETAINif the content (in a lookback window) are so valuable that accidentally losing it would be unacceptable.Default: RemovalPolicy.DESTROY
-
getStartoverWindow
(experimental) The size of the window to specify a window of the live stream that's available for on-demand viewing.Viewers can start-over or catch-up on content that falls within the window.
Default: 900
-
getTags
(experimental) The tags associated with the origin endpoint.Default: - No tagging
-
builder
- Returns:
- a
OriginEndpointOptions.BuilderofOriginEndpointOptions
-