Interface CfnOriginEndpoint.SegmentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOriginEndpoint.SegmentProperty.Jsii$Proxy
- Enclosing class:
CfnOriginEndpoint
@Stability(Stable)
public static interface CfnOriginEndpoint.SegmentProperty
extends software.amazon.jsii.JsiiSerializable
The segment configuration, including the segment name, duration, and other configuration values.
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.*;
SegmentProperty segmentProperty = SegmentProperty.builder()
.encryption(EncryptionProperty.builder()
.encryptionMethod(EncryptionMethodProperty.builder()
.cmafEncryptionMethod("cmafEncryptionMethod")
.ismEncryptionMethod("ismEncryptionMethod")
.tsEncryptionMethod("tsEncryptionMethod")
.build())
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.drmSystems(List.of("drmSystems"))
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.resourceId("resourceId")
.roleArn("roleArn")
.url("url")
.build())
// the properties below are optional
.cmafExcludeSegmentDrmMetadata(false)
.constantInitializationVector("constantInitializationVector")
.keyRotationIntervalSeconds(123)
.build())
.includeIframeOnlyStreams(false)
.scte(ScteProperty.builder()
.scteFilter(List.of("scteFilter"))
.build())
.segmentDurationSeconds(123)
.segmentName("segmentName")
.tsIncludeDvbSubtitles(false)
.tsUseAudioRenditionGroup(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOriginEndpoint.SegmentPropertystatic final classAn implementation forCfnOriginEndpoint.SegmentProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhether to use encryption for the segment.default ObjectWhether the segment includes I-frame-only streams.default ObjectgetScte()The SCTE-35 configuration associated with the segment.default NumberThe duration of the segment, in seconds.default StringThe name of the segment associated with the origin endpoint.default ObjectWhether the segment includes DVB subtitles.default ObjectWhether the segment is an audio rendition group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryption
Whether to use encryption for the segment.Returns union: either
IResolvableorCfnOriginEndpoint.EncryptionProperty- See Also:
-
getIncludeIframeOnlyStreams
Whether the segment includes I-frame-only streams.Returns union: either
BooleanorIResolvable- See Also:
-
getScte
The SCTE-35 configuration associated with the segment.Returns union: either
IResolvableorCfnOriginEndpoint.ScteProperty- See Also:
-
getSegmentDurationSeconds
The duration of the segment, in seconds.- See Also:
-
getSegmentName
The name of the segment associated with the origin endpoint.- See Also:
-
getTsIncludeDvbSubtitles
Whether the segment includes DVB subtitles.Returns union: either
BooleanorIResolvable- See Also:
-
getTsUseAudioRenditionGroup
Whether the segment is an audio rendition group.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-