# 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
from .validators import boolean, integer


class ChatbotNotificationChannel(AWSProperty):
    """
    `ChatbotNotificationChannel <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-chatbotnotificationchannel.html>`__
    """

    props: PropsDictType = {
        "ChatConfigurationArns": ([str], False),
        "SNSTopicArn": (str, False),
    }


class CrossAccountConfiguration(AWSProperty):
    """
    `CrossAccountConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-crossaccountconfiguration.html>`__
    """

    props: PropsDictType = {
        "SourceRoleArn": (str, False),
    }


class EncryptionConfigMap(AWSProperty):
    """
    `EncryptionConfigMap <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-encryptionconfigmap.html>`__
    """

    props: PropsDictType = {
        "EncryptionConfigurationType": (str, False),
        "KmsKeyId": (str, False),
    }


class InvestigationGroup(AWSObject):
    """
    `InvestigationGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html>`__
    """

    resource_type = "AWS::AIOps::InvestigationGroup"

    props: PropsDictType = {
        "ChatbotNotificationChannels": ([ChatbotNotificationChannel], False),
        "CrossAccountConfigurations": ([CrossAccountConfiguration], False),
        "EncryptionConfig": (EncryptionConfigMap, False),
        "InvestigationGroupPolicy": (str, False),
        "IsCloudTrailEventHistoryEnabled": (boolean, False),
        "Name": (str, True),
        "RetentionInDays": (integer, False),
        "RoleArn": (str, False),
        "TagKeyBoundaries": ([str], False),
        "Tags": (Tags, False),
    }
