import * as core from "@terrascript/core"; export interface EventSubscriptionArgs extends core.ResourceArgs { /** * (Optional, Default: true) Whether the event subscription should be enabled. */ enabled?: boolean | core.BooleanOut; /** * (Optional) List of event categories to listen for, see `DescribeEventCategories` for a canonical lis * t. */ eventCategories: core.Array | core.ArrayOut; /** * (Required) Name of event subscription. */ name: string | core.StringOut; /** * (Required) SNS topic arn to send events on. */ snsTopicArn: string | core.StringOut; /** * (Required) Ids of sources to listen to. */ sourceIds?: core.Array | core.ArrayOut; /** * (Optional, Default: all events) Type of source for events. Valid values: `replication-instance` or ` * replication-task` */ sourceType?: string | core.StringOut; /** * (Optional) Map of resource tags to assign to the resource. If configured with a provider [`default_t * ags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_ * tags-configuration-block) present, tags with matching keys will overwrite those defined at the provi * der-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export declare class EventSubscription extends core.Resource { /** * Amazon Resource Name (ARN) of the DMS Event Subscription. */ arn: string | core.StringOut; /** * (Optional, Default: true) Whether the event subscription should be enabled. */ enabled?: boolean | core.BooleanOut; /** * (Optional) List of event categories to listen for, see `DescribeEventCategories` for a canonical lis * t. */ eventCategories: core.Array | core.ArrayOut; id: string | core.StringOut; /** * (Required) Name of event subscription. */ name: string | core.StringOut; /** * (Required) SNS topic arn to send events on. */ snsTopicArn: string | core.StringOut; /** * (Required) Ids of sources to listen to. */ sourceIds?: core.Array | core.ArrayOut; /** * (Optional, Default: all events) Type of source for events. Valid values: `replication-instance` or ` * replication-task` */ sourceType?: string | core.StringOut; /** * (Optional) Map of resource tags to assign to the resource. If configured with a provider [`default_t * ags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_ * tags-configuration-block) present, tags with matching keys will overwrite those defined at the provi * der-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: EventSubscriptionArgs); getNamespace(): string; } //# sourceMappingURL=event_subscription.d.ts.map