MaintenanceWindowState constructor

const MaintenanceWindowState({
  1. Input<bool?>? allowUnassociatedTargets,
  2. Input<int?>? cutoff,
  3. Input<String?>? description,
  4. Input<int?>? duration,
  5. Input<bool?>? enabled,
  6. Input<String?>? endDate,
  7. Input<String?>? name,
  8. Input<String?>? region,
  9. Input<String?>? schedule,
  10. Input<int?>? scheduleOffset,
  11. Input<String?>? scheduleTimezone,
  12. Input<String?>? startDate,
  13. Input<Map<String, String>?>? tags,
  14. Input<Map<String, String>?>? tagsAll,
})

Creates a new MaintenanceWindowState. allowUnassociatedTargets Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets. cutoff The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. description A description for the maintenance window. duration The duration of the Maintenance Window in hours. enabled Whether the maintenance window is enabled. Default: true. endDate Timestamp in ISO-8601 extended format when to no longer run the maintenance window. name The name of the maintenance window. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. schedule The schedule of the Maintenance Window in the form of a cron or rate expression. scheduleOffset The number of days to wait after the date and time specified by a CRON expression before running the maintenance window. Valid range is 1 to 6. scheduleTimezone Timezone for schedule in Internet Assigned Numbers Authority (IANA) Time Zone Database format. For example: America/Los_Angeles, etc/UTC, or Asia/Seoul. startDate Timestamp in ISO-8601 extended format when to begin the maintenance window. tags A map of tags to assign to the resource. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Implementation

const MaintenanceWindowState({
  this.allowUnassociatedTargets,
  this.cutoff,
  this.description,
  this.duration,
  this.enabled,
  this.endDate,
  this.name,
  this.region,
  this.schedule,
  this.scheduleOffset,
  this.scheduleTimezone,
  this.startDate,
  this.tags,
  this.tagsAll,
});