Skip to content

Data Source: awsAcmpcaCertificate

Get information on a Certificate issued by a AWS Certificate Manager Private Certificate Authority.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsAcmpcaCertificate.DataAwsAcmpcaCertificate(this, "example", {
  arn: "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012/certificate/1234b4a0d73e2056789bdbe77d5b1a23",
  certificateAuthorityArn:
    "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012",
});

Argument Reference

The following arguments are supported:

  • arn - (Required) ARN of the certificate issued by the private certificate authority.
  • certificateAuthorityArn - (Required) ARN of the certificate authority.

Attribute Reference

In addition to all arguments above, the following attributes are exported:

  • certificate - PEM-encoded certificate value.
  • certificateChain - PEM-encoded certificate chain that includes any intermediate certificates and chains up to root CA.