import { Value } from '../../cloudformation/Value';
import { Tag } from '../Tag';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Use the <code>AWS::DMS::EventSubscription</code> resource to get notifications for AWS Database Migration Service events through the Amazon Simple Notification Service. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working with events and notifications in AWS Database Migration Service</a> in the <em>AWS Database Migration Service User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html">the AWS Docs</a>
*/
export type EventSubscription = AwsResource<'AWS::DMS::EventSubscription', EventSubscriptionProperties>;
export declare function eventSubscription(eventSubscriptionProps: EventSubscriptionProperties): EventSubscription;
/**
  Use the <code>AWS::DMS::EventSubscription</code> resource to get notifications for AWS Database Migration Service events through the Amazon Simple Notification Service. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working with events and notifications in AWS Database Migration Service</a> in the <em>AWS Database Migration Service User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html">the AWS Docs</a>
*/
export interface EventSubscriptionProperties {
    /** <code>SourceType</code>  <a name="cfn-dms-eventsubscription-sourcetype"></a>
  The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to <code>replication-instance</code>. If this value isn’t specified, all events are returned.<br />
  
  Valid values: <code>replication-instance</code> | <code>replication-task</code><br />
  
  Required: No<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> */
    sourceType?: Value<string>;
    /** <code>EventCategories</code>  <a name="cfn-dms-eventsubscription-eventcategories"></a>
  A list of event categories for a source type that you want to subscribe to. If you don’t specify this property, you are notified about all event categories. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html"> Working with Events and Notifications</a> in the
  AWS DMS User Guide: br />
  
  Required: No<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> */
    eventCategories?: Value<Value<string>[]>;
    /** <code>Enabled</code>  <a name="cfn-dms-eventsubscription-enabled"></a>
  Indicates whether to activate the subscription. If you don’t specify this property, AWS CloudFormation activates the subscription.<br />
  
  Required: No<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> */
    enabled?: Value<boolean>;
    /** <code>SubscriptionName</code>  <a name="cfn-dms-eventsubscription-subscriptionname"></a>
  The name of the AWS DMS event notification subscription. This name must be less than 255 characters.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    subscriptionName?: Value<string>;
    /** <code>SnsTopicArn</code>  <a name="cfn-dms-eventsubscription-snstopicarn"></a>
  The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.<br />
  
  Required: Yes<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> */
    snsTopicArn: Value<string>;
    /** <code>SourceIds</code>  <a name="cfn-dms-eventsubscription-sourceids"></a>
  A list of identifiers for which AWS DMS provides notification events.<br />
  If you don’t specify a value, notifications are provided for all sources.<br />
  If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    sourceIds?: Value<Value<string>[]>;
    /** <code>Tags</code>  <a name="cfn-dms-eventsubscription-tags"></a>
  One or more tags to be assigned to the event subscription.<br />
  
  Required: No<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> */
    tags?: Tag[];
}
