Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ServerValidation Class
Server validation mode for HTTPS inputs.
Example
ts
declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
new medialive.Channel(stack, 'Channel', {
inputs: [{
input,
networkInputSettings: {
serverValidation: medialive.ServerValidation.CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME,
hlsInputSettings: {
bandwidth: Bitrate.mbps(5),
scte35Source: medialive.HlsScte35Source.MANIFEST,
},
},
logicalInterfaceNames: ['eth0', 'eth1'],
}],
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [{ encodes: [video], outputName: 'hls_out' }],
}),
],
});
Properties
CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAMEServerValidationcheck_cryptography_and_validate_nameServerValidationCHECK_CRYPTOGRAPHY_AND_VALIDATE_NAMEServerValidationCHECK_CRYPTOGRAPHY_AND_VALIDATE_NAMEServerValidationCHECK_CRYPTOGRAPHY_AND_VALIDATE_NAMEServerValidationrequiredstatic#Check cryptography and server name.
CHECK_CRYPTOGRAPHY_ONLYServerValidationcheck_cryptography_onlyServerValidationCHECK_CRYPTOGRAPHY_ONLYServerValidationCHECK_CRYPTOGRAPHY_ONLYServerValidationCHECK_CRYPTOGRAPHY_ONLYServerValidationrequiredstatic#Check cryptography only (useful for S3 bucket names with dots).
The underlying string value passed to CloudFormation.
Methods
of(value: string): ServerValidation // chainable@staticmethod def of(value: str) -> ServerValidationpublic static ServerValidation of(String value)public static ServerValidation Of(string value)func Of(Value *string) ServerValidationstatic#A value not yet modelled by AWS CDK.