Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
CaptionBackgroundColor Class
Background color for burn-in and DVB-Sub captions.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const captionBackgroundColor = medialive_alpha.CaptionBackgroundColor.BLACK;
Properties
BLACKCaptionBackgroundColorblackCaptionBackgroundColorBLACKCaptionBackgroundColorBLACKCaptionBackgroundColorBLACKCaptionBackgroundColorrequiredstatic#Black.
NONECaptionBackgroundColornoneCaptionBackgroundColorNONECaptionBackgroundColorNONECaptionBackgroundColorNONECaptionBackgroundColorrequiredstatic#None (transparent).
The underlying string value passed to CloudFormation.
WHITECaptionBackgroundColorwhiteCaptionBackgroundColorWHITECaptionBackgroundColorWHITECaptionBackgroundColorWHITECaptionBackgroundColorrequiredstatic#White.
Methods
of(value: string): CaptionBackgroundColor // chainable@staticmethod def of(value: str) -> CaptionBackgroundColorpublic static CaptionBackgroundColor of(String value)public static CaptionBackgroundColor Of(string value)func Of(Value *string) CaptionBackgroundColorstatic#A value not yet modelled by AWS CDK.