We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
Resource type definition for AWS::EC2::InstanceEventWindow. An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.
Using getInstanceEventWindow
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstanceEventWindow(args: GetInstanceEventWindowArgs, opts?: InvokeOptions): Promise<GetInstanceEventWindowResult>
function getInstanceEventWindowOutput(args: GetInstanceEventWindowOutputArgs, opts?: InvokeOutputOptions): Output<GetInstanceEventWindowResult>def get_instance_event_window(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceEventWindowResult
def get_instance_event_window_output(arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetInstanceEventWindowResult]func LookupInstanceEventWindow(ctx *Context, args *LookupInstanceEventWindowArgs, opts ...InvokeOption) (*LookupInstanceEventWindowResult, error)
func LookupInstanceEventWindowOutput(ctx *Context, args *LookupInstanceEventWindowOutputArgs, opts ...InvokeOption) LookupInstanceEventWindowResultOutput> Note: This function is named LookupInstanceEventWindow in the Go SDK.
public static class GetInstanceEventWindow
{
public static Task<GetInstanceEventWindowResult> InvokeAsync(GetInstanceEventWindowArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceEventWindowResult> Invoke(GetInstanceEventWindowInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceEventWindowResult> Invoke(GetInstanceEventWindowInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetInstanceEventWindowResult> getInstanceEventWindow(GetInstanceEventWindowArgs args, InvokeOptions options)
public static Output<GetInstanceEventWindowResult> getInstanceEventWindow(GetInstanceEventWindowArgs args, InvokeOptions options)
public static Output<GetInstanceEventWindowResult> getInstanceEventWindow(GetInstanceEventWindowArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:ec2:getInstanceEventWindow
arguments:
# arguments dictionarydata "aws-native_ec2_get_instance_event_window" "name" {
# arguments
}The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the event window.
- Arn string
- The Amazon Resource Name (ARN) of the event window.
- arn string
- The Amazon Resource Name (ARN) of the event window.
- arn String
- The Amazon Resource Name (ARN) of the event window.
- arn string
- The Amazon Resource Name (ARN) of the event window.
- arn str
- The Amazon Resource Name (ARN) of the event window.
- arn String
- The Amazon Resource Name (ARN) of the event window.
getInstanceEventWindow Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the event window.
- Cron
Expression string - The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- Instance
Event stringWindow Id - The ID of the event window.
- Name string
- The name of the event window.
- State string
- The current state of the event window. Observed values include creating, active, modifying, deleting and deleted.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags applied to the event window.
- Time
Ranges List<Pulumi.Aws Native. Ec2. Outputs. Instance Event Window Time Range> - The time ranges of the event window. Exactly one of TimeRanges or CronExpression must be specified.
- Arn string
- The Amazon Resource Name (ARN) of the event window.
- Cron
Expression string - The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- Instance
Event stringWindow Id - The ID of the event window.
- Name string
- The name of the event window.
- State string
- The current state of the event window. Observed values include creating, active, modifying, deleting and deleted.
- Tag
- The tags applied to the event window.
- Time
Ranges []InstanceEvent Window Time Range - The time ranges of the event window. Exactly one of TimeRanges or CronExpression must be specified.
- arn string
- The Amazon Resource Name (ARN) of the event window.
- cron_
expression string - The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- instance_
event_ stringwindow_ id - The ID of the event window.
- name string
- The name of the event window.
- state string
- The current state of the event window. Observed values include creating, active, modifying, deleting and deleted.
- list(object)
- The tags applied to the event window.
- time_
ranges list(object) - The time ranges of the event window. Exactly one of TimeRanges or CronExpression must be specified.
- arn String
- The Amazon Resource Name (ARN) of the event window.
- cron
Expression String - The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- instance
Event StringWindow Id - The ID of the event window.
- name String
- The name of the event window.
- state String
- The current state of the event window. Observed values include creating, active, modifying, deleting and deleted.
- List<Tag>
- The tags applied to the event window.
- time
Ranges List<InstanceEvent Window Time Range> - The time ranges of the event window. Exactly one of TimeRanges or CronExpression must be specified.
- arn string
- The Amazon Resource Name (ARN) of the event window.
- cron
Expression string - The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- instance
Event stringWindow Id - The ID of the event window.
- name string
- The name of the event window.
- state string
- The current state of the event window. Observed values include creating, active, modifying, deleting and deleted.
- Tag[]
- The tags applied to the event window.
- time
Ranges InstanceEvent Window Time Range[] - The time ranges of the event window. Exactly one of TimeRanges or CronExpression must be specified.
- arn str
- The Amazon Resource Name (ARN) of the event window.
- cron_
expression str - The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- instance_
event_ strwindow_ id - The ID of the event window.
- name str
- The name of the event window.
- state str
- The current state of the event window. Observed values include creating, active, modifying, deleting and deleted.
- Sequence[root_Tag]
- The tags applied to the event window.
- time_
ranges Sequence[InstanceEvent Window Time Range] - The time ranges of the event window. Exactly one of TimeRanges or CronExpression must be specified.
- arn String
- The Amazon Resource Name (ARN) of the event window.
- cron
Expression String - The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- instance
Event StringWindow Id - The ID of the event window.
- name String
- The name of the event window.
- state String
- The current state of the event window. Observed values include creating, active, modifying, deleting and deleted.
- List<Property Map>
- The tags applied to the event window.
- time
Ranges List<Property Map> - The time ranges of the event window. Exactly one of TimeRanges or CronExpression must be specified.
Supporting Types
InstanceEventWindowTimeRange
- End
Hour int - The hour when the time range ends.
- End
Week Pulumi.Day Aws Native. Ec2. Instance Event Window Time Range End Week Day - The day on which the time range ends.
- Start
Hour int - The hour when the time range begins.
- Start
Week Pulumi.Day Aws Native. Ec2. Instance Event Window Time Range Start Week Day - The day on which the time range begins.
- End
Hour int - The hour when the time range ends.
- End
Week InstanceDay Event Window Time Range End Week Day - The day on which the time range ends.
- Start
Hour int - The hour when the time range begins.
- Start
Week InstanceDay Event Window Time Range Start Week Day - The day on which the time range begins.
- end_
hour number - The hour when the time range ends.
- end_
week_ "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"day - The day on which the time range ends.
- start_
hour number - The hour when the time range begins.
- start_
week_ "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"day - The day on which the time range begins.
- end
Hour Integer - The hour when the time range ends.
- end
Week InstanceDay Event Window Time Range End Week Day - The day on which the time range ends.
- start
Hour Integer - The hour when the time range begins.
- start
Week InstanceDay Event Window Time Range Start Week Day - The day on which the time range begins.
- end
Hour number - The hour when the time range ends.
- end
Week InstanceDay Event Window Time Range End Week Day - The day on which the time range ends.
- start
Hour number - The hour when the time range begins.
- start
Week InstanceDay Event Window Time Range Start Week Day - The day on which the time range begins.
- end_
hour int - The hour when the time range ends.
- end_
week_ Instanceday Event Window Time Range End Week Day - The day on which the time range ends.
- start_
hour int - The hour when the time range begins.
- start_
week_ Instanceday Event Window Time Range Start Week Day - The day on which the time range begins.
- end
Hour Number - The hour when the time range ends.
- end
Week "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"Day - The day on which the time range ends.
- start
Hour Number - The hour when the time range begins.
- start
Week "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"Day - The day on which the time range begins.
InstanceEventWindowTimeRangeEndWeekDay
InstanceEventWindowTimeRangeStartWeekDay
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi