class Amazonite::Ssm::UpdateMaintenanceWindowRequest

Included Modules

Defined in:

ssm/update_maintenance_window_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(window_id : String, name : String | Nil = nil, description : String | Nil = nil, start_date : String | Nil = nil, end_date : String | Nil = nil, schedule : String | Nil = nil, schedule_timezone : String | Nil = nil, schedule_offset : Int32 | Nil = nil, duration : Int32 | Nil = nil, cutoff : Int32 | Nil = nil, allow_unassociated_targets : Bool | Nil = nil, enabled : Bool | Nil = nil, replace : Bool | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def allow_unassociated_targets : Bool | Nil #

Whether targets must be registered with the maintenance window before tasks can be defined for those targets.


[View source]
def allow_unassociated_targets=(allow_unassociated_targets : Bool | Nil) #

Whether targets must be registered with the maintenance window before tasks can be defined for those targets.


[View source]
def cutoff : Int32 | Nil #

The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.


[View source]
def cutoff=(cutoff : Int32 | Nil) #

The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.


[View source]
def description : String | Nil #

An optional description for the update request.


[View source]
def description=(description : String | Nil) #

An optional description for the update request.


[View source]
def duration : Int32 | Nil #

The duration of the maintenance window in hours.


[View source]
def duration=(duration : Int32 | Nil) #

The duration of the maintenance window in hours.


[View source]
def enabled : Bool | Nil #

Whether the maintenance window is enabled.


[View source]
def enabled=(enabled : Bool | Nil) #

Whether the maintenance window is enabled.


[View source]
def end_date : String | Nil #

The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become inactive. EndDate allows you to set a date and time in the future when the maintenance window will no longer run.


[View source]
def end_date=(end_date : String | Nil) #

The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become inactive. EndDate allows you to set a date and time in the future when the maintenance window will no longer run.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String | Nil #

The name of the maintenance window.


[View source]
def name=(name : String | Nil) #

The name of the maintenance window.


[View source]
def replace : Bool | Nil #

If True, then all fields that are required by the CreateMaintenanceWindow operation are also required for this API request. Optional fields that aren't specified are set to null.


[View source]
def replace=(replace : Bool | Nil) #

If True, then all fields that are required by the CreateMaintenanceWindow operation are also required for this API request. Optional fields that aren't specified are set to null.


[View source]
def schedule : String | Nil #

The schedule of the maintenance window in the form of a cron or rate expression.


[View source]
def schedule=(schedule : String | Nil) #

The schedule of the maintenance window in the form of a cron or rate expression.


[View source]
def schedule_offset : Int32 | Nil #

The number of days to wait after the date and time specified by a cron expression before running the maintenance window.

For example, the following cron expression schedules a maintenance window to run the third Tuesday of every month at 11:30 PM.

cron(30 23 ? * TUE#3 *)

If the schedule offset is 2, the maintenance window won't run until two days later.


[View source]
def schedule_offset=(schedule_offset : Int32 | Nil) #

The number of days to wait after the date and time specified by a cron expression before running the maintenance window.

For example, the following cron expression schedules a maintenance window to run the third Tuesday of every month at 11:30 PM.

cron(30 23 ? * TUE#3 *)

If the schedule offset is 2, the maintenance window won't run until two days later.


[View source]
def schedule_timezone : String | Nil #

The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.


[View source]
def schedule_timezone=(schedule_timezone : String | Nil) #

The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.


[View source]
def start_date : String | Nil #

The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become active. StartDate allows you to delay activation of the maintenance window until the specified future date.

When using a rate schedule, if you provide a start date that occurs in the past, the current date and time are used as the start date.


[View source]
def start_date=(start_date : String | Nil) #

The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become active. StartDate allows you to delay activation of the maintenance window until the specified future date.

When using a rate schedule, if you provide a start date that occurs in the past, the current date and time are used as the start date.


[View source]
def validate! : Nil #

[View source]
def window_id : String #

The ID of the maintenance window to update.


[View source]
def window_id=(window_id : String) #

The ID of the maintenance window to update.


[View source]