UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

130 lines (129 loc) 4.11 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides information about a Signer Signing Job. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const buildSigningJob = aws.signer.getSigningJob({ * jobId: "9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee", * }); * ``` */ export declare function getSigningJob(args: GetSigningJobArgs, opts?: pulumi.InvokeOptions): Promise<GetSigningJobResult>; /** * A collection of arguments for invoking getSigningJob. */ export interface GetSigningJobArgs { /** * ID of the signing job on output. */ jobId: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getSigningJob. */ export interface GetSigningJobResult { /** * Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the signing job was completed. */ readonly completedAt: string; /** * Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the signing job was created. */ readonly createdAt: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly jobId: string; /** * IAM entity that initiated the signing job. */ readonly jobInvoker: string; /** * AWS account ID of the job owner. */ readonly jobOwner: string; /** * A human-readable name for the signing platform associated with the signing job. */ readonly platformDisplayName: string; /** * Platform to which your signed code image will be distributed. */ readonly platformId: string; /** * Name of the profile that initiated the signing operation. */ readonly profileName: string; /** * Version of the signing profile used to initiate the signing job. */ readonly profileVersion: string; readonly region: string; /** * IAM principal that requested the signing job. */ readonly requestedBy: string; /** * 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. */ readonly revocationRecords: outputs.signer.GetSigningJobRevocationRecord[]; /** * The time when the signature of a signing job expires. */ readonly signatureExpiresAt: string; /** * Name of the S3 bucket where the signed code image is saved by code signing. */ readonly signedObjects: outputs.signer.GetSigningJobSignedObject[]; /** * Object that contains the name of your S3 bucket or your raw code. */ readonly sources: outputs.signer.GetSigningJobSource[]; /** * Status of the signing job. */ readonly status: string; /** * String value that contains the status reason. */ readonly statusReason: string; } /** * Provides information about a Signer Signing Job. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const buildSigningJob = aws.signer.getSigningJob({ * jobId: "9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee", * }); * ``` */ export declare function getSigningJobOutput(args: GetSigningJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSigningJobResult>; /** * A collection of arguments for invoking getSigningJob. */ export interface GetSigningJobOutputArgs { /** * ID of the signing job on output. */ jobId: pulumi.Input<string>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; }