interface IsmSegmentProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaPackageV2.Alpha.IsmSegmentProps |
Go | github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2#IsmSegmentProps |
Java | software.amazon.awscdk.services.mediapackagev2.alpha.IsmSegmentProps |
Python | aws_cdk.aws_mediapackagev2_alpha.IsmSegmentProps |
TypeScript (source) | @aws-cdk/aws-mediapackagev2-alpha ยป IsmSegmentProps |
Implements
Segment
Properties for ISM (Microsoft Smooth Streaming) segment configuration.
Example
declare const channel: Channel;
declare const spekeRole: iam.IRole;
new OriginEndpoint(this, 'IsmEndpoint', {
channel,
segment: Segment.ism({
encryption: IsmEncryption.speke({
resourceId: 'my-content-id',
url: 'https://example.com/speke',
role: spekeRole,
}),
}),
manifests: [Manifest.mss({ manifestName: 'index' })],
});
Properties
| Name | Type | Description |
|---|---|---|
| duration? | Duration | Duration of each segment. |
| encryption? | Ism | Encryption configuration for the ISM segment. |
| include | boolean | Whether to include I-frame-only streams. |
| name? | string | Name of the segment. |
duration?
Type:
Duration
(optional, default: Duration.seconds(6))
Duration of each segment.
encryption?
Type:
Ism
(optional, default: No encryption)
Encryption configuration for the ISM segment.
Use IsmEncryption.speke() to create the configuration.
includeIframeOnlyStreams?
Type:
boolean
(optional, default: false)
Whether to include I-frame-only streams.
name?
Type:
string
(optional, default: 'segment')
Name of the segment.

.NET
Go
Java
Python
TypeScript (