Skip to content

Send Automation Signal

ssm_send_automation_signal R Documentation

Sends a signal to an Automation execution to change the current behavior or status of the execution

Description

Sends a signal to an Automation execution to change the current behavior or status of the execution.

Usage

ssm_send_automation_signal(AutomationExecutionId, SignalType, Payload)

Arguments

AutomationExecutionId

[required] The unique identifier for an existing Automation execution that you want to send the signal to.

SignalType

[required] The type of signal to send to an Automation execution.

Payload

The data sent with the signal. The data schema depends on the type of signal used in the request.

For Approve and Reject signal types, the payload is an optional comment that you can send with the signal type. For example:

Comment="Looks good"

For StartStep and Resume signal types, you must send the name of the Automation step to start or resume as the payload. For example:

StepName="step1"

For the StopStep signal type, you must send the step execution ID as the payload. For example:

StepExecutionId="97fff367-fc5a-4299-aed8-0123456789ab"

Value

An empty list.

Request syntax

svc$send_automation_signal(
  AutomationExecutionId = "string",
  SignalType = "Approve"|"Reject"|"StartStep"|"StopStep"|"Resume",
  Payload = list(
    list(
      "string"
    )
  )
)