Provides an SSM Maintenance Window resource
resource "aws_ssm_maintenance_window" "production" { name = "maintenance-window-application" schedule = "cron(0 16 ? * TUE *)" duration = 3 cutoff = 1 }
The following arguments are supported:
name
- (Required) The name of the maintenance window. schedule
- (Required) The schedule of the Maintenance Window in the form of a cron or rate expression. cutoff
- (Required) The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. duration
- (Required) The duration of the Maintenance Window in hours. allow_unassociated_targets
- (Optional) Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets. In addition to all arguments above, the following attributes are exported:
id
- The ID of the maintenance window.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/ssm_maintenance_window.html