Skip to content
v2.273.0

Scte35SegmentationScope Class ​

Controls which output groups receive SCTE-35 segmentation cues.

Example ​

ts
import { StringParameter } from 'aws-cdk-lib/aws-ssm';

declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
declare const poisPassword: StringParameter;

new medialive.Channel(stack, 'Channel', {
  inputs: [{ input }],
  availSettings: medialive.AvailSettings.esam({
    pois: {
      url: 'https://pois.example.com/esam',
      username: 'pois-user',
      password: poisPassword,
    },
    acquisitionPointId: 'acquisition-point-1',
    adAvailOffset: Duration.millis(200),
  }),
  scte35SegmentationScope: medialive.Scte35SegmentationScope.SCTE35_ENABLED_OUTPUT_GROUPS,
  outputGroups: [
    medialive.OutputGroupConfiguration.hls({
      name: 'hls',
      destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
      outputs: [{ encodes: [video], outputName: 'hls_out' }],
    }),
  ],
});

Properties ​

ALL_OUTPUT_GROUPSScte35SegmentationScopeall_output_groupsScte35SegmentationScopeALL_OUTPUT_GROUPSScte35SegmentationScopeALL_OUTPUT_GROUPSScte35SegmentationScopeALL_OUTPUT_GROUPSScte35SegmentationScoperequiredstatic#
Insert segment breaks in all output groups.
SCTE35_ENABLED_OUTPUT_GROUPSScte35SegmentationScopescte35_enabled_output_groupsScte35SegmentationScopeSCTE35_ENABLED_OUTPUT_GROUPSScte35SegmentationScopeSCTE35_ENABLED_OUTPUT_GROUPSScte35SegmentationScopeSCTE35_ENABLED_OUTPUT_GROUPSScte35SegmentationScoperequiredstatic#
Insert segment breaks only in output groups with SCTE-35 passthrough enabled (recommended).
valuestringvaluestrvalueStringValuestringValue*stringrequired#
The underlying string value passed to CloudFormation.

Methods ​

of(value: string): Scte35SegmentationScope // chainable@staticmethod def of(value: str) -> Scte35SegmentationScopepublic static Scte35SegmentationScope of(String value)public static Scte35SegmentationScope Of(string value)func Of(Value *string) Scte35SegmentationScopestatic#
A value not yet modelled by AWS CDK.