1. Packages
  2. AWS Classic
  3. API Docs
  4. signer
  5. getSigningJob

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.31.0 published on Monday, Apr 15, 2024 by Pulumi

aws.signer.getSigningJob

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.31.0 published on Monday, Apr 15, 2024 by Pulumi

    Provides information about a Signer Signing Job.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const buildSigningJob = aws.signer.getSigningJob({
        jobId: "9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    build_signing_job = aws.signer.get_signing_job(job_id="9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/signer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := signer.LookupSigningJob(ctx, &signer.LookupSigningJobArgs{
    			JobId: "9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var buildSigningJob = Aws.Signer.GetSigningJob.Invoke(new()
        {
            JobId = "9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.signer.SignerFunctions;
    import com.pulumi.aws.signer.inputs.GetSigningJobArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var buildSigningJob = SignerFunctions.getSigningJob(GetSigningJobArgs.builder()
                .jobId("9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee")
                .build());
    
        }
    }
    
    variables:
      buildSigningJob:
        fn::invoke:
          Function: aws:signer:getSigningJob
          Arguments:
            jobId: 9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee
    

    Using getSigningJob

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSigningJob(args: GetSigningJobArgs, opts?: InvokeOptions): Promise<GetSigningJobResult>
    function getSigningJobOutput(args: GetSigningJobOutputArgs, opts?: InvokeOptions): Output<GetSigningJobResult>
    def get_signing_job(job_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetSigningJobResult
    def get_signing_job_output(job_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetSigningJobResult]
    func LookupSigningJob(ctx *Context, args *LookupSigningJobArgs, opts ...InvokeOption) (*LookupSigningJobResult, error)
    func LookupSigningJobOutput(ctx *Context, args *LookupSigningJobOutputArgs, opts ...InvokeOption) LookupSigningJobResultOutput

    > Note: This function is named LookupSigningJob in the Go SDK.

    public static class GetSigningJob 
    {
        public static Task<GetSigningJobResult> InvokeAsync(GetSigningJobArgs args, InvokeOptions? opts = null)
        public static Output<GetSigningJobResult> Invoke(GetSigningJobInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSigningJobResult> getSigningJob(GetSigningJobArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:signer/getSigningJob:getSigningJob
      arguments:
        # arguments dictionary

    The following arguments are supported:

    JobId string
    ID of the signing job on output.
    JobId string
    ID of the signing job on output.
    jobId String
    ID of the signing job on output.
    jobId string
    ID of the signing job on output.
    job_id str
    ID of the signing job on output.
    jobId String
    ID of the signing job on output.

    getSigningJob Result

    The following output properties are available:

    CompletedAt string
    Date and time in RFC3339 format that the signing job was completed.
    CreatedAt string
    Date and time in RFC3339 format that the signing job was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    JobId string
    JobInvoker string
    IAM entity that initiated the signing job.
    JobOwner string
    AWS account ID of the job owner.
    PlatformDisplayName string
    A human-readable name for the signing platform associated with the signing job.
    PlatformId string
    Platform to which your signed code image will be distributed.
    ProfileName string
    Name of the profile that initiated the signing operation.
    ProfileVersion string
    Version of the signing profile used to initiate the signing job.
    RequestedBy string
    IAM principal that requested the signing job.
    RevocationRecords List<GetSigningJobRevocationRecord>
    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.
    SignatureExpiresAt string
    The time when the signature of a signing job expires.
    SignedObjects List<GetSigningJobSignedObject>
    Name of the S3 bucket where the signed code image is saved by code signing.
    Sources List<GetSigningJobSource>
    Object that contains the name of your S3 bucket or your raw code.
    Status string
    Status of the signing job.
    StatusReason string
    String value that contains the status reason.
    CompletedAt string
    Date and time in RFC3339 format that the signing job was completed.
    CreatedAt string
    Date and time in RFC3339 format that the signing job was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    JobId string
    JobInvoker string
    IAM entity that initiated the signing job.
    JobOwner string
    AWS account ID of the job owner.
    PlatformDisplayName string
    A human-readable name for the signing platform associated with the signing job.
    PlatformId string
    Platform to which your signed code image will be distributed.
    ProfileName string
    Name of the profile that initiated the signing operation.
    ProfileVersion string
    Version of the signing profile used to initiate the signing job.
    RequestedBy string
    IAM principal that requested the signing job.
    RevocationRecords []GetSigningJobRevocationRecord
    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.
    SignatureExpiresAt string
    The time when the signature of a signing job expires.
    SignedObjects []GetSigningJobSignedObject
    Name of the S3 bucket where the signed code image is saved by code signing.
    Sources []GetSigningJobSource
    Object that contains the name of your S3 bucket or your raw code.
    Status string
    Status of the signing job.
    StatusReason string
    String value that contains the status reason.
    completedAt String
    Date and time in RFC3339 format that the signing job was completed.
    createdAt String
    Date and time in RFC3339 format that the signing job was created.
    id String
    The provider-assigned unique ID for this managed resource.
    jobId String
    jobInvoker String
    IAM entity that initiated the signing job.
    jobOwner String
    AWS account ID of the job owner.
    platformDisplayName String
    A human-readable name for the signing platform associated with the signing job.
    platformId String
    Platform to which your signed code image will be distributed.
    profileName String
    Name of the profile that initiated the signing operation.
    profileVersion String
    Version of the signing profile used to initiate the signing job.
    requestedBy String
    IAM principal that requested the signing job.
    revocationRecords List<GetSigningJobRevocationRecord>
    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.
    signatureExpiresAt String
    The time when the signature of a signing job expires.
    signedObjects List<GetSigningJobSignedObject>
    Name of the S3 bucket where the signed code image is saved by code signing.
    sources List<GetSigningJobSource>
    Object that contains the name of your S3 bucket or your raw code.
    status String
    Status of the signing job.
    statusReason String
    String value that contains the status reason.
    completedAt string
    Date and time in RFC3339 format that the signing job was completed.
    createdAt string
    Date and time in RFC3339 format that the signing job was created.
    id string
    The provider-assigned unique ID for this managed resource.
    jobId string
    jobInvoker string
    IAM entity that initiated the signing job.
    jobOwner string
    AWS account ID of the job owner.
    platformDisplayName string
    A human-readable name for the signing platform associated with the signing job.
    platformId string
    Platform to which your signed code image will be distributed.
    profileName string
    Name of the profile that initiated the signing operation.
    profileVersion string
    Version of the signing profile used to initiate the signing job.
    requestedBy string
    IAM principal that requested the signing job.
    revocationRecords GetSigningJobRevocationRecord[]
    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.
    signatureExpiresAt string
    The time when the signature of a signing job expires.
    signedObjects GetSigningJobSignedObject[]
    Name of the S3 bucket where the signed code image is saved by code signing.
    sources GetSigningJobSource[]
    Object that contains the name of your S3 bucket or your raw code.
    status string
    Status of the signing job.
    statusReason string
    String value that contains the status reason.
    completed_at str
    Date and time in RFC3339 format that the signing job was completed.
    created_at str
    Date and time in RFC3339 format that the signing job was created.
    id str
    The provider-assigned unique ID for this managed resource.
    job_id str
    job_invoker str
    IAM entity that initiated the signing job.
    job_owner str
    AWS account ID of the job owner.
    platform_display_name str
    A human-readable name for the signing platform associated with the signing job.
    platform_id str
    Platform to which your signed code image will be distributed.
    profile_name str
    Name of the profile that initiated the signing operation.
    profile_version str
    Version of the signing profile used to initiate the signing job.
    requested_by str
    IAM principal that requested the signing job.
    revocation_records Sequence[GetSigningJobRevocationRecord]
    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_at str
    The time when the signature of a signing job expires.
    signed_objects Sequence[GetSigningJobSignedObject]
    Name of the S3 bucket where the signed code image is saved by code signing.
    sources Sequence[GetSigningJobSource]
    Object that contains the name of your S3 bucket or your raw code.
    status str
    Status of the signing job.
    status_reason str
    String value that contains the status reason.
    completedAt String
    Date and time in RFC3339 format that the signing job was completed.
    createdAt String
    Date and time in RFC3339 format that the signing job was created.
    id String
    The provider-assigned unique ID for this managed resource.
    jobId String
    jobInvoker String
    IAM entity that initiated the signing job.
    jobOwner String
    AWS account ID of the job owner.
    platformDisplayName String
    A human-readable name for the signing platform associated with the signing job.
    platformId String
    Platform to which your signed code image will be distributed.
    profileName String
    Name of the profile that initiated the signing operation.
    profileVersion String
    Version of the signing profile used to initiate the signing job.
    requestedBy String
    IAM principal that requested the signing job.
    revocationRecords List<Property Map>
    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.
    signatureExpiresAt String
    The time when the signature of a signing job expires.
    signedObjects List<Property Map>
    Name of the S3 bucket where the signed code image is saved by code signing.
    sources List<Property Map>
    Object that contains the name of your S3 bucket or your raw code.
    status String
    Status of the signing job.
    statusReason String
    String value that contains the status reason.

    Supporting Types

    GetSigningJobRevocationRecord

    Reason string
    RevokedAt string
    RevokedBy string
    Reason string
    RevokedAt string
    RevokedBy string
    reason String
    revokedAt String
    revokedBy String
    reason string
    revokedAt string
    revokedBy string
    reason String
    revokedAt String
    revokedBy String

    GetSigningJobSignedObject

    GetSigningJobSignedObjectS3

    Bucket string
    Key string
    Bucket string
    Key string
    bucket String
    key String
    bucket string
    key string
    bucket str
    key str
    bucket String
    key String

    GetSigningJobSource

    GetSigningJobSourceS3

    Bucket string
    Key string
    Version string
    Bucket string
    Key string
    Version string
    bucket String
    key String
    version String
    bucket string
    key string
    version string
    bucket str
    key str
    version str
    bucket String
    key String
    version String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.31.0 published on Monday, Apr 15, 2024 by Pulumi