Class: Aws::CodeArtifact::Types::PackageOriginRestrictions
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::PackageOriginRestrictions
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
When making an API call, you may pass PackageOriginRestrictions data as a hash:
{
publish: "ALLOW", # required, accepts ALLOW, BLOCK
upstream: "ALLOW", # required, accepts ALLOW, BLOCK
}
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
-
#publish ⇒ String
The package origin configuration that determines if new versions of the package can be published directly to the repository.
-
#upstream ⇒ String
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.
Instance Attribute Details
#publish ⇒ String
The package origin configuration that determines if new versions of the package can be published directly to the repository.
2620 2621 2622 2623 2624 2625 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2620 class PackageOriginRestrictions < Struct.new( :publish, :upstream) SENSITIVE = [] include Aws::Structure end |
#upstream ⇒ String
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.
2620 2621 2622 2623 2624 2625 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2620 class PackageOriginRestrictions < Struct.new( :publish, :upstream) SENSITIVE = [] include Aws::Structure end |