DomainAutoTuneOptions constructor
const
DomainAutoTuneOptions({
- required Input<
String> desiredState, - Input<
List< ? maintenanceSchedules,DomainAutoTuneOptionsMaintenanceSchedule> ?> - Input<
String?> ? rollbackOnDisable, - Input<
bool?> ? useOffPeakWindow,
Creates a new DomainAutoTuneOptions.
desiredState Auto-Tune desired state for the domain. Valid values: ENABLED or DISABLED.
maintenanceSchedules Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below.
rollbackOnDisable Whether to roll back to default Auto-Tune settings when disabling Auto-Tune. Valid values: DEFAULT_ROLLBACK or NO_ROLLBACK.
useOffPeakWindow Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window. Defaults to false.
Implementation
const DomainAutoTuneOptions({
required this.desiredState,
this.maintenanceSchedules,
this.rollbackOnDisable,
this.useOffPeakWindow,
});