Class: Aws::CodeArtifact::Types::PackageGroupOriginRestriction
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::PackageGroupOriginRestriction
- Includes:
- Structure
- Defined in:
- 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`.
3098 3099 3100 3101 3102 3103 3104 3105 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 3098 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.
3098 3099 3100 3101 3102 3103 3104 3105 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 3098 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`.
3098 3099 3100 3101 3102 3103 3104 3105 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 3098 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.
3098 3099 3100 3101 3102 3103 3104 3105 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 3098 class PackageGroupOriginRestriction < Struct.new( :mode, :effective_mode, :inherited_from, :repositories_count) SENSITIVE = [] include Aws::Structure end |