View a markdown version of this page

UpdateCertificateOptions - AWS Certificate Manager

UpdateCertificateOptions

Updates certificate options. You can use this operation to change the domain validation method or specify whether to export your certificate. For more information, see Migrate from email to DNS validation and AWS Certificate Manager Exportable Managed Certificates.

Request Syntax

{ "CertificateArn": "string", "Options": { "CertificateTransparencyLoggingPreference": "string", "Export": "string", "ValidationMethod": "string" } }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Note

In the following list, the required parameters are described first.

CertificateArn

ARN of the requested certificate to update. This must be of the form:

arn:aws:acm:us-east-1:account:certificate/12345678-1234-1234-1234-123456789012

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern: arn:[\w+=/,.@-]+:acm:[\w+=/,.@-]*:[0-9]+:[\w+=,.@-]+(/[\w+=,.@-]+)*

Required: Yes

Options

Use to update the options for your certificate. Currently, you can change the domain validation method or specify whether to export your certificate. For more information about migrating from email to DNS validation, see Migrate from email to DNS validation.

Type: CertificateOptions object

Required: Yes

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Error Types.

ConflictException

You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.

HTTP Status Code: 400

InvalidArnException

The requested Amazon Resource Name (ARN) does not refer to an existing resource.

HTTP Status Code: 400

InvalidStateException

Processing has reached an invalid state.

HTTP Status Code: 400

LimitExceededException

An ACM quota has been exceeded.

HTTP Status Code: 400

ResourceNotFoundException

The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

HTTP Status Code: 400

ValidationException

The supplied input failed to satisfy constraints of an AWS service.

HTTP Status Code: 400

Examples

UpdateCertificateOptions

This example illustrates one usage of UpdateCertificateOptions.

Sample Request

POST / HTTP/1.1 acm.us-east-1.amazonaws.com Accept-Encoding: identity Content-Length: 210 X-Amz-Target: CertificateManager.UpdateCertificateOptions X-Amz-Date: 20260701T120000Z Content-Type: application/x-amz-json-1.1 Authorization: AWS4-HMAC-SHA256 Credential=AKIAIOSFODNN7EXAMPLE/20260701/us-east-1/acm/aws4_request, SignedHeaders=content-type;host;x-amz-date;x-amz-target, Signature=EXAMPLE { "CertificateArn": "arn:aws:acm:us-east-1:111122223333:certificate/12345678-1234-1234-1234-123456789012", "Options": { "ValidationMethod": "DNS" } }

Example

This example illustrates one usage of UpdateCertificateOptions.

Sample Response

HTTP/1.1 200 OK x-amzn-RequestId: a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 Content-Type: application/x-amz-json-1.1 Content-Length: 0 Date: Tue, 01 Jul 2026 12:00:00 GMT

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: