

# PolicyEvent
<a name="API_PolicyEvent"></a>

An event on the timeline of a resilience policy.

## Contents
<a name="API_PolicyEvent_Contents"></a>

 ** actor **   <a name="ngresiliencehub-Type-PolicyEvent-actor"></a>
Identifies the actor that triggered an event.  
Type: [EventActor](API_EventActor.md) object  
Required: Yes

 ** eventDetails **   <a name="ngresiliencehub-Type-PolicyEvent-eventDetails"></a>
The details of the event.  
Type: [PolicyEventDetails](API_PolicyEventDetails.md) object  
Required: Yes

 ** eventId **   <a name="ngresiliencehub-Type-PolicyEvent-eventId"></a>
The identifier of the event.  
Type: String  
Length Constraints: Fixed length of 36.  
Pattern: `[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}`   
Required: Yes

 ** eventType **   <a name="ngresiliencehub-Type-PolicyEvent-eventType"></a>
The type of the event.  
Type: String  
Valid Values: `POLICY_ATTACHED_TO_SERVICE | POLICY_DETACHED_FROM_SERVICE | POLICY_SHARING_REVOKED | POLICY_DELETED`   
Required: Yes

 ** policyArn **   <a name="ngresiliencehub-Type-PolicyEvent-policyArn"></a>
ARN identifier.  
Type: String  
Length Constraints: Minimum length of 31.  
Pattern: `arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+.-]{0,1023}`   
Required: Yes

 ** timestamp **   <a name="ngresiliencehub-Type-PolicyEvent-timestamp"></a>
The time the event occurred.  
Type: Timestamp  
Required: Yes

## See Also
<a name="API_PolicyEvent_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/resiliencehubv2-2026-02-17/PolicyEvent) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/resiliencehubv2-2026-02-17/PolicyEvent) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/resiliencehubv2-2026-02-17/PolicyEvent) 