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


from . import AWSObject
from troposphere import Tags


class Domain(AWSObject):
    resource_type = "AWS::CodeArtifact::Domain"

    props = {
        'DomainName': (basestring, True),
        'EncryptionKey': (basestring, False),
        'PermissionsPolicyDocument': (dict, False),
        'Tags': (Tags, False),
    }


class Repository(AWSObject):
    resource_type = "AWS::CodeArtifact::Repository"

    props = {
        'Description': (basestring, False),
        'DomainName': (basestring, True),
        'DomainOwner': (basestring, False),
        'ExternalConnections': ([basestring], False),
        'PermissionsPolicyDocument': (dict, False),
        'RepositoryName': (basestring, True),
        'Tags': (Tags, False),
        'Upstreams': ([basestring], False),
    }
