Class: Aws::CodeArtifact::Types::PackageGroupOriginRestriction

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#effective_modeString

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.

Returns:

  • (String)


3105
3106
3107
3108
3109
3110
3111
3112
# File 'lib/aws-sdk-codeartifact/types.rb', line 3105

class PackageGroupOriginRestriction < Struct.new(
  :mode,
  :effective_mode,
  :inherited_from,
  :repositories_count)
  SENSITIVE = []
  include Aws::Structure
end

#inherited_fromTypes::PackageGroupReference

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



3105
3106
3107
3108
3109
3110
3111
3112
# File 'lib/aws-sdk-codeartifact/types.rb', line 3105

class PackageGroupOriginRestriction < Struct.new(
  :mode,
  :effective_mode,
  :inherited_from,
  :repositories_count)
  SENSITIVE = []
  include Aws::Structure
end

#modeString

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.

Returns:

  • (String)


3105
3106
3107
3108
3109
3110
3111
3112
# File 'lib/aws-sdk-codeartifact/types.rb', line 3105

class PackageGroupOriginRestriction < Struct.new(
  :mode,
  :effective_mode,
  :inherited_from,
  :repositories_count)
  SENSITIVE = []
  include Aws::Structure
end

#repositories_countInteger

The number of repositories in the allowed repository list.

Returns:

  • (Integer)


3105
3106
3107
3108
3109
3110
3111
3112
# File 'lib/aws-sdk-codeartifact/types.rb', line 3105

class PackageGroupOriginRestriction < Struct.new(
  :mode,
  :effective_mode,
  :inherited_from,
  :repositories_count)
  SENSITIVE = []
  include Aws::Structure
end