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


from . import AWSObject
from troposphere import Tags


class Discoverer(AWSObject):
    resource_type = "AWS::EventSchemas::Discoverer"

    props = {
        'Description': (basestring, False),
        'SourceArn': (basestring, True),
        'Tags': (Tags, False),
    }


class Registry(AWSObject):
    resource_type = "AWS::EventSchemas::Registry"

    props = {
        'Description': (basestring, False),
        'RegistryName': (basestring, False),
        'Tags': (Tags, False),
    }


class Schema(AWSObject):
    resource_type = "AWS::EventSchemas::Schema"

    props = {
        'Content': (basestring, True),
        'Description': (basestring, False),
        'RegistryName': (basestring, True),
        'SchemaName': (basestring, False),
        'Tags': (Tags, False),
        'Type': (basestring, True),
    }

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


from . import AWSObject
from troposphere import Tags


class Discoverer(AWSObject):
    resource_type = "AWS::EventSchemas::Discoverer"

    props = {
        'Description': (basestring, False),
        'SourceArn': (basestring, True),
        'Tags': (Tags, False),
    }


class Registry(AWSObject):
    resource_type = "AWS::EventSchemas::Registry"

    props = {
        'Description': (basestring, False),
        'RegistryName': (basestring, False),
        'Tags': (Tags, False),
    }


class RegistryPolicy(AWSObject):
    resource_type = "AWS::EventSchemas::RegistryPolicy"

    props = {
        'Policy': (dict, True),
        'RegistryName': (basestring, True),
        'RevisionId': (basestring, False),
    }


class Schema(AWSObject):
    resource_type = "AWS::EventSchemas::Schema"

    props = {
        'Content': (basestring, True),
        'Description': (basestring, False),
        'RegistryName': (basestring, True),
        'SchemaName': (basestring, False),
        'Tags': (Tags, False),
        'Type': (basestring, True),
    }

Update EventSchemas per 2020-04-30 changes