1. Packages
  2. AWS
  3. API Docs
  4. signer
  5. getSigningProfile
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.signer.getSigningProfile

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    Provides information about a Signer Signing Profile.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const productionSigningProfile = aws.signer.getSigningProfile({
        name: "prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    production_signing_profile = aws.signer.get_signing_profile(name="prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
    
    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.LookupSigningProfile(ctx, &signer.LookupSigningProfileArgs{
    			Name: "prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK",
    		}, 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 productionSigningProfile = Aws.Signer.GetSigningProfile.Invoke(new()
        {
            Name = "prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK",
        });
    
    });
    
    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.GetSigningProfileArgs;
    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 productionSigningProfile = SignerFunctions.getSigningProfile(GetSigningProfileArgs.builder()
                .name("prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK")
                .build());
    
        }
    }
    
    variables:
      productionSigningProfile:
        fn::invoke:
          Function: aws:signer:getSigningProfile
          Arguments:
            name: prod_profile_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK
    

    Using getSigningProfile

    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 getSigningProfile(args: GetSigningProfileArgs, opts?: InvokeOptions): Promise<GetSigningProfileResult>
    function getSigningProfileOutput(args: GetSigningProfileOutputArgs, opts?: InvokeOptions): Output<GetSigningProfileResult>
    def get_signing_profile(name: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            opts: Optional[InvokeOptions] = None) -> GetSigningProfileResult
    def get_signing_profile_output(name: Optional[pulumi.Input[str]] = None,
                            tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetSigningProfileResult]
    func LookupSigningProfile(ctx *Context, args *LookupSigningProfileArgs, opts ...InvokeOption) (*LookupSigningProfileResult, error)
    func LookupSigningProfileOutput(ctx *Context, args *LookupSigningProfileOutputArgs, opts ...InvokeOption) LookupSigningProfileResultOutput

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

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

    The following arguments are supported:

    Name string
    Name of the target signing profile.
    Tags Dictionary<string, string>
    List of tags associated with the signing profile.
    Name string
    Name of the target signing profile.
    Tags map[string]string
    List of tags associated with the signing profile.
    name String
    Name of the target signing profile.
    tags Map<String,String>
    List of tags associated with the signing profile.
    name string
    Name of the target signing profile.
    tags {[key: string]: string}
    List of tags associated with the signing profile.
    name str
    Name of the target signing profile.
    tags Mapping[str, str]
    List of tags associated with the signing profile.
    name String
    Name of the target signing profile.
    tags Map<String>
    List of tags associated with the signing profile.

    getSigningProfile Result

    The following output properties are available:

    Arn string
    ARN for the signing profile.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    PlatformDisplayName string
    A human-readable name for the signing platform associated with the signing profile.
    PlatformId string
    ID of the platform that is used by the target signing profile.
    RevocationRecords List<GetSigningProfileRevocationRecord>
    Revocation information for a signing profile.
    SignatureValidityPeriods List<GetSigningProfileSignatureValidityPeriod>
    The validity period for a signing job.
    Status string
    Status of the target signing profile.
    Tags Dictionary<string, string>
    List of tags associated with the signing profile.
    Version string
    Current version of the signing profile.
    VersionArn string
    Signing profile ARN, including the profile version.
    Arn string
    ARN for the signing profile.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    PlatformDisplayName string
    A human-readable name for the signing platform associated with the signing profile.
    PlatformId string
    ID of the platform that is used by the target signing profile.
    RevocationRecords []GetSigningProfileRevocationRecord
    Revocation information for a signing profile.
    SignatureValidityPeriods []GetSigningProfileSignatureValidityPeriod
    The validity period for a signing job.
    Status string
    Status of the target signing profile.
    Tags map[string]string
    List of tags associated with the signing profile.
    Version string
    Current version of the signing profile.
    VersionArn string
    Signing profile ARN, including the profile version.
    arn String
    ARN for the signing profile.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    platformDisplayName String
    A human-readable name for the signing platform associated with the signing profile.
    platformId String
    ID of the platform that is used by the target signing profile.
    revocationRecords List<GetSigningProfileRevocationRecord>
    Revocation information for a signing profile.
    signatureValidityPeriods List<GetSigningProfileSignatureValidityPeriod>
    The validity period for a signing job.
    status String
    Status of the target signing profile.
    tags Map<String,String>
    List of tags associated with the signing profile.
    version String
    Current version of the signing profile.
    versionArn String
    Signing profile ARN, including the profile version.
    arn string
    ARN for the signing profile.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    platformDisplayName string
    A human-readable name for the signing platform associated with the signing profile.
    platformId string
    ID of the platform that is used by the target signing profile.
    revocationRecords GetSigningProfileRevocationRecord[]
    Revocation information for a signing profile.
    signatureValidityPeriods GetSigningProfileSignatureValidityPeriod[]
    The validity period for a signing job.
    status string
    Status of the target signing profile.
    tags {[key: string]: string}
    List of tags associated with the signing profile.
    version string
    Current version of the signing profile.
    versionArn string
    Signing profile ARN, including the profile version.
    arn str
    ARN for the signing profile.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    platform_display_name str
    A human-readable name for the signing platform associated with the signing profile.
    platform_id str
    ID of the platform that is used by the target signing profile.
    revocation_records Sequence[GetSigningProfileRevocationRecord]
    Revocation information for a signing profile.
    signature_validity_periods Sequence[GetSigningProfileSignatureValidityPeriod]
    The validity period for a signing job.
    status str
    Status of the target signing profile.
    tags Mapping[str, str]
    List of tags associated with the signing profile.
    version str
    Current version of the signing profile.
    version_arn str
    Signing profile ARN, including the profile version.
    arn String
    ARN for the signing profile.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    platformDisplayName String
    A human-readable name for the signing platform associated with the signing profile.
    platformId String
    ID of the platform that is used by the target signing profile.
    revocationRecords List<Property Map>
    Revocation information for a signing profile.
    signatureValidityPeriods List<Property Map>
    The validity period for a signing job.
    status String
    Status of the target signing profile.
    tags Map<String>
    List of tags associated with the signing profile.
    version String
    Current version of the signing profile.
    versionArn String
    Signing profile ARN, including the profile version.

    Supporting Types

    GetSigningProfileRevocationRecord

    GetSigningProfileSignatureValidityPeriod

    Type string
    Value int
    Type string
    Value int
    type String
    value Integer
    type string
    value number
    type str
    value int
    type String
    value Number

    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
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi