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

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

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)


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_fromTypes::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

#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)


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_countInteger

The number of repositories in the allowed repository list.

Returns:

  • (Integer)


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