# 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 EmailContact(AWSObject):
    """
    `EmailContact <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html>`__
    """

    resource_type = "AWS::NotificationsContacts::EmailContact"

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


class EmailContactProperty(AWSProperty):
    """
    `EmailContactProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html>`__
    """

    props: PropsDictType = {
        "Address": (str, True),
        "Arn": (str, True),
        "CreationTime": (str, True),
        "Name": (str, True),
        "Status": (str, True),
        "UpdateTime": (str, True),
    }
