Class: Aws::CodeGuruSecurity::Types::CreateUploadUrlResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codegurusecurity/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:request_headers, :s3_url]

Instance Attribute Summary collapse

Instance Attribute Details

#code_artifact_idString

The identifier for the uploaded code resource. Pass this to ‘CreateScan` to use the uploaded resources.

Returns:

  • (String)


340
341
342
343
344
345
346
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 340

class CreateUploadUrlResponse < Struct.new(
  :code_artifact_id,
  :request_headers,
  :s3_url)
  SENSITIVE = [:request_headers, :s3_url]
  include Aws::Structure
end

#request_headersHash<String,String>

A set of key-value pairs that contain the required headers when uploading your resource.

Returns:

  • (Hash<String,String>)


340
341
342
343
344
345
346
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 340

class CreateUploadUrlResponse < Struct.new(
  :code_artifact_id,
  :request_headers,
  :s3_url)
  SENSITIVE = [:request_headers, :s3_url]
  include Aws::Structure
end

#s3_urlString

A pre-signed S3 URL. You can upload the code file you want to scan with the required ‘requestHeaders` using any HTTP client.

Returns:

  • (String)


340
341
342
343
344
345
346
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 340

class CreateUploadUrlResponse < Struct.new(
  :code_artifact_id,
  :request_headers,
  :s3_url)
  SENSITIVE = [:request_headers, :s3_url]
  include Aws::Structure
end