PackageOriginRestrictions - AWS CodeArtifact

PackageOriginRestrictions

Details about the origin restrictions set on the package. The package origin restrictions determine how new versions of a package can be added to a specific repository.

Contents

publish

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

Type: String

Valid Values: ALLOW | BLOCK

Required: Yes

upstream

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.

Type: String

Valid Values: ALLOW | BLOCK

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: