Skip to content

Commit

Permalink
update doc with name and description for maintenance window task
Browse files Browse the repository at this point in the history
  • Loading branch information
Guimove committed Sep 14, 2018
1 parent f418a43 commit 2d41b1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docs/r/ssm_maintenance_window_task.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ resource "aws_ssm_maintenance_window" "window" {
resource "aws_ssm_maintenance_window_task" "task" {
window_id = "${aws_ssm_maintenance_window.window.id}"
name = "maintenance-window-task"
description = "This is a maintenance window task"
task_type = "RUN_COMMAND"
task_arn = "AWS-RunShellScript"
priority = 1
Expand Down Expand Up @@ -55,6 +57,8 @@ The following arguments are supported:
* `task_type` - (Required) The type of task being registered. The only allowed value is `RUN_COMMAND`.
* `task_arn` - (Required) The ARN of the task to execute.
* `service_role_arn` - (Required) The role that should be assumed when executing the task.
* `name` - (Optional) The name of the maintenance window task.
* `description` - (Optional) The description of the maintenance window task.
* `targets` - (Required) The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2.
* `priority` - (Optional) The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
* `logging_info` - (Optional) A structure containing information about an Amazon S3 bucket to write instance-level logs to. Documented below.
Expand Down

0 comments on commit 2d41b1a

Please sign in to comment.