Skip to content

EventSubscription

Source code in docs_src/capo_redshift/types/event_subscription.py
class EventSubscription(TypedDict, closed=True):
    customer_aws_id: NotRequired["capo_redshift.types.string.String"]
    """<p>The Amazon Web Services account associated with the Amazon Redshift event notification subscription.</p>"""
    cust_subscription_id: NotRequired["capo_redshift.types.string.String"]
    """<p>The name of the Amazon Redshift event notification subscription.</p>"""
    sns_topic_arn: NotRequired["capo_redshift.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.</p>"""
    status: NotRequired["capo_redshift.types.string.String"]
    """<p>The status of the Amazon Redshift event notification subscription.</p> <p>Constraints:</p> <ul> <li> <p>Can be one of the following: active | no-permission | topic-not-exist</p> </li> <li> <p>The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.</p> </li> </ul>"""
    subscription_creation_time: NotRequired["capo_redshift.types.t_stamp.TStamp"]
    """<p>The date and time the Amazon Redshift event notification subscription was created.</p>"""
    source_type: NotRequired["capo_redshift.types.string.String"]
    """<p>The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action. </p>"""
    source_ids_list: NotRequired["capo_redshift.types.source_ids_list.SourceIdsList"]
    """<p>A list of the sources that publish events to the Amazon Redshift event notification subscription.</p>"""
    event_categories_list: NotRequired[
        "capo_redshift.types.event_categories_list.EventCategoriesList"
    ]
    """<p>The list of Amazon Redshift event categories specified in the event notification subscription.</p> <p>Values: Configuration, Management, Monitoring, Security, Pending</p>"""
    severity: NotRequired["capo_redshift.types.string.String"]
    """<p>The event severity specified in the Amazon Redshift event notification subscription.</p> <p>Values: ERROR, INFO</p>"""
    enabled: NotRequired["capo_redshift.types.boolean.Boolean"]
    """<p>A boolean value indicating whether the subscription is enabled; <code>true</code> indicates that the subscription is enabled.</p>"""
    tags: NotRequired["capo_redshift.types.tag_list.TagList"]
    """<p>The list of tags for the event subscription.</p>"""

cust_subscription_id instance-attribute

cust_subscription_id: NotRequired[String]

The name of the Amazon Redshift event notification subscription.

customer_aws_id instance-attribute

customer_aws_id: NotRequired[String]

The Amazon Web Services account associated with the Amazon Redshift event notification subscription.

enabled instance-attribute

enabled: NotRequired[Boolean]

A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.

event_categories_list instance-attribute

event_categories_list: NotRequired[EventCategoriesList]

The list of Amazon Redshift event categories specified in the event notification subscription.

Values: Configuration, Management, Monitoring, Security, Pending

severity instance-attribute

severity: NotRequired[String]

The event severity specified in the Amazon Redshift event notification subscription.

Values: ERROR, INFO

sns_topic_arn instance-attribute

sns_topic_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.

source_ids_list instance-attribute

source_ids_list: NotRequired[SourceIdsList]

A list of the sources that publish events to the Amazon Redshift event notification subscription.

source_type instance-attribute

source_type: NotRequired[String]

The source type of the events returned by the Amazon Redshift event notification, such as cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, or scheduled-action.

status instance-attribute

status: NotRequired[String]

The status of the Amazon Redshift event notification subscription.

Constraints:

  • Can be one of the following: active | no-permission | topic-not-exist

  • The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

subscription_creation_time instance-attribute

subscription_creation_time: NotRequired[TStamp]

The date and time the Amazon Redshift event notification subscription was created.

tags instance-attribute

tags: NotRequired[TagList]

The list of tags for the event subscription.