Skip to content
v2.276.0

Experimental

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

MaintenanceSettings Struct ​

Maintenance window settings for the channel.

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';

declare const maintenanceDay: medialive_alpha.MaintenanceDay;
const maintenanceSettings: medialive_alpha.MaintenanceSettings = {
  day: maintenanceDay,

  // the properties below are optional
  time: 'time',
};
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

# maintenance_day: medialive_alpha.MaintenanceDay

maintenance_settings = medialive_alpha.MaintenanceSettings(
    day=maintenance_day,

    # the properties below are optional
    time="time"
)
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.*;

MaintenanceDay maintenanceDay;

MaintenanceSettings maintenanceSettings = MaintenanceSettings.builder()
        .day(maintenanceDay)

        // the properties below are optional
        .time("time")
        .build();
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;

MaintenanceDay maintenanceDay;

var maintenanceSettings = new MaintenanceSettings {
    Day = maintenanceDay,

    // the properties below are optional
    Time = "time"
};
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"

var maintenanceDay MaintenanceDay

maintenanceSettings := &MaintenanceSettings{
	Day: maintenanceDay,

	// the properties below are optional
	Time: jsii.String("time"),
}

Properties ​

The day of the week for maintenance.
timeoptionalstringtimeoptionalstrtimeoptionalStringTimeoptionalstringTimeoptional*string= '02:00'#
The start time for maintenance in UTC (HH:MM format, e.g. '02:00').