/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * The `AWS::Redshift::EventSubscription` resource creates an Amazon Redshift Event Subscription. */ export interface AwsRedshiftEventsubscription { /** * The name of the Amazon Redshift event notification subscription */ SubscriptionName: string; /** * The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications. */ SnsTopicArn?: string; /** * The type of source that will be generating the events. */ SourceType?: | "cluster" | "cluster-parameter-group" | "cluster-security-group" | "cluster-snapshot" | "scheduled-action"; /** * A list of one or more identifiers of Amazon Redshift source objects. */ SourceIds?: string[]; /** * Specifies the Amazon Redshift event categories to be published by the event notification subscription. */ EventCategories?: ("configuration" | "management" | "monitoring" | "security" | "pending")[]; /** * Specifies the Amazon Redshift event severity to be published by the event notification subscription. */ Severity?: "ERROR" | "INFO"; /** * A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it. */ Enabled?: boolean; /** * An array of key-value pairs to apply to this resource. */ Tags?: Tag[]; /** * The AWS account associated with the Amazon Redshift event notification subscription. */ CustomerAwsId?: string; /** * The name of the Amazon Redshift event notification subscription. */ CustSubscriptionId?: string; /** * The status of the Amazon Redshift event notification subscription. */ Status?: "active" | "no-permission" | "topic-not-exist"; /** * The date and time the Amazon Redshift event notification subscription was created. */ SubscriptionCreationTime?: string; /** * A list of the sources that publish events to the Amazon Redshift event notification subscription. */ SourceIdsList?: string[]; /** * The list of Amazon Redshift event categories specified in the event notification subscription. */ EventCategoriesList?: string[]; } /** * A key-value pair to associate with a resource. */ export interface Tag { /** * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. */ Key: string; /** * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. */ Value: string; }