PackageGroupOriginRestriction - AWS CodeArtifact

PackageGroupOriginRestriction

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

Contents

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.

Type: String

Valid Values: ALLOW | ALLOW_SPECIFIC_REPOSITORIES | BLOCK | INHERIT

Required: No

inheritedFrom

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

Type: PackageGroupReference object

Required: No

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.

Type: String

Valid Values: ALLOW | ALLOW_SPECIFIC_REPOSITORIES | BLOCK | INHERIT

Required: No

repositoriesCount

The number of repositories in the allowed repository list.

Type: Long

Required: No

See Also

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