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

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.acmpca.getCertificate

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 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>
Copy
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]
Copy
func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
func LookupCertificateOutput(ctx *Context, args *LookupCertificateOutputArgs, opts ...InvokeOption) LookupCertificateResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
public static Output<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:acmpca:getCertificate
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
The Amazon Resource Name (ARN) of the issued certificate.
CertificateAuthorityArn This property is required. string
The Amazon Resource Name (ARN) for the private CA issues the certificate.
Arn This property is required. string
The Amazon Resource Name (ARN) of the issued certificate.
CertificateAuthorityArn This property is required. string
The Amazon Resource Name (ARN) for the private CA issues the certificate.
arn This property is required. String
The Amazon Resource Name (ARN) of the issued certificate.
certificateAuthorityArn This property is required. String
The Amazon Resource Name (ARN) for the private CA issues the certificate.
arn This property is required. string
The Amazon Resource Name (ARN) of the issued certificate.
certificateAuthorityArn This property is required. string
The Amazon Resource Name (ARN) for the private CA issues the certificate.
arn This property is required. str
The Amazon Resource Name (ARN) of the issued certificate.
certificate_authority_arn This property is required. str
The Amazon Resource Name (ARN) for the private CA issues the certificate.
arn This property is required. String
The Amazon Resource Name (ARN) of the issued certificate.
certificateAuthorityArn This property is required. 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

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi