Maintenance Window Args
Provides an SSM Maintenance Window resource
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssm.MaintenanceWindow;
import com.pulumi.aws.ssm.MaintenanceWindowArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var production = new MaintenanceWindow("production", MaintenanceWindowArgs.builder()
.cutoff(1)
.duration(3)
.schedule("cron(0 16 ? * TUE *)")
.build());
}
}
Import
SSM Maintenance Windows can be imported using the maintenance window id
, e.g.,
$ pulumi import aws:ssm/maintenanceWindow:MaintenanceWindow imported-window mw-0123456789
Constructors
Properties
Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
A description for the maintenance window.
Timestamp in ISO-8601 extended format when to no longer run the maintenance window.
The schedule of the Maintenance Window in the form of a cron or rate expression.
The number of days to wait after the date and time specified by a CRON expression before running the maintenance window.
Timezone for schedule in Internet Assigned Numbers Authority (IANA) Time Zone Database format. For example: America/Los_Angeles
, etc/UTC
, or Asia/Seoul
.
Timestamp in ISO-8601 extended format when to begin the maintenance window.