Class: Aws::CodeArtifact::Types::PackageGroupOriginRestriction
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::PackageGroupOriginRestriction
- Defined in:
- gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb
Overview
Contains information about the configured restrictions of the origin controls of a package group.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#effective_mode ⇒ String
The effective package group origin restriction setting.
-
#inherited_from ⇒ Types::PackageGroupReference
The parent package group that the package group origin restrictions are inherited from.
-
#mode ⇒ String
The package group origin restriction setting.
-
#repositories_count ⇒ Integer
The number of repositories in the allowed repository list.
Instance Attribute Details
#effective_mode ⇒ String
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
.
3110 3111 3112 3113 3114 3115 3116 3117 |
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3110 class PackageGroupOriginRestriction < Struct.new( :mode, :effective_mode, :inherited_from, :repositories_count) SENSITIVE = [] include Aws::Structure end |
#inherited_from ⇒ Types::PackageGroupReference
The parent package group that the package group origin restrictions are inherited from.
3110 3111 3112 3113 3114 3115 3116 3117 |
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3110 class PackageGroupOriginRestriction < Struct.new( :mode, :effective_mode, :inherited_from, :repositories_count) SENSITIVE = [] include Aws::Structure end |
#mode ⇒ String
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
.
3110 3111 3112 3113 3114 3115 3116 3117 |
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3110 class PackageGroupOriginRestriction < Struct.new( :mode, :effective_mode, :inherited_from, :repositories_count) SENSITIVE = [] include Aws::Structure end |
#repositories_count ⇒ Integer
The number of repositories in the allowed repository list.
3110 3111 3112 3113 3114 3115 3116 3117 |
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3110 class PackageGroupOriginRestriction < Struct.new( :mode, :effective_mode, :inherited_from, :repositories_count) SENSITIVE = [] include Aws::Structure end |