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.
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]
> Note: This function is named LookupInstanceEventWindow in the Go SDK.
fn::invoke:
function: aws-native:ec2:getInstanceEventWindow
arguments:
# arguments dictionary
data "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.
- CronExpression
string
- The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- InstanceEventWindowId
string
- 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.
- Tags
Tag
- The tags applied to the event window.
- TimeRanges
[]InstanceEventWindowTimeRange
- 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_window_id
string
- 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.
- tags
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.
- cronExpression
String
- The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- instanceEventWindowId
String
- 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.
- tags
List<Tag>
- The tags applied to the event window.
- timeRanges
List<InstanceEventWindowTimeRange>
- 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.
- cronExpression
string
- The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- instanceEventWindowId
string
- 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.
- tags
Tag[]
- The tags applied to the event window.
- timeRanges
InstanceEventWindowTimeRange[]
- 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_window_id
str
- 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.
- tags
Sequence[root_Tag]
- The tags applied to the event window.
- time_ranges
Sequence[InstanceEventWindowTimeRange]
- 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.
- cronExpression
String
- The cron expression defined for the event window. Exactly one of TimeRanges or CronExpression must be specified.
- instanceEventWindowId
String
- 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.
- tags
List<Property Map>
- The tags applied to the event window.
- timeRanges
List<Property Map>
- The time ranges of the event window. Exactly one of TimeRanges or CronExpression must be specified.
Supporting Types
InstanceEventWindowTimeRange
InstanceEventWindowTimeRangeEndWeekDay
| Name | Value |
|---|
| Sunday | sunday |
| Monday | monday |
| Tuesday | tuesday |
| Wednesday | wednesday |
| Thursday | thursday |
| Friday | friday |
| Saturday | saturday |
| Name | Value |
|---|
| InstanceEventWindowTimeRangeEndWeekDaySunday | sunday |
| InstanceEventWindowTimeRangeEndWeekDayMonday | monday |
| InstanceEventWindowTimeRangeEndWeekDayTuesday | tuesday |
| InstanceEventWindowTimeRangeEndWeekDayWednesday | wednesday |
| InstanceEventWindowTimeRangeEndWeekDayThursday | thursday |
| InstanceEventWindowTimeRangeEndWeekDayFriday | friday |
| InstanceEventWindowTimeRangeEndWeekDaySaturday | saturday |
| Value |
|---|
sunday |
monday |
tuesday |
wednesday |
thursday |
friday |
saturday |
| Name | Value |
|---|
| Sunday | sunday |
| Monday | monday |
| Tuesday | tuesday |
| Wednesday | wednesday |
| Thursday | thursday |
| Friday | friday |
| Saturday | saturday |
| Name | Value |
|---|
| Sunday | sunday |
| Monday | monday |
| Tuesday | tuesday |
| Wednesday | wednesday |
| Thursday | thursday |
| Friday | friday |
| Saturday | saturday |
| Name | Value |
|---|
| SUNDAY | sunday |
| MONDAY | monday |
| TUESDAY | tuesday |
| WEDNESDAY | wednesday |
| THURSDAY | thursday |
| FRIDAY | friday |
| SATURDAY | saturday |
| Value |
|---|
sunday |
monday |
tuesday |
wednesday |
thursday |
friday |
saturday |
InstanceEventWindowTimeRangeStartWeekDay
| Name | Value |
|---|
| Sunday | sunday |
| Monday | monday |
| Tuesday | tuesday |
| Wednesday | wednesday |
| Thursday | thursday |
| Friday | friday |
| Saturday | saturday |
| Name | Value |
|---|
| InstanceEventWindowTimeRangeStartWeekDaySunday | sunday |
| InstanceEventWindowTimeRangeStartWeekDayMonday | monday |
| InstanceEventWindowTimeRangeStartWeekDayTuesday | tuesday |
| InstanceEventWindowTimeRangeStartWeekDayWednesday | wednesday |
| InstanceEventWindowTimeRangeStartWeekDayThursday | thursday |
| InstanceEventWindowTimeRangeStartWeekDayFriday | friday |
| InstanceEventWindowTimeRangeStartWeekDaySaturday | saturday |
| Value |
|---|
sunday |
monday |
tuesday |
wednesday |
thursday |
friday |
saturday |
| Name | Value |
|---|
| Sunday | sunday |
| Monday | monday |
| Tuesday | tuesday |
| Wednesday | wednesday |
| Thursday | thursday |
| Friday | friday |
| Saturday | saturday |
| Name | Value |
|---|
| Sunday | sunday |
| Monday | monday |
| Tuesday | tuesday |
| Wednesday | wednesday |
| Thursday | thursday |
| Friday | friday |
| Saturday | saturday |
| Name | Value |
|---|
| SUNDAY | sunday |
| MONDAY | monday |
| TUESDAY | tuesday |
| WEDNESDAY | wednesday |
| THURSDAY | thursday |
| FRIDAY | friday |
| SATURDAY | saturday |
| Value |
|---|
sunday |
monday |
tuesday |
wednesday |
thursday |
friday |
saturday |
Tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0