Skip to main content

proactive_engagements

Creates, updates, deletes or gets a proactive_engagement resource or lists proactive_engagements in a region

Overview

Nameproactive_engagements
TypeResource
DescriptionAuthorizes the Shield Response Team (SRT) to use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.
Idawscc.shield.proactive_engagements

Fields

NameDatatypeDescription
account_idstring
proactive_engagement_statusstringIf &#96;ENABLED&#96;, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.<br />If &#96;DISABLED&#96;, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support.
emergency_contact_listarrayA list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you for escalations to the SRT and to initiate proactive customer support.<br />To enable proactive engagement, the contact list must include at least one phone number.
regionstringAWS region.

For more information, see AWS::Shield::ProactiveEngagement.

Methods

NameResourceAccessible byRequired Params
create_resourceproactive_engagementsINSERTProactiveEngagementStatus, EmergencyContactList, region
delete_resourceproactive_engagementsDELETEIdentifier, region
update_resourceproactive_engagementsUPDATEIdentifier, PatchDocument, region
list_resourcesproactive_engagements_list_onlySELECTregion
get_resourceproactive_engagementsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual proactive_engagement.

SELECT
region,
account_id,
proactive_engagement_status,
emergency_contact_list
FROM awscc.shield.proactive_engagements
WHERE
region = 'us-east-1' AND
Identifier = '{{ account_id }}';

INSERT example

Use the following StackQL query and manifest file to create a new proactive_engagement resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.shield.proactive_engagements (
ProactiveEngagementStatus,
EmergencyContactList,
region
)
SELECT
'{{ proactive_engagement_status }}',
'{{ emergency_contact_list }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a proactive_engagement resource, using stack-deploy.

/*+ update */
UPDATE awscc.shield.proactive_engagements
SET PatchDocument = string('{{ {
"ProactiveEngagementStatus": proactive_engagement_status,
"EmergencyContactList": emergency_contact_list
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ account_id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.shield.proactive_engagements
WHERE
Identifier = '{{ account_id }}' AND
region = 'us-east-1';

Permissions

To operate on the proactive_engagements resource, the following permissions are required:

shield:DescribeSubscription,
shield:DescribeEmergencyContactSettings,
shield:AssociateProactiveEngagementDetails,
shield:UpdateEmergencyContactSettings,
shield:EnableProactiveEngagement