class Amazonite::Ssm::AutomationExecutionMetadata

Overview

Details about a specific Automation execution.

Included Modules

Defined in:

ssm/automation_execution_metadata.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(automation_execution_id : String | Nil = nil, document_name : String | Nil = nil, document_version : String | Nil = nil, automation_execution_status : AutomationExecutionStatus | Nil = nil, execution_start_time : Time | Nil = nil, execution_end_time : Time | Nil = nil, executed_by : String | Nil = nil, log_file : String | Nil = nil, outputs : Hash(String, Array(String)) | Nil = nil, mode : ExecutionMode | Nil = nil, parent_automation_execution_id : String | Nil = nil, current_step_name : String | Nil = nil, current_action : String | Nil = nil, failure_message : String | Nil = nil, warning_message : String | Nil = nil, target_parameter_name : String | Nil = nil, targets : Array(Target) | Nil = nil, target_maps : Array(Hash(String, Array(String))) | Nil = nil, resolved_targets : ResolvedTargets | Nil = nil, max_concurrency : String | Nil = nil, max_errors : String | Nil = nil, target : String | Nil = nil, automation_type : AutomationType | Nil = nil, alarm_configuration : AlarmConfiguration | Nil = nil, triggered_alarms : Array(AlarmStateInformation) | Nil = nil, target_locations_url : String | Nil = nil, automation_subtype : AutomationSubtype | Nil = nil, scheduled_time : Time | Nil = nil, runbooks : Array(Runbook) | Nil = nil, ops_item_id : String | Nil = nil, association_id : String | Nil = nil, change_request_name : String | 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 alarm_configuration : AlarmConfiguration | Nil #

The details for the CloudWatch alarm applied to your automation.


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

The details for the CloudWatch alarm applied to your automation.


[View source]
def association_id : String | Nil #

The ID of a State Manager association used in the Automation operation.


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

The ID of a State Manager association used in the Automation operation.


[View source]
def automation_execution_id : String | Nil #

The execution ID.


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

The execution ID.


[View source]
def automation_execution_status : AutomationExecutionStatus | Nil #

The status of the execution.


[View source]
def automation_execution_status=(automation_execution_status : AutomationExecutionStatus | Nil) #

The status of the execution.


[View source]
def automation_subtype : AutomationSubtype | Nil #

The subtype of the Automation operation. Currently, the only supported value is ChangeRequest.


[View source]
def automation_subtype=(automation_subtype : AutomationSubtype | Nil) #

The subtype of the Automation operation. Currently, the only supported value is ChangeRequest.


[View source]
def automation_type : AutomationType | Nil #

Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.


[View source]
def automation_type=(automation_type : AutomationType | Nil) #

Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.


[View source]
def change_request_name : String | Nil #

The name of the Change Manager change request.


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

The name of the Change Manager change request.


[View source]
def current_action : String | Nil #

The action of the step that is currently running.


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

The action of the step that is currently running.


[View source]
def current_step_name : String | Nil #

The name of the step that is currently running.


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

The name of the step that is currently running.


[View source]
def document_name : String | Nil #

The name of the Automation runbook used during execution.


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

The name of the Automation runbook used during execution.


[View source]
def document_version : String | Nil #

The document version used during the execution.


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

The document version used during the execution.


[View source]
def executed_by : String | Nil #

The IAM role ARN of the user who ran the automation.


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

The IAM role ARN of the user who ran the automation.


[View source]
def execution_end_time : Time | Nil #

The time the execution finished. This isn't populated if the execution is still in progress.


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

The time the execution finished. This isn't populated if the execution is still in progress.


[View source]
def execution_start_time : Time | Nil #

The time the execution started.


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

The time the execution started.


[View source]
def failure_message : String | Nil #

A message that describes a failure that occurred during the automation execution.


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

A message that describes a failure that occurred during the automation execution.


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

See Object#hash(hasher)


def log_file : String | Nil #

An S3 bucket where execution information is stored.


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

An S3 bucket where execution information is stored.


[View source]
def max_concurrency : String | Nil #

The MaxConcurrency value specified by the user when starting the automation.


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

The MaxConcurrency value specified by the user when starting the automation.


[View source]
def max_errors : String | Nil #

The MaxErrors value specified by the user when starting the automation.


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

The MaxErrors value specified by the user when starting the automation.


[View source]
def mode : ExecutionMode | Nil #

The Automation execution mode.


[View source]
def mode=(mode : ExecutionMode | Nil) #

The Automation execution mode.


[View source]
def ops_item_id : String | Nil #

The ID of an OpsItem that is created to represent a Change Manager change request.


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

The ID of an OpsItem that is created to represent a Change Manager change request.


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

The list of execution outputs as defined in the Automation runbook.


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

The list of execution outputs as defined in the Automation runbook.


[View source]
def parent_automation_execution_id : String | Nil #

The execution ID of the parent automation.


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

The execution ID of the parent automation.


[View source]
def resolved_targets : ResolvedTargets | Nil #

A list of targets that resolved during the execution.


[View source]
def resolved_targets=(resolved_targets : ResolvedTargets | Nil) #

A list of targets that resolved during the execution.


[View source]
def runbooks : Array(Runbook) | Nil #

Information about the Automation runbooks that are run during a runbook workflow in Change Manager.

The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.


[View source]
def runbooks=(runbooks : Array(Runbook) | Nil) #

Information about the Automation runbooks that are run during a runbook workflow in Change Manager.

The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.


[View source]
def scheduled_time : Time | Nil #

The date and time the Automation operation is scheduled to start.


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

The date and time the Automation operation is scheduled to start.


[View source]
def target : String | Nil #

The list of execution outputs as defined in the Automation runbook.


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

The list of execution outputs as defined in the Automation runbook.


[View source]
def target_locations_url : String | Nil #

A publicly accessible URL for a file that contains the TargetLocations body. Currently, only files in presigned Amazon S3 buckets are supported


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

A publicly accessible URL for a file that contains the TargetLocations body. Currently, only files in presigned Amazon S3 buckets are supported


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

The specified key-value mapping of document parameters to target resources.


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

The specified key-value mapping of document parameters to target resources.


[View source]
def target_parameter_name : String | Nil #

The list of execution outputs as defined in the Automation runbook.


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

The list of execution outputs as defined in the Automation runbook.


[View source]
def targets : Array(Target) | Nil #

The targets defined by the user when starting the automation.


[View source]
def targets=(targets : Array(Target) | Nil) #

The targets defined by the user when starting the automation.


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

The CloudWatch alarm that was invoked by the automation.


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

The CloudWatch alarm that was invoked by the automation.


[View source]
def validate! : Nil #

[View source]
def warning_message : String | Nil #

A message that describes a non-critical issue that occurred during the automation execution.


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

A message that describes a non-critical issue that occurred during the automation execution.


[View source]