Skip to content
v2.278.0

Experimental

@aws-cdk/aws-mediapackagev2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

DashDvbSettings Struct ​

The font download and error reporting information that you want MediaPackage to pass through to the manifest.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediapackagev2_alpha from '@aws-cdk/aws-mediapackagev2-alpha';
const dashDvbSettings: mediapackagev2_alpha.DashDvbSettings = {
  errorMetrics: [{
    reportingUrl: 'reportingUrl',

    // the properties below are optional
    probability: 123,
  }],
  fontDownload: {
    fontFamily: 'fontFamily',
    mimeType: 'mimeType',
    url: 'url',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediapackagev2_alpha as mediapackagev2_alpha

dash_dvb_settings = mediapackagev2_alpha.DashDvbSettings(
    error_metrics=[mediapackagev2_alpha.DashDvbMetricsReporting(
        reporting_url="reportingUrl",

        # the properties below are optional
        probability=123
    )],
    font_download=mediapackagev2_alpha.DashDvbFontDownload(
        font_family="fontFamily",
        mime_type="mimeType",
        url="url"
    )
)
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.mediapackagev2.alpha.*;

DashDvbSettings dashDvbSettings = DashDvbSettings.builder()
        .errorMetrics(List.of(DashDvbMetricsReporting.builder()
                .reportingUrl("reportingUrl")

                // the properties below are optional
                .probability(123)
                .build()))
        .fontDownload(DashDvbFontDownload.builder()
                .fontFamily("fontFamily")
                .mimeType("mimeType")
                .url("url")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaPackageV2.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaPackageV2.Alpha;

var dashDvbSettings = new DashDvbSettings {
    ErrorMetrics = new [] { new DashDvbMetricsReporting {
        ReportingUrl = "reportingUrl",

        // the properties below are optional
        Probability = 123
    } },
    FontDownload = new DashDvbFontDownload {
        FontFamily = "fontFamily",
        MimeType = "mimeType",
        Url = "url"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediapackagev2_alpha "github.com/aws/aws-cdk-go/awsmediapackagev2alpha"

dashDvbSettings := &DashDvbSettings{
	ErrorMetrics: []DashDvbMetricsReporting{
		&DashDvbMetricsReporting{
			ReportingUrl: jsii.String("reportingUrl"),

			// the properties below are optional
			Probability: jsii.Number(123),
		},
	},
	FontDownload: &DashDvbFontDownload{
		FontFamily: jsii.String("fontFamily"),
		MimeType: jsii.String("mimeType"),
		Url: jsii.String("url"),
	},
}

Properties ​

errorMetricsoptionalDashDvbMetricsReporting[]error_metricsoptionaltyping.List[DashDvbMetricsReporting]errorMetricsoptionalList<DashDvbMetricsReporting>ErrorMetricsoptionalDashDvbMetricsReporting[]ErrorMetricsoptional*[]DashDvbMetricsReporting #
Playback device error reporting settings.

Default: No error metrics configured

fontDownloadoptionalDashDvbFontDownloadfont_downloadoptionalDashDvbFontDownloadfontDownloadoptionalDashDvbFontDownloadFontDownloadoptionalDashDvbFontDownloadFontDownloadoptionalDashDvbFontDownload #
Subtitle font settings.

Default: No font download configured