1. Packages
  2. AWS Native
  3. API Docs
  4. acmpca
  5. getCertificate

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.acmpca.getCertificate

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    The AWS::ACMPCA::Certificate resource is used to issue a certificate using your private certificate authority. For more information, see the IssueCertificate action.

    Using getCertificate

    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 getCertificate(args: GetCertificateArgs, opts?: InvokeOptions): Promise<GetCertificateResult>
    function getCertificateOutput(args: GetCertificateOutputArgs, opts?: InvokeOptions): Output<GetCertificateResult>
    def get_certificate(arn: Optional[str] = None,
                        certificate_authority_arn: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCertificateResult
    def get_certificate_output(arn: Optional[pulumi.Input[str]] = None,
                        certificate_authority_arn: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCertificateResult]
    func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
    func LookupCertificateOutput(ctx *Context, args *LookupCertificateOutputArgs, opts ...InvokeOption) LookupCertificateResultOutput

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

    public static class GetCertificate 
    {
        public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetCertificateResult> Invoke(GetCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:acmpca:getCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the issued certificate.
    CertificateAuthorityArn string
    The Amazon Resource Name (ARN) for the private CA issues the certificate.
    Arn string
    The Amazon Resource Name (ARN) of the issued certificate.
    CertificateAuthorityArn string
    The Amazon Resource Name (ARN) for the private CA issues the certificate.
    arn String
    The Amazon Resource Name (ARN) of the issued certificate.
    certificateAuthorityArn String
    The Amazon Resource Name (ARN) for the private CA issues the certificate.
    arn string
    The Amazon Resource Name (ARN) of the issued certificate.
    certificateAuthorityArn string
    The Amazon Resource Name (ARN) for the private CA issues the certificate.
    arn str
    The Amazon Resource Name (ARN) of the issued certificate.
    certificate_authority_arn str
    The Amazon Resource Name (ARN) for the private CA issues the certificate.
    arn String
    The Amazon Resource Name (ARN) of the issued certificate.
    certificateAuthorityArn String
    The Amazon Resource Name (ARN) for the private CA issues the certificate.

    getCertificate Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the issued certificate.
    CertificateValue string
    The issued Base64 PEM-encoded certificate.
    Arn string
    The Amazon Resource Name (ARN) of the issued certificate.
    Certificate string
    The issued Base64 PEM-encoded certificate.
    arn String
    The Amazon Resource Name (ARN) of the issued certificate.
    certificate String
    The issued Base64 PEM-encoded certificate.
    arn string
    The Amazon Resource Name (ARN) of the issued certificate.
    certificate string
    The issued Base64 PEM-encoded certificate.
    arn str
    The Amazon Resource Name (ARN) of the issued certificate.
    certificate str
    The issued Base64 PEM-encoded certificate.
    arn String
    The Amazon Resource Name (ARN) of the issued certificate.
    certificate String
    The issued Base64 PEM-encoded certificate.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi