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_statusstring
If ENABLED, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.If DISABLED, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support.
emergency_contact_listarray
A 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.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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.shield.proactive_engagements
WHERE
Identifier = '{{ account_id }}' AND
region = 'us-east-1'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

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

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