Skip to main content

engagements

Creates, updates, deletes, gets or lists an engagements resource.

Overview

Nameengagements
TypeResource
Idaws.ssm_contacts.engagements

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
contact_arnstringThe ARN of the escalation plan or contacts involved in the engagement. (pattern: <code>arn:(aws|aws-cn|aws-us-gov):ssm-contacts:[-\w+=/,.@]:[0-9]+:([\w+=/,.@:-]+)</code>)
contentstringThe secure content of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL. (pattern: <code>^[.\s\S]*$</code>)
engagement_arnstringThe ARN of the engagement. (pattern: <code>arn:(aws|aws-cn|aws-us-gov):ssm-contacts:[-\w+=/,.@]:[0-9]+:([\w+=/,.@:-]+)</code>)
incident_idstringThe ARN of the incident in which the engagement occurred. (pattern: <code>^[\a-zA-Z0-9_@#%+=:?./!\s-]$</code>)
public_contentstringThe insecure content of the message that was sent to the contact. Use this field for engagements to SMS. (pattern: <code>^[.\s\S]*$</code>)
public_subjectstringThe insecure subject of the message that was sent to the contact. Use this field for engagements to SMS. (pattern: <code>^[.\s\S]*$</code>)
senderstringThe user that started the engagement. (pattern: <code>^[\a-zA-Z0-9_@#%+=:?./!\s-]$</code>)
start_timestring (date-time)The time that the engagement started.
stop_timestring (date-time)The time that the engagement ended.
subjectstringThe secure subject of the message that was sent to the contact. Use this field for engagements to VOICE and EMAIL. (pattern: <code>^[.\s\S]*$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_engagementselectregionIncident Manager uses engagements to engage contacts and escalation plans during an incident. Use this command to describe the engagement that occurred during an incident.
list_engagementsselectregionLists all engagements that have happened in an incident.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Incident Manager uses engagements to engage contacts and escalation plans during an incident. Use this command to describe the engagement that occurred during an incident.

SELECT
contact_arn,
content,
engagement_arn,
incident_id,
public_content,
public_subject,
sender,
start_time,
stop_time,
subject
FROM aws.ssm_contacts.engagements
WHERE region = '{{ region }}' -- required
;