Skip to content

PackageOriginRestrictions

Source code in docs_src/capo_codeartifact/types/package_origin_restrictions.py
class PackageOriginRestrictions(TypedDict, closed=True):
    publish: "capo_codeartifact.types.allow_publish.AllowPublish"
    """<p>The package origin configuration that determines if new versions of the package can be published directly to the repository.</p>"""
    upstream: "capo_codeartifact.types.allow_upstream.AllowUpstream"
    """<p>The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.</p>"""

publish instance-attribute

publish: AllowPublish

The package origin configuration that determines if new versions of the package can be published directly to the repository.

upstream instance-attribute

upstream: AllowUpstream

The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.