Skip to content
v2.278.0

MaintenanceCreateSettingsProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const maintenanceCreateSettingsProperty: medialive.CfnChannel.MaintenanceCreateSettingsProperty = {
  maintenanceDay: 'maintenanceDay',
  maintenanceStartTime: 'maintenanceStartTime',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

maintenance_create_settings_property = medialive.CfnChannel.MaintenanceCreateSettingsProperty(
    maintenance_day="maintenanceDay",
    maintenance_start_time="maintenanceStartTime"
)
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.*;

MaintenanceCreateSettingsProperty maintenanceCreateSettingsProperty = MaintenanceCreateSettingsProperty.builder()
        .maintenanceDay("maintenanceDay")
        .maintenanceStartTime("maintenanceStartTime")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var maintenanceCreateSettingsProperty = new MaintenanceCreateSettingsProperty {
    MaintenanceDay = "maintenanceDay",
    MaintenanceStartTime = "maintenanceStartTime"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

maintenanceCreateSettingsProperty := &MaintenanceCreateSettingsProperty{
	MaintenanceDay: jsii.String("maintenanceDay"),
	MaintenanceStartTime: jsii.String("maintenanceStartTime"),
}

Properties ​

maintenanceDayoptionalstringmaintenance_dayoptionalstrmaintenanceDayoptionalStringMaintenanceDayoptionalstringMaintenanceDayoptional*string #
Choose one day of the week for maintenance.

The chosen day is used for all future maintenance windows.

maintenanceStartTimeoptionalstringmaintenance_start_timeoptionalstrmaintenanceStartTimeoptionalStringMaintenanceStartTimeoptionalstringMaintenanceStartTimeoptional*string #
Choose the hour that maintenance will start.

The chosen time is used for all future maintenance windows.