PackageGroupOriginRestriction
¶
Source code in docs_src/capo_codeartifact/types/package_group_origin_restriction.py
effective_mode
instance-attribute
¶
effective_mode: NotRequired[PackageGroupOriginRestrictionMode]
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.
inherited_from
instance-attribute
¶
inherited_from: NotRequired[PackageGroupReference]
The parent package group that the package group origin restrictions are inherited from.
mode
instance-attribute
¶
mode: NotRequired[PackageGroupOriginRestrictionMode]
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.
repositories_count
instance-attribute
¶
repositories_count: NotRequired[LongOptional]
The number of repositories in the allowed repository list.