Skip to content
v2.278.0

MaintenanceWindowProperty Struct ​

The scheduling details for the maintenance window.

Patching and system updates take place during the maintenance window.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_odb as odb } from 'aws-cdk-lib';
const maintenanceWindowProperty: odb.CfnCloudExadataInfrastructure.MaintenanceWindowProperty = {
  customActionTimeoutInMins: 123,
  daysOfWeek: ['daysOfWeek'],
  hoursOfDay: [123],
  isCustomActionTimeoutEnabled: false,
  leadTimeInWeeks: 123,
  months: ['months'],
  patchingMode: 'patchingMode',
  preference: 'preference',
  weeksOfMonth: [123],
};
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_odb as odb

maintenance_window_property = odb.CfnCloudExadataInfrastructure.MaintenanceWindowProperty(
    custom_action_timeout_in_mins=123,
    days_of_week=["daysOfWeek"],
    hours_of_day=[123],
    is_custom_action_timeout_enabled=False,
    lead_time_in_weeks=123,
    months=["months"],
    patching_mode="patchingMode",
    preference="preference",
    weeks_of_month=[123]
)
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.odb.*;

MaintenanceWindowProperty maintenanceWindowProperty = MaintenanceWindowProperty.builder()
        .customActionTimeoutInMins(123)
        .daysOfWeek(List.of("daysOfWeek"))
        .hoursOfDay(List.of(123))
        .isCustomActionTimeoutEnabled(false)
        .leadTimeInWeeks(123)
        .months(List.of("months"))
        .patchingMode("patchingMode")
        .preference("preference")
        .weeksOfMonth(List.of(123))
        .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.ODB;

var maintenanceWindowProperty = new MaintenanceWindowProperty {
    CustomActionTimeoutInMins = 123,
    DaysOfWeek = new [] { "daysOfWeek" },
    HoursOfDay = new [] { 123 },
    IsCustomActionTimeoutEnabled = false,
    LeadTimeInWeeks = 123,
    Months = new [] { "months" },
    PatchingMode = "patchingMode",
    Preference = "preference",
    WeeksOfMonth = new [] { 123 }
};
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"

maintenanceWindowProperty := &MaintenanceWindowProperty{
	CustomActionTimeoutInMins: jsii.Number(123),
	DaysOfWeek: []*string{
		jsii.String("daysOfWeek"),
	},
	HoursOfDay: []interface{}{
		jsii.Number(123),
	},
	IsCustomActionTimeoutEnabled: jsii.Boolean(false),
	LeadTimeInWeeks: jsii.Number(123),
	Months: []*string{
		jsii.String("months"),
	},
	PatchingMode: jsii.String("patchingMode"),
	Preference: jsii.String("preference"),
	WeeksOfMonth: []interface{}{
		jsii.Number(123),
	},
}

Properties ​

customActionTimeoutInMinsoptionalnumbercustom_action_timeout_in_minsoptionalint | floatcustomActionTimeoutInMinsoptionalNumberCustomActionTimeoutInMinsoptionaldoubleCustomActionTimeoutInMinsoptional*float64 #
The custom action timeout in minutes for the maintenance window.
daysOfWeekoptionalstring[]days_of_weekoptionaltyping.List[str]daysOfWeekoptionalList<String>DaysOfWeekoptionalstring[]DaysOfWeekoptional*[]*string #
The days of the week when maintenance can be performed.
hoursOfDayoptionalnumber[] | IResolvablehours_of_dayoptionaltyping.Union[typing.List[int | float], IResolvable]hoursOfDayoptionalList<Number>HoursOfDayoptionaldouble[]HoursOfDayoptionalinterface{} #
The hours of the day when maintenance can be performed.
isCustomActionTimeoutEnabledoptionalboolean | IResolvableis_custom_action_timeout_enabledoptionaltyping.Union[bool, IResolvable]isCustomActionTimeoutEnabledoptionalBooleanIsCustomActionTimeoutEnabledoptionalboolIsCustomActionTimeoutEnabledoptionalinterface{} #
Indicates whether custom action timeout is enabled for the maintenance window.
leadTimeInWeeksoptionalnumberlead_time_in_weeksoptionalint | floatleadTimeInWeeksoptionalNumberLeadTimeInWeeksoptionaldoubleLeadTimeInWeeksoptional*float64 #
The lead time in weeks before the maintenance window.
monthsoptionalstring[]monthsoptionaltyping.List[str]monthsoptionalList<String>Monthsoptionalstring[]Monthsoptional*[]*string #
The months when maintenance can be performed.
patchingModeoptionalstringpatching_modeoptionalstrpatchingModeoptionalStringPatchingModeoptionalstringPatchingModeoptional*string #
The patching mode for the maintenance window.
preferenceoptionalstringpreferenceoptionalstrpreferenceoptionalStringPreferenceoptionalstringPreferenceoptional*string #
The preference for the maintenance window scheduling.
weeksOfMonthoptionalnumber[] | IResolvableweeks_of_monthoptionaltyping.Union[typing.List[int | float], IResolvable]weeksOfMonthoptionalList<Number>WeeksOfMonthoptionaldouble[]WeeksOfMonthoptionalinterface{} #
The weeks of the month when maintenance can be performed.