Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RequestCertificateCommand

Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM certificate, you must specify a fully qualified domain name (FQDN) in the DomainName parameter. You can also specify additional FQDNs in the SubjectAlternativeNames parameter.

If you are requesting a private certificate, domain validation is not required. If you are requesting a public certificate, each domain name that you specify must be validated to verify that you own or control the domain. You can use DNS validation or email validation. We recommend that you use DNS validation. ACM issues public certificates after receiving approval from the domain owner.

ACM behavior differs from the https://tools.ietf.org/html/rfc6125#appendix-B.2RFC 6125 specification of the certificate validation process. first checks for a subject alternative name, and, if it finds one, ignores the common name (CN)

example

Use a bare-bones client and the command you need to make an API call.

import { ACMClient, RequestCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
// const { ACMClient, RequestCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
const client = new ACMClient(config);
const command = new RequestCertificateCommand(input);
const response = await client.send(command);
see

RequestCertificateCommandInput for command's input shape.

see

RequestCertificateCommandOutput for command's response shape.

see

config for ACMClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: RequestCertificateCommandInput

Readonly middlewareStack