UNPKG

@pulumi/aws

Version:

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

130 lines (129 loc) 3.92 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides information about a Signer Signing Profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const productionSigningProfile = aws.signer.getSigningProfile({ * name: "prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK", * }); * ``` */ export declare function getSigningProfile(args: GetSigningProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetSigningProfileResult>; /** * A collection of arguments for invoking getSigningProfile. */ export interface GetSigningProfileArgs { /** * Name of the target signing profile. */ name: 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; /** * List of tags associated with the signing profile. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getSigningProfile. */ export interface GetSigningProfileResult { /** * ARN for the signing profile. */ readonly arn: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * A human-readable name for the signing platform associated with the signing profile. */ readonly platformDisplayName: string; /** * ID of the platform that is used by the target signing profile. */ readonly platformId: string; readonly region: string; /** * Revocation information for a signing profile. */ readonly revocationRecords: outputs.signer.GetSigningProfileRevocationRecord[]; /** * The validity period for a signing job. */ readonly signatureValidityPeriods: outputs.signer.GetSigningProfileSignatureValidityPeriod[]; /** * AWS Certificate Manager certificate that will be used to sign code with the new signing profile. */ readonly signingMaterials: outputs.signer.GetSigningProfileSigningMaterial[]; /** * Map of key-value pairs for signing. */ readonly signingParameters: { [key: string]: string; }; /** * Status of the target signing profile. */ readonly status: string; /** * List of tags associated with the signing profile. */ readonly tags: { [key: string]: string; }; /** * Current version of the signing profile. */ readonly version: string; /** * Signing profile ARN, including the profile version. */ readonly versionArn: string; } /** * Provides information about a Signer Signing Profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const productionSigningProfile = aws.signer.getSigningProfile({ * name: "prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK", * }); * ``` */ export declare function getSigningProfileOutput(args: GetSigningProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSigningProfileResult>; /** * A collection of arguments for invoking getSigningProfile. */ export interface GetSigningProfileOutputArgs { /** * Name of the target signing profile. */ name: 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>; /** * List of tags associated with the signing profile. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }