Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
CaptionShadowColor Class
Shadow color for burn-in and DVB-Sub captions.
| Stability | Experimental |
|---|---|
| Source | lib/caption-settings.ts |
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 captionShadowColor = medialive_alpha.CaptionShadowColor.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_shadow_color = medialive_alpha.CaptionShadowColor.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.*;
CaptionShadowColor captionShadowColor = CaptionShadowColor.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 captionShadowColor = CaptionShadowColor.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"
captionShadowColor := medialive_alpha.CaptionShadowColor_BLACK()
Properties
BLACKCaptionShadowColorBLACKCaptionShadowColorBLACKCaptionShadowColorBLACKCaptionShadowColorBLACKCaptionShadowColor static #Black.
NONECaptionShadowColorNONECaptionShadowColorNONECaptionShadowColorNONECaptionShadowColorNONECaptionShadowColor static #None (transparent).
The underlying string value passed to CloudFormation.
WHITECaptionShadowColorWHITECaptionShadowColorWHITECaptionShadowColorWHITECaptionShadowColorWHITECaptionShadowColor static #White.
Methods
of(value: string): CaptionShadowColor // chainable@staticmethod def of(value: str) -> CaptionShadowColorpublic static CaptionShadowColor of(String value)public static CaptionShadowColor Of(string value)func Of(Value *string) CaptionShadowColor static #A value not yet modelled by AWS CDK.