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;
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
caption_background_color = medialive_alpha.CaptionBackgroundColor.BLACK
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
CaptionBackgroundColor captionBackgroundColor = CaptionBackgroundColor.BLACK;
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
var captionBackgroundColor = CaptionBackgroundColor.BLACK;
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
captionBackgroundColor := medialive_alpha.CaptionBackgroundColor_BLACK()
Properties
BLACKCaptionBackgroundColorblackCaptionBackgroundColorBLACKCaptionBackgroundColorBLACKCaptionBackgroundColorBLACKCaptionBackgroundColorstatic#Black.
NONECaptionBackgroundColornoneCaptionBackgroundColorNONECaptionBackgroundColorNONECaptionBackgroundColorNONECaptionBackgroundColorstatic#None (transparent).
The underlying string value passed to CloudFormation.
WHITECaptionBackgroundColorwhiteCaptionBackgroundColorWHITECaptionBackgroundColorWHITECaptionBackgroundColorWHITECaptionBackgroundColorstatic#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.