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)


3098
3099
3100
3101
3102
3103
3104
3105
# File 'gems/aws-sdk-codeartifact/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_fromTypes::PackageGroupReference

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



3098
3099
3100
3101
3102
3103
3104
3105
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3098

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)


3098
3099
3100
3101
3102
3103
3104
3105
# File 'gems/aws-sdk-codeartifact/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_countInteger

The number of repositories in the allowed repository list.

Returns:

  • (Integer)


3098
3099
3100
3101
3102
3103
3104
3105
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3098

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