Use AWS Private CA with the AWS SDK for Java
You can use the AWS Private Certificate Authority API to programmatically interact with the service by sending HTTP requests. The service returns HTTP responses. For more information see AWS Private Certificate Authority API Reference.
In addition to the HTTP API, you can use the AWS SDKs and command line tools to interact
with AWS Private CA. This is recommended over the HTTP API. For more information, see Tools for Amazon Web Services
The GetCertificateAuthorityCsr,
GetCertificate, and DescribeCertificateAuthorityAuditReport operations support waiters. You can use
waiters to control the progression of your code based on the presence or state of certain
resources. For more information, see the following topics, as well as Waiters in the
AWS SDK for Java