restrictions

construct an aws.sdk.kotlin.services.codeartifact.model.PackageOriginRestrictions inside the given block


A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

You must include both the desired upstream and publish restrictions.