PutPackageOriginConfigurationRequest

PutPackageOriginConfigurationRequest schema from Amazon CodeArtifact API

AmazonArtifact RepositoryPackage ManagementDevOpsSoftware Supply ChainnpmMavenPyPINuGet

Properties

Name Type Description
restrictions object
View JSON Schema on GitHub

JSON Schema

codeartifact-put-package-origin-configuration-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeartifact/refs/heads/main/json-schema/codeartifact-put-package-origin-configuration-request-schema.json",
  "title": "PutPackageOriginConfigurationRequest",
  "description": "PutPackageOriginConfigurationRequest schema from Amazon CodeArtifact API",
  "type": "object",
  "properties": {
    "restrictions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PackageOriginRestrictions"
        },
        {
          "description": "<p>A <a href=\"https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html\">PackageOriginRestrictions</a> object that contains information about the <code>upstream</code> and <code>publish</code> package origin restrictions. The <code>upstream</code> restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The <code>publish</code> restriction determines if new package versions can be published directly to the repository.</p> <p>You must include both the desired <code>upstream</code> and <code>publish</code> restrictions.</p>"
        }
      ]
    }
  },
  "required": [
    "restrictions"
  ]
}