import { Value } from '../../cloudformation/Value';
import { Tag } from '../Tag';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::RDS::EventSubscription</code> resource allows you to receive notifications for Amazon Relational Database Service events through the Amazon Simple Notification Service (Amazon SNS). For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html">Using Amazon RDS Event Notification</a> in the <em>Amazon RDS User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-eventsubscription.html">the AWS Docs</a>
*/
export type EventSubscription = AwsResource<'AWS::RDS::EventSubscription', EventSubscriptionProperties>;
export declare function eventSubscription(eventSubscriptionProps: EventSubscriptionProperties): EventSubscription;
/**
  The <code>AWS::RDS::EventSubscription</code> resource allows you to receive notifications for Amazon Relational Database Service events through the Amazon Simple Notification Service (Amazon SNS). For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html">Using Amazon RDS Event Notification</a> in the <em>Amazon RDS User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-eventsubscription.html">the AWS Docs</a>
*/
export interface EventSubscriptionProperties {
    /** <code>SourceType</code>  <a name="cfn-rds-eventsubscription-sourcetype"></a>
  The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, set this parameter to <code>db-instance</code>. If this value isn’t specified, all events are returned.<br />
  Valid values: <code>db-instance</code> | <code>db-cluster</code> | <code>db-parameter-group</code> | <code>db-security-group</code> | <code>db-snapshot</code> | <code>db-cluster-snapshot</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>Enabled</code>  <a name="cfn-rds-eventsubscription-enabled"></a>
  A value that indicates whether to activate the subscription. If the event notification subscription isn’t activated, the subscription is created but not active.<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>EventCategories</code>  <a name="cfn-rds-eventsubscription-eventcategories"></a>
  A list of event categories for a particular source type (<code>SourceType</code>) that you want to subscribe to. You can see a list of the categories for a given source type in the “Amazon RDS event categories and event messages” section of the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html">https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html</a> or the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html">https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html</a>. You can also see this list by using the <code>DescribeEventCategories</code> operation.<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>SubscriptionName</code>  <a name="cfn-rds-eventsubscription-subscriptionname"></a>
  The name of the subscription.<br />
  Constraints: The 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-rds-eventsubscription-snstopicarn"></a>
  The Amazon Resource Name (ARN) of the 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-replacement">Replacement</a> */
    snsTopicArn: Value<string>;
    /** <p> */
    sourceIds?: Value<Value<string>[]>;
    /** <code>Tags</code>  <a name="cfn-rds-eventsubscription-tags"></a>
  An optional array of key-value pairs to apply to this 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[];
}
