# Copyright (c) 2012-2025, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, AWSProperty, PropsDictType, Tags


class ChannelAssociation(AWSObject):
    """
    `ChannelAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-channelassociation.html>`__
    """

    resource_type = "AWS::Notifications::ChannelAssociation"

    props: PropsDictType = {
        "Arn": (str, True),
        "NotificationConfigurationArn": (str, True),
    }


class EventRule(AWSObject):
    """
    `EventRule <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-eventrule.html>`__
    """

    resource_type = "AWS::Notifications::EventRule"

    props: PropsDictType = {
        "EventPattern": (str, False),
        "EventType": (str, True),
        "NotificationConfigurationArn": (str, True),
        "Regions": ([str], True),
        "Source": (str, True),
    }


class ManagedNotificationAccountContactAssociation(AWSObject):
    """
    `ManagedNotificationAccountContactAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-managednotificationaccountcontactassociation.html>`__
    """

    resource_type = "AWS::Notifications::ManagedNotificationAccountContactAssociation"

    props: PropsDictType = {
        "ContactIdentifier": (str, True),
        "ManagedNotificationConfigurationArn": (str, True),
    }


class ManagedNotificationAdditionalChannelAssociation(AWSObject):
    """
    `ManagedNotificationAdditionalChannelAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-managednotificationadditionalchannelassociation.html>`__
    """

    resource_type = (
        "AWS::Notifications::ManagedNotificationAdditionalChannelAssociation"
    )

    props: PropsDictType = {
        "ChannelArn": (str, True),
        "ManagedNotificationConfigurationArn": (str, True),
    }


class NotificationConfiguration(AWSObject):
    """
    `NotificationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationconfiguration.html>`__
    """

    resource_type = "AWS::Notifications::NotificationConfiguration"

    props: PropsDictType = {
        "AggregationDuration": (str, False),
        "Description": (str, True),
        "Name": (str, True),
        "Tags": (Tags, False),
    }


class NotificationHub(AWSObject):
    """
    `NotificationHub <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationhub.html>`__
    """

    resource_type = "AWS::Notifications::NotificationHub"

    props: PropsDictType = {
        "Region": (str, True),
    }


class EventRuleStatusSummary(AWSProperty):
    """
    `EventRuleStatusSummary <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-eventrule-eventrulestatussummary.html>`__
    """

    props: PropsDictType = {
        "Reason": (str, True),
        "Status": (str, True),
    }


class NotificationHubStatusSummary(AWSProperty):
    """
    `NotificationHubStatusSummary <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-notificationhub-notificationhubstatussummary.html>`__
    """

    props: PropsDictType = {
        "NotificationHubStatus": (str, True),
        "NotificationHubStatusReason": (str, True),
    }
