Scte35SegmentationScope

class aws_cdk.aws_medialive_alpha.Scte35SegmentationScope(*args: Any, **kwargs)

Bases: object

(experimental) Controls which output groups receive SCTE-35 segmentation cues.

Stability:

experimental

ExampleMetadata:

infused

Example:

from aws_cdk.aws_ssm import StringParameter

# stack: Stack
# input: medialive.IInput
# bucket: s3.IBucket
# video: medialive.EncodeConfiguration
# pois_password: StringParameter


medialive.Channel(stack, "Channel",
    inputs=[medialive.InputAttachment(input=input)],
    avail_settings=medialive.AvailSettings.esam(
        pois=medialive.PoisEndpoint(
            url="https://pois.example.com/esam",
            username="pois-user",
            password=pois_password
        ),
        acquisition_point_id="acquisition-point-1",
        ad_avail_offset=Duration.millis(200)
    ),
    scte35_segmentation_scope=medialive.Scte35SegmentationScope.SCTE35_ENABLED_OUTPUT_GROUPS,
    output_groups=[
        medialive.OutputGroupConfiguration.hls(
            name="hls",
            destinations=[medialive.OutputDestination.to_bucket(bucket, "live/stream")],
            outputs=[medialive.HlsOutputDefinition(encodes=[video], output_name="hls_out")]
        )
    ]
)

Attributes

ALL_OUTPUT_GROUPS = <aws_cdk.aws_medialive_alpha.Scte35SegmentationScope object>
SCTE35_ENABLED_OUTPUT_GROUPS = <aws_cdk.aws_medialive_alpha.Scte35SegmentationScope object>
value

(experimental) The underlying string value passed to CloudFormation.

Stability:

experimental

Static Methods

classmethod of(value)

(experimental) A value not yet modelled by AWS CDK.

Parameters:

value (str)

Stability:

experimental

Return type:

Scte35SegmentationScope