1. Packages
  2. Incident Provider
  3. API Docs
  4. MaintenanceWindow
Viewing docs for incident 5.32.0
published on Tuesday, Mar 24, 2026 by incident-io
Viewing docs for incident 5.32.0
published on Tuesday, Mar 24, 2026 by incident-io

    Manage maintenance windows for temporarily overriding alert routing during planned maintenance.

    Maintenance windows allow you to suppress or redirect alerts during scheduled maintenance periods, preventing unnecessary escalations and noise.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as incident from "@pulumi/incident";
    
    const opsLead = incident.getUser({
        email: "ops-lead@example.com",
    });
    const example = new incident.MaintenanceWindow("example", {
        name: "Scheduled Database Migration",
        startAt: "2026-04-01T02:00:00Z",
        endAt: "2026-04-01T06:00:00Z",
        leadId: opsLead.then(opsLead => opsLead.id),
        showInSidebar: true,
        resolveOnEnd: true,
        rerouteOnEnd: false,
        alertConditionGroups: [{
            conditions: [{
                subject: "alert.title",
                operation: "contains",
                paramBindings: [{
                    value: {
                        literal: "database",
                    },
                }],
            }],
        }],
    });
    
    import pulumi
    import pulumi_incident as incident
    
    ops_lead = incident.get_user(email="ops-lead@example.com")
    example = incident.MaintenanceWindow("example",
        name="Scheduled Database Migration",
        start_at="2026-04-01T02:00:00Z",
        end_at="2026-04-01T06:00:00Z",
        lead_id=ops_lead.id,
        show_in_sidebar=True,
        resolve_on_end=True,
        reroute_on_end=False,
        alert_condition_groups=[{
            "conditions": [{
                "subject": "alert.title",
                "operation": "contains",
                "param_bindings": [{
                    "value": {
                        "literal": "database",
                    },
                }],
            }],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/incident/v5/incident"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		opsLead, err := incident.GetUser(ctx, &incident.GetUserArgs{
    			Email: pulumi.StringRef("ops-lead@example.com"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = incident.NewMaintenanceWindow(ctx, "example", &incident.MaintenanceWindowArgs{
    			Name:          pulumi.String("Scheduled Database Migration"),
    			StartAt:       pulumi.String("2026-04-01T02:00:00Z"),
    			EndAt:         pulumi.String("2026-04-01T06:00:00Z"),
    			LeadId:        pulumi.String(opsLead.Id),
    			ShowInSidebar: pulumi.Bool(true),
    			ResolveOnEnd:  pulumi.Bool(true),
    			RerouteOnEnd:  pulumi.Bool(false),
    			AlertConditionGroups: incident.MaintenanceWindowAlertConditionGroupArray{
    				&incident.MaintenanceWindowAlertConditionGroupArgs{
    					Conditions: incident.MaintenanceWindowAlertConditionGroupConditionArray{
    						&incident.MaintenanceWindowAlertConditionGroupConditionArgs{
    							Subject:   pulumi.String("alert.title"),
    							Operation: pulumi.String("contains"),
    							ParamBindings: incident.MaintenanceWindowAlertConditionGroupConditionParamBindingArray{
    								&incident.MaintenanceWindowAlertConditionGroupConditionParamBindingArgs{
    									Value: &incident.MaintenanceWindowAlertConditionGroupConditionParamBindingValueArgs{
    										Literal: pulumi.String("database"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Incident = Pulumi.Incident;
    
    return await Deployment.RunAsync(() => 
    {
        var opsLead = Incident.GetUser.Invoke(new()
        {
            Email = "ops-lead@example.com",
        });
    
        var example = new Incident.MaintenanceWindow("example", new()
        {
            Name = "Scheduled Database Migration",
            StartAt = "2026-04-01T02:00:00Z",
            EndAt = "2026-04-01T06:00:00Z",
            LeadId = opsLead.Apply(getUserResult => getUserResult.Id),
            ShowInSidebar = true,
            ResolveOnEnd = true,
            RerouteOnEnd = false,
            AlertConditionGroups = new[]
            {
                new Incident.Inputs.MaintenanceWindowAlertConditionGroupArgs
                {
                    Conditions = new[]
                    {
                        new Incident.Inputs.MaintenanceWindowAlertConditionGroupConditionArgs
                        {
                            Subject = "alert.title",
                            Operation = "contains",
                            ParamBindings = new[]
                            {
                                new Incident.Inputs.MaintenanceWindowAlertConditionGroupConditionParamBindingArgs
                                {
                                    Value = new Incident.Inputs.MaintenanceWindowAlertConditionGroupConditionParamBindingValueArgs
                                    {
                                        Literal = "database",
                                    },
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.incident.IncidentFunctions;
    import com.pulumi.incident.inputs.GetUserArgs;
    import com.pulumi.incident.MaintenanceWindow;
    import com.pulumi.incident.MaintenanceWindowArgs;
    import com.pulumi.incident.inputs.MaintenanceWindowAlertConditionGroupArgs;
    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) {
            final var opsLead = IncidentFunctions.getUser(GetUserArgs.builder()
                .email("ops-lead@example.com")
                .build());
    
            var example = new MaintenanceWindow("example", MaintenanceWindowArgs.builder()
                .name("Scheduled Database Migration")
                .startAt("2026-04-01T02:00:00Z")
                .endAt("2026-04-01T06:00:00Z")
                .leadId(opsLead.id())
                .showInSidebar(true)
                .resolveOnEnd(true)
                .rerouteOnEnd(false)
                .alertConditionGroups(MaintenanceWindowAlertConditionGroupArgs.builder()
                    .conditions(MaintenanceWindowAlertConditionGroupConditionArgs.builder()
                        .subject("alert.title")
                        .operation("contains")
                        .paramBindings(MaintenanceWindowAlertConditionGroupConditionParamBindingArgs.builder()
                            .value(MaintenanceWindowAlertConditionGroupConditionParamBindingValueArgs.builder()
                                .literal("database")
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: incident:MaintenanceWindow
        properties:
          name: Scheduled Database Migration
          startAt: 2026-04-01T02:00:00Z
          endAt: 2026-04-01T06:00:00Z
          leadId: ${opsLead.id}
          showInSidebar: true
          resolveOnEnd: true
          rerouteOnEnd: false
          alertConditionGroups:
            - conditions:
                - subject: alert.title
                  operation: contains
                  paramBindings:
                    - value:
                        literal: database
    variables:
      opsLead:
        fn::invoke:
          function: incident:getUser
          arguments:
            email: ops-lead@example.com
    

    Create MaintenanceWindow Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MaintenanceWindow(name: string, args: MaintenanceWindowArgs, opts?: CustomResourceOptions);
    @overload
    def MaintenanceWindow(resource_name: str,
                          args: MaintenanceWindowArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def MaintenanceWindow(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          lead_id: Optional[str] = None,
                          end_at: Optional[str] = None,
                          start_at: Optional[str] = None,
                          alert_condition_groups: Optional[Sequence[MaintenanceWindowAlertConditionGroupArgs]] = None,
                          notification_message: Optional[str] = None,
                          name: Optional[str] = None,
                          incident_id: Optional[str] = None,
                          notify_channels: Optional[Sequence[MaintenanceWindowNotifyChannelArgs]] = None,
                          notify_end_minutes_before: Optional[float] = None,
                          notify_start_minutes_before: Optional[float] = None,
                          reroute_on_end: Optional[bool] = None,
                          resolve_on_end: Optional[bool] = None,
                          show_in_sidebar: Optional[bool] = None,
                          escalation_targets: Optional[Sequence[MaintenanceWindowEscalationTargetArgs]] = None)
    func NewMaintenanceWindow(ctx *Context, name string, args MaintenanceWindowArgs, opts ...ResourceOption) (*MaintenanceWindow, error)
    public MaintenanceWindow(string name, MaintenanceWindowArgs args, CustomResourceOptions? opts = null)
    public MaintenanceWindow(String name, MaintenanceWindowArgs args)
    public MaintenanceWindow(String name, MaintenanceWindowArgs args, CustomResourceOptions options)
    
    type: incident:MaintenanceWindow
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MaintenanceWindowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MaintenanceWindowArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MaintenanceWindowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MaintenanceWindowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MaintenanceWindowArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var maintenanceWindowResource = new Incident.Index.MaintenanceWindow("maintenanceWindowResource", new()
    {
        LeadId = "string",
        EndAt = "string",
        StartAt = "string",
        AlertConditionGroups = new[]
        {
            new Incident.Inputs.MaintenanceWindowAlertConditionGroupArgs
            {
                Conditions = new[]
                {
                    new Incident.Inputs.MaintenanceWindowAlertConditionGroupConditionArgs
                    {
                        Operation = "string",
                        ParamBindings = new[]
                        {
                            new Incident.Inputs.MaintenanceWindowAlertConditionGroupConditionParamBindingArgs
                            {
                                ArrayValues = new[]
                                {
                                    new Incident.Inputs.MaintenanceWindowAlertConditionGroupConditionParamBindingArrayValueArgs
                                    {
                                        Literal = "string",
                                        Reference = "string",
                                    },
                                },
                                Value = new Incident.Inputs.MaintenanceWindowAlertConditionGroupConditionParamBindingValueArgs
                                {
                                    Literal = "string",
                                    Reference = "string",
                                },
                            },
                        },
                        Subject = "string",
                    },
                },
            },
        },
        NotificationMessage = "string",
        Name = "string",
        IncidentId = "string",
        NotifyChannels = new[]
        {
            new Incident.Inputs.MaintenanceWindowNotifyChannelArgs
            {
                ChannelId = "string",
                ChannelType = "string",
                ChannelName = "string",
            },
        },
        NotifyEndMinutesBefore = 0,
        NotifyStartMinutesBefore = 0,
        RerouteOnEnd = false,
        ResolveOnEnd = false,
        ShowInSidebar = false,
        EscalationTargets = new[]
        {
            new Incident.Inputs.MaintenanceWindowEscalationTargetArgs
            {
                EscalationPaths = new Incident.Inputs.MaintenanceWindowEscalationTargetEscalationPathsArgs
                {
                    ArrayValues = new[]
                    {
                        new Incident.Inputs.MaintenanceWindowEscalationTargetEscalationPathsArrayValueArgs
                        {
                            Literal = "string",
                            Reference = "string",
                        },
                    },
                    Value = new Incident.Inputs.MaintenanceWindowEscalationTargetEscalationPathsValueArgs
                    {
                        Literal = "string",
                        Reference = "string",
                    },
                },
                Users = new Incident.Inputs.MaintenanceWindowEscalationTargetUsersArgs
                {
                    ArrayValues = new[]
                    {
                        new Incident.Inputs.MaintenanceWindowEscalationTargetUsersArrayValueArgs
                        {
                            Literal = "string",
                            Reference = "string",
                        },
                    },
                    Value = new Incident.Inputs.MaintenanceWindowEscalationTargetUsersValueArgs
                    {
                        Literal = "string",
                        Reference = "string",
                    },
                },
            },
        },
    });
    
    example, err := incident.NewMaintenanceWindow(ctx, "maintenanceWindowResource", &incident.MaintenanceWindowArgs{
    	LeadId:  pulumi.String("string"),
    	EndAt:   pulumi.String("string"),
    	StartAt: pulumi.String("string"),
    	AlertConditionGroups: incident.MaintenanceWindowAlertConditionGroupArray{
    		&incident.MaintenanceWindowAlertConditionGroupArgs{
    			Conditions: incident.MaintenanceWindowAlertConditionGroupConditionArray{
    				&incident.MaintenanceWindowAlertConditionGroupConditionArgs{
    					Operation: pulumi.String("string"),
    					ParamBindings: incident.MaintenanceWindowAlertConditionGroupConditionParamBindingArray{
    						&incident.MaintenanceWindowAlertConditionGroupConditionParamBindingArgs{
    							ArrayValues: incident.MaintenanceWindowAlertConditionGroupConditionParamBindingArrayValueArray{
    								&incident.MaintenanceWindowAlertConditionGroupConditionParamBindingArrayValueArgs{
    									Literal:   pulumi.String("string"),
    									Reference: pulumi.String("string"),
    								},
    							},
    							Value: &incident.MaintenanceWindowAlertConditionGroupConditionParamBindingValueArgs{
    								Literal:   pulumi.String("string"),
    								Reference: pulumi.String("string"),
    							},
    						},
    					},
    					Subject: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	NotificationMessage: pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	IncidentId:          pulumi.String("string"),
    	NotifyChannels: incident.MaintenanceWindowNotifyChannelArray{
    		&incident.MaintenanceWindowNotifyChannelArgs{
    			ChannelId:   pulumi.String("string"),
    			ChannelType: pulumi.String("string"),
    			ChannelName: pulumi.String("string"),
    		},
    	},
    	NotifyEndMinutesBefore:   pulumi.Float64(0),
    	NotifyStartMinutesBefore: pulumi.Float64(0),
    	RerouteOnEnd:             pulumi.Bool(false),
    	ResolveOnEnd:             pulumi.Bool(false),
    	ShowInSidebar:            pulumi.Bool(false),
    	EscalationTargets: incident.MaintenanceWindowEscalationTargetArray{
    		&incident.MaintenanceWindowEscalationTargetArgs{
    			EscalationPaths: &incident.MaintenanceWindowEscalationTargetEscalationPathsArgs{
    				ArrayValues: incident.MaintenanceWindowEscalationTargetEscalationPathsArrayValueArray{
    					&incident.MaintenanceWindowEscalationTargetEscalationPathsArrayValueArgs{
    						Literal:   pulumi.String("string"),
    						Reference: pulumi.String("string"),
    					},
    				},
    				Value: &incident.MaintenanceWindowEscalationTargetEscalationPathsValueArgs{
    					Literal:   pulumi.String("string"),
    					Reference: pulumi.String("string"),
    				},
    			},
    			Users: &incident.MaintenanceWindowEscalationTargetUsersArgs{
    				ArrayValues: incident.MaintenanceWindowEscalationTargetUsersArrayValueArray{
    					&incident.MaintenanceWindowEscalationTargetUsersArrayValueArgs{
    						Literal:   pulumi.String("string"),
    						Reference: pulumi.String("string"),
    					},
    				},
    				Value: &incident.MaintenanceWindowEscalationTargetUsersValueArgs{
    					Literal:   pulumi.String("string"),
    					Reference: pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var maintenanceWindowResource = new MaintenanceWindow("maintenanceWindowResource", MaintenanceWindowArgs.builder()
        .leadId("string")
        .endAt("string")
        .startAt("string")
        .alertConditionGroups(MaintenanceWindowAlertConditionGroupArgs.builder()
            .conditions(MaintenanceWindowAlertConditionGroupConditionArgs.builder()
                .operation("string")
                .paramBindings(MaintenanceWindowAlertConditionGroupConditionParamBindingArgs.builder()
                    .arrayValues(MaintenanceWindowAlertConditionGroupConditionParamBindingArrayValueArgs.builder()
                        .literal("string")
                        .reference("string")
                        .build())
                    .value(MaintenanceWindowAlertConditionGroupConditionParamBindingValueArgs.builder()
                        .literal("string")
                        .reference("string")
                        .build())
                    .build())
                .subject("string")
                .build())
            .build())
        .notificationMessage("string")
        .name("string")
        .incidentId("string")
        .notifyChannels(MaintenanceWindowNotifyChannelArgs.builder()
            .channelId("string")
            .channelType("string")
            .channelName("string")
            .build())
        .notifyEndMinutesBefore(0.0)
        .notifyStartMinutesBefore(0.0)
        .rerouteOnEnd(false)
        .resolveOnEnd(false)
        .showInSidebar(false)
        .escalationTargets(MaintenanceWindowEscalationTargetArgs.builder()
            .escalationPaths(MaintenanceWindowEscalationTargetEscalationPathsArgs.builder()
                .arrayValues(MaintenanceWindowEscalationTargetEscalationPathsArrayValueArgs.builder()
                    .literal("string")
                    .reference("string")
                    .build())
                .value(MaintenanceWindowEscalationTargetEscalationPathsValueArgs.builder()
                    .literal("string")
                    .reference("string")
                    .build())
                .build())
            .users(MaintenanceWindowEscalationTargetUsersArgs.builder()
                .arrayValues(MaintenanceWindowEscalationTargetUsersArrayValueArgs.builder()
                    .literal("string")
                    .reference("string")
                    .build())
                .value(MaintenanceWindowEscalationTargetUsersValueArgs.builder()
                    .literal("string")
                    .reference("string")
                    .build())
                .build())
            .build())
        .build());
    
    maintenance_window_resource = incident.MaintenanceWindow("maintenanceWindowResource",
        lead_id="string",
        end_at="string",
        start_at="string",
        alert_condition_groups=[{
            "conditions": [{
                "operation": "string",
                "param_bindings": [{
                    "array_values": [{
                        "literal": "string",
                        "reference": "string",
                    }],
                    "value": {
                        "literal": "string",
                        "reference": "string",
                    },
                }],
                "subject": "string",
            }],
        }],
        notification_message="string",
        name="string",
        incident_id="string",
        notify_channels=[{
            "channel_id": "string",
            "channel_type": "string",
            "channel_name": "string",
        }],
        notify_end_minutes_before=0,
        notify_start_minutes_before=0,
        reroute_on_end=False,
        resolve_on_end=False,
        show_in_sidebar=False,
        escalation_targets=[{
            "escalation_paths": {
                "array_values": [{
                    "literal": "string",
                    "reference": "string",
                }],
                "value": {
                    "literal": "string",
                    "reference": "string",
                },
            },
            "users": {
                "array_values": [{
                    "literal": "string",
                    "reference": "string",
                }],
                "value": {
                    "literal": "string",
                    "reference": "string",
                },
            },
        }])
    
    const maintenanceWindowResource = new incident.MaintenanceWindow("maintenanceWindowResource", {
        leadId: "string",
        endAt: "string",
        startAt: "string",
        alertConditionGroups: [{
            conditions: [{
                operation: "string",
                paramBindings: [{
                    arrayValues: [{
                        literal: "string",
                        reference: "string",
                    }],
                    value: {
                        literal: "string",
                        reference: "string",
                    },
                }],
                subject: "string",
            }],
        }],
        notificationMessage: "string",
        name: "string",
        incidentId: "string",
        notifyChannels: [{
            channelId: "string",
            channelType: "string",
            channelName: "string",
        }],
        notifyEndMinutesBefore: 0,
        notifyStartMinutesBefore: 0,
        rerouteOnEnd: false,
        resolveOnEnd: false,
        showInSidebar: false,
        escalationTargets: [{
            escalationPaths: {
                arrayValues: [{
                    literal: "string",
                    reference: "string",
                }],
                value: {
                    literal: "string",
                    reference: "string",
                },
            },
            users: {
                arrayValues: [{
                    literal: "string",
                    reference: "string",
                }],
                value: {
                    literal: "string",
                    reference: "string",
                },
            },
        }],
    });
    
    type: incident:MaintenanceWindow
    properties:
        alertConditionGroups:
            - conditions:
                - operation: string
                  paramBindings:
                    - arrayValues:
                        - literal: string
                          reference: string
                      value:
                        literal: string
                        reference: string
                  subject: string
        endAt: string
        escalationTargets:
            - escalationPaths:
                arrayValues:
                    - literal: string
                      reference: string
                value:
                    literal: string
                    reference: string
              users:
                arrayValues:
                    - literal: string
                      reference: string
                value:
                    literal: string
                    reference: string
        incidentId: string
        leadId: string
        name: string
        notificationMessage: string
        notifyChannels:
            - channelId: string
              channelName: string
              channelType: string
        notifyEndMinutesBefore: 0
        notifyStartMinutesBefore: 0
        rerouteOnEnd: false
        resolveOnEnd: false
        showInSidebar: false
        startAt: string
    

    MaintenanceWindow Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MaintenanceWindow resource accepts the following input properties:

    AlertConditionGroups List<MaintenanceWindowAlertConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    EndAt string
    When the maintenance window ends
    LeadId string
    The incident.io user ID of the lead for this maintenance window
    StartAt string
    When the maintenance window starts
    EscalationTargets List<MaintenanceWindowEscalationTarget>
    If set, alerts matching this window will be escalated to these targets
    IncidentId string
    If set, alerts matching this window will be automatically attached to this incident
    Name string
    Human readable name for the maintenance window
    NotificationMessage string
    Custom message included in notifications about this maintenance window
    NotifyChannels List<MaintenanceWindowNotifyChannel>
    Channels to notify about the maintenance window starting and ending
    NotifyEndMinutesBefore double
    Minutes before the end to send a notification to the configured channels
    NotifyStartMinutesBefore double
    Minutes before the start to send a notification to the configured channels
    RerouteOnEnd bool
    Whether to retrigger firing alerts through alert routing when the window ends
    ResolveOnEnd bool
    Whether to automatically resolve all firing alerts that matched this window when it ends
    ShowInSidebar bool
    Whether to show this maintenance window in the dashboard sidebar when active
    AlertConditionGroups []MaintenanceWindowAlertConditionGroupArgs
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    EndAt string
    When the maintenance window ends
    LeadId string
    The incident.io user ID of the lead for this maintenance window
    StartAt string
    When the maintenance window starts
    EscalationTargets []MaintenanceWindowEscalationTargetArgs
    If set, alerts matching this window will be escalated to these targets
    IncidentId string
    If set, alerts matching this window will be automatically attached to this incident
    Name string
    Human readable name for the maintenance window
    NotificationMessage string
    Custom message included in notifications about this maintenance window
    NotifyChannels []MaintenanceWindowNotifyChannelArgs
    Channels to notify about the maintenance window starting and ending
    NotifyEndMinutesBefore float64
    Minutes before the end to send a notification to the configured channels
    NotifyStartMinutesBefore float64
    Minutes before the start to send a notification to the configured channels
    RerouteOnEnd bool
    Whether to retrigger firing alerts through alert routing when the window ends
    ResolveOnEnd bool
    Whether to automatically resolve all firing alerts that matched this window when it ends
    ShowInSidebar bool
    Whether to show this maintenance window in the dashboard sidebar when active
    alertConditionGroups List<MaintenanceWindowAlertConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    endAt String
    When the maintenance window ends
    leadId String
    The incident.io user ID of the lead for this maintenance window
    startAt String
    When the maintenance window starts
    escalationTargets List<MaintenanceWindowEscalationTarget>
    If set, alerts matching this window will be escalated to these targets
    incidentId String
    If set, alerts matching this window will be automatically attached to this incident
    name String
    Human readable name for the maintenance window
    notificationMessage String
    Custom message included in notifications about this maintenance window
    notifyChannels List<MaintenanceWindowNotifyChannel>
    Channels to notify about the maintenance window starting and ending
    notifyEndMinutesBefore Double
    Minutes before the end to send a notification to the configured channels
    notifyStartMinutesBefore Double
    Minutes before the start to send a notification to the configured channels
    rerouteOnEnd Boolean
    Whether to retrigger firing alerts through alert routing when the window ends
    resolveOnEnd Boolean
    Whether to automatically resolve all firing alerts that matched this window when it ends
    showInSidebar Boolean
    Whether to show this maintenance window in the dashboard sidebar when active
    alertConditionGroups MaintenanceWindowAlertConditionGroup[]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    endAt string
    When the maintenance window ends
    leadId string
    The incident.io user ID of the lead for this maintenance window
    startAt string
    When the maintenance window starts
    escalationTargets MaintenanceWindowEscalationTarget[]
    If set, alerts matching this window will be escalated to these targets
    incidentId string
    If set, alerts matching this window will be automatically attached to this incident
    name string
    Human readable name for the maintenance window
    notificationMessage string
    Custom message included in notifications about this maintenance window
    notifyChannels MaintenanceWindowNotifyChannel[]
    Channels to notify about the maintenance window starting and ending
    notifyEndMinutesBefore number
    Minutes before the end to send a notification to the configured channels
    notifyStartMinutesBefore number
    Minutes before the start to send a notification to the configured channels
    rerouteOnEnd boolean
    Whether to retrigger firing alerts through alert routing when the window ends
    resolveOnEnd boolean
    Whether to automatically resolve all firing alerts that matched this window when it ends
    showInSidebar boolean
    Whether to show this maintenance window in the dashboard sidebar when active
    alert_condition_groups Sequence[MaintenanceWindowAlertConditionGroupArgs]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    end_at str
    When the maintenance window ends
    lead_id str
    The incident.io user ID of the lead for this maintenance window
    start_at str
    When the maintenance window starts
    escalation_targets Sequence[MaintenanceWindowEscalationTargetArgs]
    If set, alerts matching this window will be escalated to these targets
    incident_id str
    If set, alerts matching this window will be automatically attached to this incident
    name str
    Human readable name for the maintenance window
    notification_message str
    Custom message included in notifications about this maintenance window
    notify_channels Sequence[MaintenanceWindowNotifyChannelArgs]
    Channels to notify about the maintenance window starting and ending
    notify_end_minutes_before float
    Minutes before the end to send a notification to the configured channels
    notify_start_minutes_before float
    Minutes before the start to send a notification to the configured channels
    reroute_on_end bool
    Whether to retrigger firing alerts through alert routing when the window ends
    resolve_on_end bool
    Whether to automatically resolve all firing alerts that matched this window when it ends
    show_in_sidebar bool
    Whether to show this maintenance window in the dashboard sidebar when active
    alertConditionGroups List<Property Map>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    endAt String
    When the maintenance window ends
    leadId String
    The incident.io user ID of the lead for this maintenance window
    startAt String
    When the maintenance window starts
    escalationTargets List<Property Map>
    If set, alerts matching this window will be escalated to these targets
    incidentId String
    If set, alerts matching this window will be automatically attached to this incident
    name String
    Human readable name for the maintenance window
    notificationMessage String
    Custom message included in notifications about this maintenance window
    notifyChannels List<Property Map>
    Channels to notify about the maintenance window starting and ending
    notifyEndMinutesBefore Number
    Minutes before the end to send a notification to the configured channels
    notifyStartMinutesBefore Number
    Minutes before the start to send a notification to the configured channels
    rerouteOnEnd Boolean
    Whether to retrigger firing alerts through alert routing when the window ends
    resolveOnEnd Boolean
    Whether to automatically resolve all firing alerts that matched this window when it ends
    showInSidebar Boolean
    Whether to show this maintenance window in the dashboard sidebar when active

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MaintenanceWindow resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing MaintenanceWindow Resource

    Get an existing MaintenanceWindow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MaintenanceWindowState, opts?: CustomResourceOptions): MaintenanceWindow
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alert_condition_groups: Optional[Sequence[MaintenanceWindowAlertConditionGroupArgs]] = None,
            end_at: Optional[str] = None,
            escalation_targets: Optional[Sequence[MaintenanceWindowEscalationTargetArgs]] = None,
            incident_id: Optional[str] = None,
            lead_id: Optional[str] = None,
            name: Optional[str] = None,
            notification_message: Optional[str] = None,
            notify_channels: Optional[Sequence[MaintenanceWindowNotifyChannelArgs]] = None,
            notify_end_minutes_before: Optional[float] = None,
            notify_start_minutes_before: Optional[float] = None,
            reroute_on_end: Optional[bool] = None,
            resolve_on_end: Optional[bool] = None,
            show_in_sidebar: Optional[bool] = None,
            start_at: Optional[str] = None) -> MaintenanceWindow
    func GetMaintenanceWindow(ctx *Context, name string, id IDInput, state *MaintenanceWindowState, opts ...ResourceOption) (*MaintenanceWindow, error)
    public static MaintenanceWindow Get(string name, Input<string> id, MaintenanceWindowState? state, CustomResourceOptions? opts = null)
    public static MaintenanceWindow get(String name, Output<String> id, MaintenanceWindowState state, CustomResourceOptions options)
    resources:  _:    type: incident:MaintenanceWindow    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AlertConditionGroups List<MaintenanceWindowAlertConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    EndAt string
    When the maintenance window ends
    EscalationTargets List<MaintenanceWindowEscalationTarget>
    If set, alerts matching this window will be escalated to these targets
    IncidentId string
    If set, alerts matching this window will be automatically attached to this incident
    LeadId string
    The incident.io user ID of the lead for this maintenance window
    Name string
    Human readable name for the maintenance window
    NotificationMessage string
    Custom message included in notifications about this maintenance window
    NotifyChannels List<MaintenanceWindowNotifyChannel>
    Channels to notify about the maintenance window starting and ending
    NotifyEndMinutesBefore double
    Minutes before the end to send a notification to the configured channels
    NotifyStartMinutesBefore double
    Minutes before the start to send a notification to the configured channels
    RerouteOnEnd bool
    Whether to retrigger firing alerts through alert routing when the window ends
    ResolveOnEnd bool
    Whether to automatically resolve all firing alerts that matched this window when it ends
    ShowInSidebar bool
    Whether to show this maintenance window in the dashboard sidebar when active
    StartAt string
    When the maintenance window starts
    AlertConditionGroups []MaintenanceWindowAlertConditionGroupArgs
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    EndAt string
    When the maintenance window ends
    EscalationTargets []MaintenanceWindowEscalationTargetArgs
    If set, alerts matching this window will be escalated to these targets
    IncidentId string
    If set, alerts matching this window will be automatically attached to this incident
    LeadId string
    The incident.io user ID of the lead for this maintenance window
    Name string
    Human readable name for the maintenance window
    NotificationMessage string
    Custom message included in notifications about this maintenance window
    NotifyChannels []MaintenanceWindowNotifyChannelArgs
    Channels to notify about the maintenance window starting and ending
    NotifyEndMinutesBefore float64
    Minutes before the end to send a notification to the configured channels
    NotifyStartMinutesBefore float64
    Minutes before the start to send a notification to the configured channels
    RerouteOnEnd bool
    Whether to retrigger firing alerts through alert routing when the window ends
    ResolveOnEnd bool
    Whether to automatically resolve all firing alerts that matched this window when it ends
    ShowInSidebar bool
    Whether to show this maintenance window in the dashboard sidebar when active
    StartAt string
    When the maintenance window starts
    alertConditionGroups List<MaintenanceWindowAlertConditionGroup>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    endAt String
    When the maintenance window ends
    escalationTargets List<MaintenanceWindowEscalationTarget>
    If set, alerts matching this window will be escalated to these targets
    incidentId String
    If set, alerts matching this window will be automatically attached to this incident
    leadId String
    The incident.io user ID of the lead for this maintenance window
    name String
    Human readable name for the maintenance window
    notificationMessage String
    Custom message included in notifications about this maintenance window
    notifyChannels List<MaintenanceWindowNotifyChannel>
    Channels to notify about the maintenance window starting and ending
    notifyEndMinutesBefore Double
    Minutes before the end to send a notification to the configured channels
    notifyStartMinutesBefore Double
    Minutes before the start to send a notification to the configured channels
    rerouteOnEnd Boolean
    Whether to retrigger firing alerts through alert routing when the window ends
    resolveOnEnd Boolean
    Whether to automatically resolve all firing alerts that matched this window when it ends
    showInSidebar Boolean
    Whether to show this maintenance window in the dashboard sidebar when active
    startAt String
    When the maintenance window starts
    alertConditionGroups MaintenanceWindowAlertConditionGroup[]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    endAt string
    When the maintenance window ends
    escalationTargets MaintenanceWindowEscalationTarget[]
    If set, alerts matching this window will be escalated to these targets
    incidentId string
    If set, alerts matching this window will be automatically attached to this incident
    leadId string
    The incident.io user ID of the lead for this maintenance window
    name string
    Human readable name for the maintenance window
    notificationMessage string
    Custom message included in notifications about this maintenance window
    notifyChannels MaintenanceWindowNotifyChannel[]
    Channels to notify about the maintenance window starting and ending
    notifyEndMinutesBefore number
    Minutes before the end to send a notification to the configured channels
    notifyStartMinutesBefore number
    Minutes before the start to send a notification to the configured channels
    rerouteOnEnd boolean
    Whether to retrigger firing alerts through alert routing when the window ends
    resolveOnEnd boolean
    Whether to automatically resolve all firing alerts that matched this window when it ends
    showInSidebar boolean
    Whether to show this maintenance window in the dashboard sidebar when active
    startAt string
    When the maintenance window starts
    alert_condition_groups Sequence[MaintenanceWindowAlertConditionGroupArgs]
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    end_at str
    When the maintenance window ends
    escalation_targets Sequence[MaintenanceWindowEscalationTargetArgs]
    If set, alerts matching this window will be escalated to these targets
    incident_id str
    If set, alerts matching this window will be automatically attached to this incident
    lead_id str
    The incident.io user ID of the lead for this maintenance window
    name str
    Human readable name for the maintenance window
    notification_message str
    Custom message included in notifications about this maintenance window
    notify_channels Sequence[MaintenanceWindowNotifyChannelArgs]
    Channels to notify about the maintenance window starting and ending
    notify_end_minutes_before float
    Minutes before the end to send a notification to the configured channels
    notify_start_minutes_before float
    Minutes before the start to send a notification to the configured channels
    reroute_on_end bool
    Whether to retrigger firing alerts through alert routing when the window ends
    resolve_on_end bool
    Whether to automatically resolve all firing alerts that matched this window when it ends
    show_in_sidebar bool
    Whether to show this maintenance window in the dashboard sidebar when active
    start_at str
    When the maintenance window starts
    alertConditionGroups List<Property Map>
    Groups of prerequisite conditions. All conditions in at least one group must be satisfied
    endAt String
    When the maintenance window ends
    escalationTargets List<Property Map>
    If set, alerts matching this window will be escalated to these targets
    incidentId String
    If set, alerts matching this window will be automatically attached to this incident
    leadId String
    The incident.io user ID of the lead for this maintenance window
    name String
    Human readable name for the maintenance window
    notificationMessage String
    Custom message included in notifications about this maintenance window
    notifyChannels List<Property Map>
    Channels to notify about the maintenance window starting and ending
    notifyEndMinutesBefore Number
    Minutes before the end to send a notification to the configured channels
    notifyStartMinutesBefore Number
    Minutes before the start to send a notification to the configured channels
    rerouteOnEnd Boolean
    Whether to retrigger firing alerts through alert routing when the window ends
    resolveOnEnd Boolean
    Whether to automatically resolve all firing alerts that matched this window when it ends
    showInSidebar Boolean
    Whether to show this maintenance window in the dashboard sidebar when active
    startAt String
    When the maintenance window starts

    Supporting Types

    MaintenanceWindowAlertConditionGroup, MaintenanceWindowAlertConditionGroupArgs

    Conditions List<MaintenanceWindowAlertConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    Conditions []MaintenanceWindowAlertConditionGroupCondition
    The prerequisite conditions that must all be satisfied
    conditions List<MaintenanceWindowAlertConditionGroupCondition>
    The prerequisite conditions that must all be satisfied
    conditions MaintenanceWindowAlertConditionGroupCondition[]
    The prerequisite conditions that must all be satisfied
    conditions Sequence[MaintenanceWindowAlertConditionGroupCondition]
    The prerequisite conditions that must all be satisfied
    conditions List<Property Map>
    The prerequisite conditions that must all be satisfied

    MaintenanceWindowAlertConditionGroupCondition, MaintenanceWindowAlertConditionGroupConditionArgs

    Operation string
    The logical operation to be applied
    ParamBindings List<MaintenanceWindowAlertConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    Operation string
    The logical operation to be applied
    ParamBindings []MaintenanceWindowAlertConditionGroupConditionParamBinding
    Bindings for the operation parameters
    Subject string
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<MaintenanceWindowAlertConditionGroupConditionParamBinding>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied
    operation string
    The logical operation to be applied
    paramBindings MaintenanceWindowAlertConditionGroupConditionParamBinding[]
    Bindings for the operation parameters
    subject string
    The subject of the condition, on which the operation is applied
    operation str
    The logical operation to be applied
    param_bindings Sequence[MaintenanceWindowAlertConditionGroupConditionParamBinding]
    Bindings for the operation parameters
    subject str
    The subject of the condition, on which the operation is applied
    operation String
    The logical operation to be applied
    paramBindings List<Property Map>
    Bindings for the operation parameters
    subject String
    The subject of the condition, on which the operation is applied

    MaintenanceWindowAlertConditionGroupConditionParamBinding, MaintenanceWindowAlertConditionGroupConditionParamBindingArgs

    arrayValues List<Property Map>
    The array of literal or reference parameter values
    value Property Map
    The literal or reference parameter value

    MaintenanceWindowAlertConditionGroupConditionParamBindingArrayValue, MaintenanceWindowAlertConditionGroupConditionParamBindingArrayValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    MaintenanceWindowAlertConditionGroupConditionParamBindingValue, MaintenanceWindowAlertConditionGroupConditionParamBindingValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    MaintenanceWindowEscalationTarget, MaintenanceWindowEscalationTargetArgs

    escalationPaths Property Map
    Escalation paths to route alerts to
    users Property Map
    Users to notify directly

    MaintenanceWindowEscalationTargetEscalationPaths, MaintenanceWindowEscalationTargetEscalationPathsArgs

    ArrayValues List<MaintenanceWindowEscalationTargetEscalationPathsArrayValue>
    The array of literal or reference parameter values
    Value MaintenanceWindowEscalationTargetEscalationPathsValue
    The literal or reference parameter value
    ArrayValues []MaintenanceWindowEscalationTargetEscalationPathsArrayValue
    The array of literal or reference parameter values
    Value MaintenanceWindowEscalationTargetEscalationPathsValue
    The literal or reference parameter value
    arrayValues List<MaintenanceWindowEscalationTargetEscalationPathsArrayValue>
    The array of literal or reference parameter values
    value MaintenanceWindowEscalationTargetEscalationPathsValue
    The literal or reference parameter value
    arrayValues MaintenanceWindowEscalationTargetEscalationPathsArrayValue[]
    The array of literal or reference parameter values
    value MaintenanceWindowEscalationTargetEscalationPathsValue
    The literal or reference parameter value
    array_values Sequence[MaintenanceWindowEscalationTargetEscalationPathsArrayValue]
    The array of literal or reference parameter values
    value MaintenanceWindowEscalationTargetEscalationPathsValue
    The literal or reference parameter value
    arrayValues List<Property Map>
    The array of literal or reference parameter values
    value Property Map
    The literal or reference parameter value

    MaintenanceWindowEscalationTargetEscalationPathsArrayValue, MaintenanceWindowEscalationTargetEscalationPathsArrayValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    MaintenanceWindowEscalationTargetEscalationPathsValue, MaintenanceWindowEscalationTargetEscalationPathsValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    MaintenanceWindowEscalationTargetUsers, MaintenanceWindowEscalationTargetUsersArgs

    ArrayValues List<MaintenanceWindowEscalationTargetUsersArrayValue>
    The array of literal or reference parameter values
    Value MaintenanceWindowEscalationTargetUsersValue
    The literal or reference parameter value
    ArrayValues []MaintenanceWindowEscalationTargetUsersArrayValue
    The array of literal or reference parameter values
    Value MaintenanceWindowEscalationTargetUsersValue
    The literal or reference parameter value
    arrayValues List<MaintenanceWindowEscalationTargetUsersArrayValue>
    The array of literal or reference parameter values
    value MaintenanceWindowEscalationTargetUsersValue
    The literal or reference parameter value
    arrayValues MaintenanceWindowEscalationTargetUsersArrayValue[]
    The array of literal or reference parameter values
    value MaintenanceWindowEscalationTargetUsersValue
    The literal or reference parameter value
    array_values Sequence[MaintenanceWindowEscalationTargetUsersArrayValue]
    The array of literal or reference parameter values
    value MaintenanceWindowEscalationTargetUsersValue
    The literal or reference parameter value
    arrayValues List<Property Map>
    The array of literal or reference parameter values
    value Property Map
    The literal or reference parameter value

    MaintenanceWindowEscalationTargetUsersArrayValue, MaintenanceWindowEscalationTargetUsersArrayValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    MaintenanceWindowEscalationTargetUsersValue, MaintenanceWindowEscalationTargetUsersValueArgs

    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    Literal string
    If set, this is the literal value of the step parameter
    Reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal string
    If set, this is the literal value of the step parameter
    reference string
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal str
    If set, this is the literal value of the step parameter
    reference str
    If set, this is the reference into the trigger scope that is the value of this parameter
    literal String
    If set, this is the literal value of the step parameter
    reference String
    If set, this is the reference into the trigger scope that is the value of this parameter

    MaintenanceWindowNotifyChannel, MaintenanceWindowNotifyChannelArgs

    ChannelId string
    The external provider channel ID (e.g. Slack channel ID)
    ChannelType string
    The type of channel (e.g. public, private)
    ChannelName string
    Human readable name of the channel
    ChannelId string
    The external provider channel ID (e.g. Slack channel ID)
    ChannelType string
    The type of channel (e.g. public, private)
    ChannelName string
    Human readable name of the channel
    channelId String
    The external provider channel ID (e.g. Slack channel ID)
    channelType String
    The type of channel (e.g. public, private)
    channelName String
    Human readable name of the channel
    channelId string
    The external provider channel ID (e.g. Slack channel ID)
    channelType string
    The type of channel (e.g. public, private)
    channelName string
    Human readable name of the channel
    channel_id str
    The external provider channel ID (e.g. Slack channel ID)
    channel_type str
    The type of channel (e.g. public, private)
    channel_name str
    Human readable name of the channel
    channelId String
    The external provider channel ID (e.g. Slack channel ID)
    channelType String
    The type of channel (e.g. public, private)
    channelName String
    Human readable name of the channel

    Import

    The pulumi import command can be used, for example:

    #!/bin/bash

    Import a maintenance window using its ID

    Replace the ID with a real ID from your incident.io organization

    $ pulumi import incident:index/maintenanceWindow:MaintenanceWindow example 01ABC123DEF456GHI789JKL
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    incident incident-io/terraform-provider-incident
    License
    Notes
    This Pulumi package is based on the incident Terraform Provider.
    Viewing docs for incident 5.32.0
    published on Tuesday, Mar 24, 2026 by incident-io
      Try Pulumi Cloud free. Your team will thank you.