Class: Aws::CodeArtifact::Types::PackageOriginRestrictions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb

Overview

Details about the origin restrictions set on the package. The package origin restrictions determine how new versions of a package can be added to a specific repository.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#publishString

The package origin configuration that determines if new versions of the package can be published directly to the repository.

Returns:

  • (String)


3230
3231
3232
3233
3234
3235
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3230

class PackageOriginRestrictions < Struct.new(
  :publish,
  :upstream)
  SENSITIVE = []
  include Aws::Structure
end

#upstreamString

The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.

Returns:

  • (String)


3230
3231
3232
3233
3234
3235
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3230

class PackageOriginRestrictions < Struct.new(
  :publish,
  :upstream)
  SENSITIVE = []
  include Aws::Structure
end