Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
MediaPackageV2HlsSetting Class
Whether MediaPackage sets a MediaPackage V2 audio rendition as default / auto-select in the HLS manifest.
Across all renditions: at most one may be YES; not all may be NO.
| Stability | Experimental |
|---|---|
| Source | lib/enums.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 mediaPackageV2HlsSetting = medialive_alpha.MediaPackageV2HlsSetting.NO;
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
media_package_v2_hls_setting = medialive_alpha.MediaPackageV2HlsSetting.NO
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.*;
MediaPackageV2HlsSetting mediaPackageV2HlsSetting = MediaPackageV2HlsSetting.NO;
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 mediaPackageV2HlsSetting = MediaPackageV2HlsSetting.NO;
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"
mediaPackageV2HlsSetting := medialive_alpha.MediaPackageV2HlsSetting_NO()
Properties
NOMediaPackageV2HlsSettingNOMediaPackageV2HlsSettingNOMediaPackageV2HlsSettingNOMediaPackageV2HlsSettingNOMediaPackageV2HlsSetting static #Do not set this rendition as default / auto-select.
OMITMediaPackageV2HlsSettingOMITMediaPackageV2HlsSettingOMITMediaPackageV2HlsSettingOMITMediaPackageV2HlsSettingOMITMediaPackageV2HlsSetting static #Let MediaPackage decide for this rendition.
The underlying string value passed to CloudFormation.
YESMediaPackageV2HlsSettingYESMediaPackageV2HlsSettingYESMediaPackageV2HlsSettingYESMediaPackageV2HlsSettingYESMediaPackageV2HlsSetting static #Set this rendition as default / auto-select.
Methods
of(value: string): MediaPackageV2HlsSetting // chainable@staticmethod def of(value: str) -> MediaPackageV2HlsSettingpublic static MediaPackageV2HlsSetting of(String value)public static MediaPackageV2HlsSetting Of(string value)func Of(Value *string) MediaPackageV2HlsSetting static #A value not yet modelled by AWS CDK.