Skip to content
v2.278.0

MaintenanceProperty Struct ​

The maintenance setting of a flow.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const maintenanceProperty: mediaconnect.CfnFlow.MaintenanceProperty = {
  maintenanceDay: 'maintenanceDay',
  maintenanceStartHour: 'maintenanceStartHour',
};
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_mediaconnect as mediaconnect

maintenance_property = mediaconnect.CfnFlow.MaintenanceProperty(
    maintenance_day="maintenanceDay",
    maintenance_start_hour="maintenanceStartHour"
)
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.mediaconnect.*;

MaintenanceProperty maintenanceProperty = MaintenanceProperty.builder()
        .maintenanceDay("maintenanceDay")
        .maintenanceStartHour("maintenanceStartHour")
        .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.MediaConnect;

var maintenanceProperty = new MaintenanceProperty {
    MaintenanceDay = "maintenanceDay",
    MaintenanceStartHour = "maintenanceStartHour"
};
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"

maintenanceProperty := &MaintenanceProperty{
	MaintenanceDay: jsii.String("maintenanceDay"),
	MaintenanceStartHour: jsii.String("maintenanceStartHour"),
}

Properties ​

maintenanceDaystringmaintenance_daystrmaintenanceDayStringMaintenanceDaystringMaintenanceDay*string required #
A day of a week when the maintenance will happen.

Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.

maintenanceStartHourstringmaintenance_start_hourstrmaintenanceStartHourStringMaintenanceStartHourstringMaintenanceStartHour*string required #
UTC time when the maintenance will happen.

Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.