import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource type definition for AWS::SSM::MaintenanceWindow */ export declare function getMaintenanceWindow(args: GetMaintenanceWindowArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetMaintenanceWindowArgs { /** * The ID of the maintenance window. */ windowId: string; } export interface GetMaintenanceWindowResult { /** * Enables a maintenance window task to run on managed instances, even if you have not registered those instances as targets. If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the maintenance window. */ readonly allowUnassociatedTargets?: boolean; /** * The number of hours before the end of the maintenance window that AWS Systems Manager stops scheduling new tasks for execution. */ readonly cutoff?: number; /** * A description of the maintenance window. */ readonly description?: string; /** * The duration of the maintenance window in hours. */ readonly duration?: number; /** * The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. */ readonly endDate?: string; /** * The name of the maintenance window. */ readonly name?: string; /** * The schedule of the maintenance window in the form of a cron or rate expression. */ readonly schedule?: string; /** * The number of days to wait to run a maintenance window after the scheduled cron expression date and time. */ readonly scheduleOffset?: number; /** * The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. */ readonly scheduleTimezone?: string; /** * The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. StartDate allows you to delay activation of the maintenance window until the specified future date. */ readonly startDate?: string; /** * Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a maintenance window to identify the type of tasks it will run, the types of targets, and the environment it will run in. */ readonly tags?: outputs.Tag[]; /** * The ID of the maintenance window. */ readonly windowId?: string; } /** * Resource type definition for AWS::SSM::MaintenanceWindow */ export declare function getMaintenanceWindowOutput(args: GetMaintenanceWindowOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetMaintenanceWindowOutputArgs { /** * The ID of the maintenance window. */ windowId: pulumi.Input; }