github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/r/ssm_maintenance_window.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_ssm_maintenance_window"
     4  sidebar_current: "docs-aws-resource-ssm-maintenance-window"
     5  description: |-
     6    Provides an SSM Maintenance Window resource
     7  ---
     8  
     9  # aws_ssm_maintenance_window
    10  
    11  Provides an SSM Maintenance Window resource
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_ssm_maintenance_window" "production" {
    17    name = "maintenance-window-application"
    18    schedule = "cron(0 16 ? * TUE *)"
    19    duration = 3
    20    cutoff = 1
    21  }
    22  ```
    23  
    24  ## Argument Reference
    25  
    26  The following arguments are supported:
    27  
    28  * `name` - (Required) The name of the maintenance window.
    29  * `schedule` - (Required) The schedule of the Maintenance Window in the form of a [cron](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-cron.html) or rate expression.
    30  * `cutoff` - (Required) The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
    31  * `duration` - (Required) The duration of the Maintenance Window in hours.
    32  * `allow_unregistered_targets` - (Optional) Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
    33  
    34  ## Attributes Reference
    35  
    36  The following attributes are exported:
    37  
    38  * `id` - The ID of the maintenance window.