def __init__(__self__, event_categories=None, id=None, source_type=None):
    if (event_categories and (not isinstance(event_categories, list))):
        raise TypeError("Expected argument 'event_categories' to be a list")
    pulumi.set(__self__, 'event_categories', event_categories)
    if (id and (not isinstance(id, str))):
        raise TypeError("Expected argument 'id' to be a str")
    pulumi.set(__self__, 'id', id)
    if (source_type and (not isinstance(source_type, str))):
        raise TypeError("Expected argument 'source_type' to be a str")
    pulumi.set(__self__, 'source_type', source_type)
def __init__(__self__, event_categories=None, id=None, source_type=None):
    if (event_categories and (not isinstance(event_categories, list))):
        raise TypeError("Expected argument 'event_categories' to be a list")
    pulumi.set(__self__, 'event_categories', event_categories)
    if (id and (not isinstance(id, str))):
        raise TypeError("Expected argument 'id' to be a str")
    pulumi.set(__self__, 'id', id)
    if (source_type and (not isinstance(source_type, str))):
        raise TypeError("Expected argument 'source_type' to be a str")
    pulumi.set(__self__, 'source_type', source_type)