Class CfnOriginEndpointPropsMixin.SegmentProperty
The segment configuration, including the segment name, duration, and other configuration values.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.MediaPackageV2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnOriginEndpointPropsMixin.SegmentProperty : CfnOriginEndpointPropsMixin.ISegmentProperty
Syntax (vb)
Public Class CfnOriginEndpointPropsMixin.SegmentProperty Implements 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
Constructors
| SegmentProperty() | The segment configuration, including the segment name, duration, and other configuration values. |
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. |
Constructors
SegmentProperty()
The segment configuration, including the segment name, duration, and other configuration values.
public SegmentProperty()
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
};
Properties
Encryption
Whether to use encryption for the segment.
public object? Encryption { get; set; }
Property Value
Remarks
IncludeIframeOnlyStreams
Whether the segment includes I-frame-only streams.
public object? IncludeIframeOnlyStreams { get; set; }
Property Value
Remarks
Scte
The SCTE-35 configuration associated with the segment.
public object? Scte { get; set; }
Property Value
Remarks
SegmentDurationSeconds
The duration of the segment, in seconds.
public double? SegmentDurationSeconds { get; set; }
Property Value
Remarks
SegmentName
The name of the segment associated with the origin endpoint.
public string? SegmentName { get; set; }
Property Value
Remarks
TsIncludeDvbSubtitles
Whether the segment includes DVB subtitles.
public object? TsIncludeDvbSubtitles { get; set; }
Property Value
Remarks
TsUseAudioRenditionGroup
Whether the segment is an audio rendition group.
public object? TsUseAudioRenditionGroup { get; set; }