Amazon CodeGuru Security · JSON Structure

Amazon Codeguru Security Create Upload Url Response Structure

CreateUploadUrlResponse schema from Amazon CodeGuru Security

Type: object Properties: 3 Required: 3
AmazonSecuritySASTCode AnalysisDevSecOpsDeveloper Tools

CreateUploadUrlResponse is a JSON Structure definition published by Amazon CodeGuru Security, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

codeArtifactId requestHeaders s3Url

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-security/refs/heads/main/json-structure/amazon-codeguru-security-create-upload-url-response-structure.json",
  "name": "CreateUploadUrlResponse",
  "description": "CreateUploadUrlResponse schema from Amazon CodeGuru Security",
  "type": "object",
  "properties": {
    "codeArtifactId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Uuid"
        },
        {
          "description": "The identifier for the uploaded code resource. "
        }
      ]
    },
    "requestHeaders": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RequestHeaderMap"
        },
        {
          "description": "A set of key-value pairs that contain the required headers when uploading your resource."
        }
      ]
    },
    "s3Url": {
      "allOf": [
        {
          "$ref": "#/components/schemas/S3Url"
        },
        {
          "description": "A pre-signed S3 URL. You can upload the code file you want to scan and add the required <code>requestHeaders</code> using any HTTP client."
        }
      ]
    }
  },
  "required": [
    "codeArtifactId",
    "requestHeaders",
    "s3Url"
  ]
}