ServerValidation

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

Bases: object

(experimental) Server validation mode for HTTPS inputs.

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,
        network_input_settings=medialive.NetworkInputSettings(
            server_validation=medialive.ServerValidation.CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME,
            hls_input_settings=medialive.HlsInputSettings(
                bandwidth=Bitrate.mbps(5),
                scte35_source=medialive.HlsScte35Source.MANIFEST
            )
        ),
        logical_interface_names=["eth0", "eth1"]
    )],
    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

CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME = <aws_cdk.aws_medialive_alpha.ServerValidation object>
CHECK_CRYPTOGRAPHY_ONLY = <aws_cdk.aws_medialive_alpha.ServerValidation 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:

ServerValidation