Skip to main content

signing_jobs

Creates, updates, deletes, gets or lists a signing_jobs resource.

Overview

Namesigning_jobs
TypeResource
Idaws.signer.signing_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
completed_atstring (date-time)Date and time that the signing job was completed.
created_atstring (date-time)Date and time that the signing job was created.
job_idstringThe ID of the signing job on output.
job_invokerstringThe IAM entity that initiated the signing job. (pattern: <code>^[0-9]{12}$</code>)
job_ownerstringThe AWS account ID of the job owner. (pattern: <code>^[0-9]{12}$</code>)
overridesobjectAny overrides that are applied to the signing configuration of a signing platform.
platform_display_namestringA human-readable name for the signing platform associated with the signing job.
platform_idstringThe microcontroller platform to which your signed code image will be distributed.
profile_namestringThe name of the profile that initiated the signing operation. (pattern: <code>^[a-zA-Z0-9_]{2,}</code>)
profile_versionstringThe version of the signing profile used to initiate the signing job. (pattern: <code>^[a-zA-Z0-9]{10}$</code>)
requested_bystringThe IAM principal that requested the signing job.
revocation_recordobjectA revocation record if the signature generated by the signing job has been revoked. Contains a timestamp and the ID of the IAM entity that revoked the signature.
signature_expires_atstring (date-time)Thr expiration timestamp for the signature generated by the signing job.
signed_objectobjectName of the S3 bucket where the signed code image is saved by AWS Signer.
signing_materialobjectThe ACM certificate that is used to sign your code.
signing_parametersobjectMap of user-assigned key-value pairs used during signing. These values contain any information that you specified for use in your signing job.
sourceobjectThe object that contains the name of your S3 bucket or your raw code.
statusstringStatus of the signing job. (InProgress, Failed, Succeeded)
status_reasonstringString value that contains the status reason.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_signing_jobselectjob_id, regionReturns information about a specific code signing job. You specify the job by using the jobId value that is returned by the StartSigningJob operation.
list_signing_jobsselectregionstatus, platformId, requestedBy, maxResults, nextToken, isRevoked, signatureExpiresBefore, signatureExpiresAfter, jobInvokerLists all your signing jobs. You can use the maxResults parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that Signer returns in the nextToken parameter until all of your signing jobs have been returned.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
job_idstringThe ID of the signing job on input.
regionstringAWS region (default: us-east-1)
isRevokedbooleanFilters results to return only signing jobs with revoked signatures.
jobInvokerstringFilters results to return only signing jobs initiated by a specified IAM entity.
maxResultsintegerSpecifies the maximum number of items to return in the response. Use this parameter when paginating results. If additional items exist beyond the number you specify, the nextToken element is set in the response. Use the nextToken value in a subsequent request to retrieve additional items.
nextTokenstringString for specifying the next set of paginated results to return. After you receive a response with truncated results, use this parameter in a subsequent request. Set it to the value of nextToken from the response that you just received.
platformIdstringThe ID of microcontroller platform that you specified for the distribution of your code image.
requestedBystringThe IAM principal that requested the signing job.
signatureExpiresAfterstring (date-time)Filters results to return only signing jobs with signatures expiring after a specified timestamp.
signatureExpiresBeforestring (date-time)Filters results to return only signing jobs with signatures expiring before a specified timestamp.
statusstringA status value with which to filter your results.

SELECT examples

Returns information about a specific code signing job. You specify the job by using the jobId value that is returned by the StartSigningJob operation.

SELECT
completed_at,
created_at,
job_id,
job_invoker,
job_owner,
overrides,
platform_display_name,
platform_id,
profile_name,
profile_version,
requested_by,
revocation_record,
signature_expires_at,
signed_object,
signing_material,
signing_parameters,
source,
status,
status_reason
FROM aws.signer.signing_jobs
WHERE job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required
;