Class LifecyclePolicyPolicyDetailsEventSourceParameters


  • public final class LifecyclePolicyPolicyDetailsEventSourceParameters
    extends java.lang.Object
    • Method Detail

      • descriptionRegex

        public java.lang.String descriptionRegex()
        Returns:
        The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.
      • eventType

        public java.lang.String eventType()
        Returns:
        The type of event. Currently, only `shareSnapshot` events are supported.
      • snapshotOwners

        public java.util.List<java.lang.String> snapshotOwners()
        Returns:
        The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account.