class Amazonite::Ssm::GetMaintenanceWindowExecutionTaskResult

Included Modules

Defined in:

ssm/get_maintenance_window_execution_task_result.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(window_execution_id : String | Nil = nil, task_execution_id : String | Nil = nil, task_arn : String | Nil = nil, service_role : String | Nil = nil, type : MaintenanceWindowTaskType | Nil = nil, task_parameters : Array(Hash(String, MaintenanceWindowTaskParameterValueExpression)) | Nil = nil, priority : Int32 | Nil = nil, max_concurrency : String | Nil = nil, max_errors : String | Nil = nil, status : MaintenanceWindowExecutionStatus | Nil = nil, status_details : String | Nil = nil, start_time : Time | Nil = nil, end_time : Time | Nil = nil, alarm_configuration : AlarmConfiguration | Nil = nil, triggered_alarms : Array(AlarmStateInformation) | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[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 alarm_configuration : AlarmConfiguration | Nil #

The details for the CloudWatch alarm you applied to your maintenance window task.


[View source]
def alarm_configuration=(alarm_configuration : AlarmConfiguration | Nil) #

The details for the CloudWatch alarm you applied to your maintenance window task.


[View source]
def end_time : Time | Nil #

The time the task execution completed.


[View source]
def end_time=(end_time : Time | Nil) #

The time the task execution completed.


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

See Object#hash(hasher)


def max_concurrency : String | Nil #

The defined maximum number of task executions that could be run in parallel.


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

The defined maximum number of task executions that could be run in parallel.


[View source]
def max_errors : String | Nil #

The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.


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

The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.


[View source]
def priority : Int32 | Nil #

The priority of the task.


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

The priority of the task.


[View source]
def service_role : String | Nil #

The role that was assumed when running the task.


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

The role that was assumed when running the task.


[View source]
def start_time : Time | Nil #

The time the task execution started.


[View source]
def start_time=(start_time : Time | Nil) #

The time the task execution started.


[View source]
def status : MaintenanceWindowExecutionStatus | Nil #

The status of the task.


[View source]
def status=(status : MaintenanceWindowExecutionStatus | Nil) #

The status of the task.


[View source]
def status_details : String | Nil #

The details explaining the status. Not available for all status values.


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

The details explaining the status. Not available for all status values.


[View source]
def task_arn : String | Nil #

The Amazon Resource Name (ARN) of the task that ran.


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

The Amazon Resource Name (ARN) of the task that ran.


[View source]
def task_execution_id : String | Nil #

The ID of the specific task execution in the maintenance window task that was retrieved.


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

The ID of the specific task execution in the maintenance window task that was retrieved.


[View source]
def task_parameters : Array(Hash(String, MaintenanceWindowTaskParameterValueExpression)) | Nil #

The parameters passed to the task when it was run.

TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters option in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.

The map has the following format:

  • Key: string, between 1 and 255 characters

  • Value: an array of strings, each between 1 and 255 characters


[View source]
def task_parameters=(task_parameters : Array(Hash(String, MaintenanceWindowTaskParameterValueExpression)) | Nil) #

The parameters passed to the task when it was run.

TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters option in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.

The map has the following format:

  • Key: string, between 1 and 255 characters

  • Value: an array of strings, each between 1 and 255 characters


[View source]
def triggered_alarms : Array(AlarmStateInformation) | Nil #

The CloudWatch alarms that were invoked by the maintenance window task.


[View source]
def triggered_alarms=(triggered_alarms : Array(AlarmStateInformation) | Nil) #

The CloudWatch alarms that were invoked by the maintenance window task.


[View source]
def type : MaintenanceWindowTaskType | Nil #

The type of task that was run.


[View source]
def type=(type : MaintenanceWindowTaskType | Nil) #

The type of task that was run.


[View source]
def validate! : Nil #

[View source]
def window_execution_id : String | Nil #

The ID of the maintenance window execution that includes the task.


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

The ID of the maintenance window execution that includes the task.


[View source]