import { Value } from '../../../cloudformation/Value';
/**
  <strong>[Event-based policies only]</strong> Specifies an event that activates an event-based policy.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventparameters.html">the AWS Docs</a>
*/
export interface EventParametersProps {
    /** <code>EventType</code>  <a name="cfn-dlm-lifecyclepolicy-eventparameters-eventtype"></a>
  The type of event. Currently, only snapshot sharing events are supported.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>shareSnapshot</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    eventType: Value<'shareSnapshot'>;
    /** <code>SnapshotOwner</code>  <a name="cfn-dlm-lifecyclepolicy-eventparameters-snapshotowner"></a>
  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.<br />
  
  Required: Yes<br />
  
  Maximum: <code>50</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    snapshotOwner: Value<Value<string>[]>;
    /** <code>DescriptionRegex</code>  <a name="cfn-dlm-lifecyclepolicy-eventparameters-descriptionregex"></a>
  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.<br />
  For example, specifying <code>^.*Created for policy: policy-1234567890abcdef0.*$</code> configures the policy to run only if snapshots created by policy <code>policy-1234567890abcdef0</code> are shared with your account.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>1000</code><br />
  
  Pattern: <code>[\p{all}]*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    descriptionRegex?: Value<string>;
}
