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


from . import AWSObject


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

    props = {
        'DomainName': (basestring, True),
        'PermissionsPolicyDocument': (dict, 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),
        'Upstreams': ([basestring], False),
    }

# 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),
    }

Update CodeArtifact per 2020-11-05 changes
Update CodeArtifact per 2020-11-05 changes
