Interface CfnOriginEndpointPropsMixin.ISegmentProperty
The segment configuration, including the segment name, duration, and other configuration values.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.MediaPackageV2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnOriginEndpointPropsMixin.ISegmentProperty
Syntax (vb)
Public Interface CfnOriginEndpointPropsMixin.ISegmentProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.MediaPackageV2;
var segmentProperty = new SegmentProperty {
Encryption = new EncryptionProperty {
CmafExcludeSegmentDrmMetadata = false,
ConstantInitializationVector = "constantInitializationVector",
EncryptionMethod = new EncryptionMethodProperty {
CmafEncryptionMethod = "cmafEncryptionMethod",
IsmEncryptionMethod = "ismEncryptionMethod",
TsEncryptionMethod = "tsEncryptionMethod"
},
KeyRotationIntervalSeconds = 123,
SpekeKeyProvider = new SpekeKeyProviderProperty {
CertificateArn = "certificateArn",
DrmSystems = new [] { "drmSystems" },
EncryptionContractConfiguration = new EncryptionContractConfigurationProperty {
PresetSpeke20Audio = "presetSpeke20Audio",
PresetSpeke20Video = "presetSpeke20Video"
},
ResourceId = "resourceId",
RoleArn = "roleArn",
Url = "url"
}
},
IncludeIframeOnlyStreams = false,
Scte = new ScteProperty {
ScteFilter = new [] { "scteFilter" },
ScteInSegments = "scteInSegments"
},
SegmentDurationSeconds = 123,
SegmentName = "segmentName",
TsIncludeDvbSubtitles = false,
TsUseAudioRenditionGroup = false
};
Synopsis
Properties
| Encryption | Whether to use encryption for the segment. |
| IncludeIframeOnlyStreams | Whether the segment includes I-frame-only streams. |
| Scte | The SCTE-35 configuration associated with the segment. |
| SegmentDurationSeconds | The duration of the segment, in seconds. |
| SegmentName | The name of the segment associated with the origin endpoint. |
| TsIncludeDvbSubtitles | Whether the segment includes DVB subtitles. |
| TsUseAudioRenditionGroup | Whether the segment is an audio rendition group. |
Properties
Encryption
Whether to use encryption for the segment.
object? Encryption { get; }
Property Value
Remarks
IncludeIframeOnlyStreams
Whether the segment includes I-frame-only streams.
object? IncludeIframeOnlyStreams { get; }
Property Value
Remarks
Scte
The SCTE-35 configuration associated with the segment.
object? Scte { get; }
Property Value
Remarks
SegmentDurationSeconds
The duration of the segment, in seconds.
double? SegmentDurationSeconds { get; }
Property Value
Remarks
SegmentName
The name of the segment associated with the origin endpoint.
string? SegmentName { get; }
Property Value
Remarks
TsIncludeDvbSubtitles
Whether the segment includes DVB subtitles.
object? TsIncludeDvbSubtitles { get; }
Property Value
Remarks
TsUseAudioRenditionGroup
Whether the segment is an audio rendition group.
object? TsUseAudioRenditionGroup { get; }