AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.CodeArtifact.Model.PackageOriginRestrictions

Namespace: Amazon.CodeArtifact.Model
Assembly: AWSSDK.CodeArtifact.dll
Version: 3.x.y.z

Syntax

C#
public class PackageOriginRestrictions

The PackageOriginRestrictions type exposes the following members

Constructors

NameDescription
Public Method PackageOriginRestrictions()

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5