AvailBlankingState

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

Bases: object

(experimental) Avail blanking state.

Stability:

experimental

ExampleMetadata:

infused

Example:

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


medialive.Channel(stack, "Channel",
    inputs=[medialive.InputAttachment(input=input)],
    avail_blanking=medialive.AvailBlanking(
        state=medialive.AvailBlankingState.ENABLED,
        image=medialive.FileLocation.from_bucket(bucket, "slates/avail.png")
    ),
    blackout_slate=medialive.BlackoutSlate(
        state=medialive.BlackoutSlateState.ENABLED,
        image=medialive.FileLocation.from_bucket(bucket, "slates/blackout.png")
    ),
    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

DISABLED = <aws_cdk.aws_medialive_alpha.AvailBlankingState object>
ENABLED = <aws_cdk.aws_medialive_alpha.AvailBlankingState 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:

AvailBlankingState