AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
Namespace: Amazon.CodeArtifact.Model
Assembly: AWSSDK.CodeArtifact.dll
Version: 3.x.y.z
public class PackageOriginRestrictions
The PackageOriginRestrictions type exposes the following members
Name | Description | |
---|---|---|
PackageOriginRestrictions() |
Name | Type | Description | |
---|---|---|---|
Publish | Amazon.CodeArtifact.AllowPublish |
Gets and sets the property Publish. The package origin configuration that determines if new versions of the package can be published directly to the repository. |
|
Upstream | Amazon.CodeArtifact.AllowUpstream |
Gets and sets the property 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. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5