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.

Contains information about the configured restrictions of the origin controls of a package group.

Inheritance Hierarchy

System.Object
  Amazon.CodeArtifact.Model.PackageGroupOriginRestriction

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

Syntax

C#
public class PackageGroupOriginRestriction

The PackageGroupOriginRestriction type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property EffectiveMode Amazon.CodeArtifact.PackageGroupOriginRestrictionMode

Gets and sets the property EffectiveMode.

The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

Public Property InheritedFrom Amazon.CodeArtifact.Model.PackageGroupReference

Gets and sets the property InheritedFrom.

The parent package group that the package group origin restrictions are inherited from.

Public Property Mode Amazon.CodeArtifact.PackageGroupOriginRestrictionMode

Gets and sets the property Mode.

The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

Public Property RepositoriesCount System.Int64

Gets and sets the property RepositoriesCount.

The number of repositories in the allowed repository list.

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