import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type ArchiveAttributes = {
    Arn: Attribute<string>;
};
export type Archive = AwsResource<'AWS::Events::Archive', ArchiveProperties, ArchiveAttributes>;
/**
  Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html">the AWS Docs</a>
*/
export declare function archive(archiveProps: ArchiveProperties): Archive;
/**
  Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html">the AWS Docs</a>
*/
export interface ArchiveProperties {
    /** <code>EventPattern</code>  <a name="cfn-events-archive-eventpattern"></a>
  An event pattern to use to filter events sent to the archive.<br />
  
  Required: No<br />
  
  Maximum: <code>4096</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> */
    eventPattern?: Value<any>;
    /** <code>Description</code>  <a name="cfn-events-archive-description"></a>
  A description for the archive.<br />
  
  Required: No<br />
  
  Maximum: <code>512</code><br />
  
  Pattern: <code>.*</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> */
    description?: Value<string>;
    /** <code>SourceArn</code>  <a name="cfn-events-archive-sourcearn"></a>
  The ARN of the event bus that sends events to the archive.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>1600</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    sourceArn: Value<string>;
    /** <code>ArchiveName</code>  <a name="cfn-events-archive-archivename"></a>
  The name for the archive to create.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>48</code><br />
  
  Pattern: <code>[\.\-_A-Za-z0-9]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    archiveName?: Value<string>;
    /** <code>RetentionDays</code>  <a name="cfn-events-archive-retentiondays"></a>
  The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely<br />
  
  Required: No<br />
  
  Minimum: <code>0</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> */
    retentionDays?: Value<number>;
}
