PolicyEventMetadata
Contains the event-specific metadata for a policy event. Exactly one member is populated, according to the event type.
-
policyAttachedToService — a service started using the policy.
-
policyDetachedFromService — a service stopped using the policy.
-
policySharingRevoked — cross-account sharing was disabled for the policy.
-
policyDeleted — the policy was deleted.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- policyAttachedToService
-
Contains details about the service that started using the policy, such as the account that owns the service.
Type: PolicyAttachedToServiceMetadata object
Required: No
- policyDeleted
-
Contains details about a policy that was deleted, including the number of services that were affected.
Type: PolicyDeletedMetadata object
Required: No
- policyDetachedFromService
-
Contains details about the service that stopped using the policy, such as the account that owns the service.
Type: PolicyDetachedFromServiceMetadata object
Required: No
- policySharingRevoked
-
Contains details about a policy for which organization sharing was revoked, including the number of services that were affected.
Type: PolicySharingRevokedMetadata object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: