import * as core from "@terrascript/core"; export interface EventSubscriptionArgs extends core.ResourceArgs { /** * (Optional) A boolean flag to enable/disable the subscription. Defaults to `true`. */ enabled?: boolean | core.BooleanOut; /** * (Optional) A list of event categories for a SourceType that you want to subscribe to. See https://do * cs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html or run `aws redshift de * scribe-event-categories`. */ eventCategories?: core.Array | core.ArrayOut; /** * (Required) The name of the Redshift event subscription. */ name: string | core.StringOut; /** * (Optional) The event severity to be published by the notification subscription. Valid options are `I * NFO` or `ERROR`. Default value of `INFO`. */ severity?: string | core.StringOut; /** * (Required) The ARN of the SNS topic to send events to. */ snsTopicArn: string | core.StringOut; /** * (Optional) A list of identifiers of the event sources for which events will be returned. If not spec * ified, then all sources are included in the response. If specified, a `source_type` must also be spe * cified. */ sourceIds?: core.Array | core.ArrayOut; /** * (Optional) The type of source that will be generating the events. Valid options are `cluster`, `clus * ter-parameter-group`, `cluster-security-group`, `cluster-snapshot`, or `scheduled-action`. If not se * t, all sources will be subscribed to. */ sourceType?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ 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 Redshift event notification subscription */ arn: string | core.StringOut; /** * The AWS customer account associated with the Redshift event notification subscription */ customerAwsId: string | core.StringOut; /** * (Optional) A boolean flag to enable/disable the subscription. Defaults to `true`. */ enabled?: boolean | core.BooleanOut; /** * (Optional) A list of event categories for a SourceType that you want to subscribe to. See https://do * cs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html or run `aws redshift de * scribe-event-categories`. */ eventCategories?: core.Array | core.ArrayOut; /** * The name of the Redshift event notification subscription */ id: string | core.StringOut; /** * (Required) The name of the Redshift event subscription. */ name: string | core.StringOut; /** * (Optional) The event severity to be published by the notification subscription. Valid options are `I * NFO` or `ERROR`. Default value of `INFO`. */ severity?: string | core.StringOut; /** * (Required) The ARN of the SNS topic to send events to. */ snsTopicArn: string | core.StringOut; /** * (Optional) A list of identifiers of the event sources for which events will be returned. If not spec * ified, then all sources are included in the response. If specified, a `source_type` must also be spe * cified. */ sourceIds?: core.Array | core.ArrayOut; /** * (Optional) The type of source that will be generating the events. Valid options are `cluster`, `clus * ter-parameter-group`, `cluster-security-group`, `cluster-snapshot`, or `scheduled-action`. If not se * t, all sources will be subscribed to. */ sourceType?: string | core.StringOut; status: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ 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